Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
The FREQ Procedure

TEST Statement

TEST options ;

The TEST statement requests asymptotic tests for the specified measures of association and measures of agreement. You must use a TABLES statement with the TEST statement.

options
specifies the statistics for which to provide asymptotic tests. The available statistics are those measures of association and agreement listed in Table 28.10. The option names are identical to those in the TABLES statement and the OUTPUT statement. You can request all available tests for groups of statistics by using group options MEASURES or AGREE. Or you can request tests individually by using one of the options shown in Table 28.10.

For each measure of association or agreement that you specify, the TEST statement provides an asymptotic test that the measure equals 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 0.05 and provides 95% confidence limits.

For more information, see the sections "Asymptotic Tests" and "Confidence Limits", and see the "Statistical Computations" sections describing the individual measures.

In addition to these asymptotic tests, exact tests for selected measures of association and agreement are available with the EXACT statement. See the section "EXACT Statement" for more information.

Table 28.10: TEST Statement Options and Required TABLES Statement Options
Option Asymptotic Tests Computed Required TABLES Statement Option
AGREE simple kappa coefficient and weighted kappa coefficientAGREE
GAMMA gammaALL or MEASURES
KAPPA simple kappa coefficientAGREE
KENTB Kendall's tau-bALL or MEASURES
LAMCR lambda asymmetric (C|R)ALL or MEASURES
LAMDAS lambda symmetricALL or MEASURES
LAMRC lambda asymmetric (R|C)ALL or MEASURES
MEASURES gamma, Kendall's tau-b, Stuart's tau-c, Somers' D (C|R), Somers' D (R|C), the Pearson correlation, and the Spearman correlationALL or MEASURES
PCORR Pearson correlation coefficientALL or MEASURES
SCORR Spearman correlation coefficientALL or MEASURES
SMDCR Somers' D (C|R)ALL or MEASURES
SMDRC Somers' D (R|C)ALL or MEASURES
STUTC Stuart's tau-cALL or MEASURES
U symmetric uncertainty coefficientALL or MEASURES
UCR uncertainty coefficient (C|R)ALL or MEASURES
URC uncertainty coefficient (R|C)ALL or MEASURES
WTKAP weighted kappa coefficientAGREE

Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
Top
Top

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