Chapter Contents

Previous

Next
The FREQ Procedure

TEST Statement


Computes asymptotic tests for the specified measures of association and measures of agreement.

Requirement: TABLES statement
Main discussion: Asymptotic Tests
Featured in: Computing the Cochran-Armitage Trend Test


TEST statistic-keyword(s);


Required Arguments

statistic-keyword(s)
specifies the statistics for which to provide asymptotic tests. The available statistics are the measures of association and agreement listed in TEST Statement Statistic-keywords and Required TABLES Statement Options . You can use an individual keyword to request a test, or you can use a group keyword (MEASURES or AGREE) to request all available tests in that group.

For each measure of association or agreement that you specify, the TEST statement provides an asymptotic test that the measure equal zero. When you request an asymptotic test, PROC FREQ gives the asymptotic standard error under the null hypothesis, the test statistic, and the p-values. Additionally, PROC FREQ reports the confidence limits for that measure. The ALPHA= option in the TABLES statement determines the confidence level, which by default equals .05 and provides 95 percent confidence limits. In addition to these asymptotic tests, exact tests for selected measures of association and agreement are available with the EXACT statement. See EXACT Statement for more information.

TEST Statement Statistic-keywords and Required TABLES Statement Options
Keyword Asymptotic tests computed Required TABLES statement option
AGREE simple kappa coefficient and weighted kappa coefficient AGREE
GAMMA gamma ALL, MEASURES
KAPPA simple kappa coefficient AGREE
KENTB Kendall's tau-b ALL, MEASURES
MEASURES gamma, Kendall's tau-b, Stuart's tau-c, Somers' D (C|R), Somers' D (R|C), Pearson correlation coefficient, and Spearman correlation coefficient ALL, MEASURES
PCORR Pearson correlation coefficient ALL, MEASURES
SCORR Spearman correlation coefficient ALL, MEASURES
SMDCR Somers' D (C|R) ALL, MEASURES
SMDRC Somers' D (R|C) ALL, MEASURES
STUTC Stuart's tau-c ALL, MEASURES
WTKAP weighted kappa coefficient AGREE


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.