- 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.
- 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
Asymptotic Tests Computed
Required TABLES Statement Option
||simple kappa coefficient and weighted kappa coefficient||AGREE|
||gamma||ALL or MEASURES|
||simple kappa coefficient||AGREE|
||Kendall's tau-b||ALL or MEASURES|
||lambda asymmetric (C|R)||ALL or MEASURES|
||lambda symmetric||ALL or MEASURES|
||lambda asymmetric (R|C)||ALL or MEASURES|
||gamma, Kendall's tau-b, Stuart's tau-c, Somers'
D (C|R), Somers' D (R|C), the Pearson
correlation, and the Spearman correlation||ALL or MEASURES|
||Pearson correlation coefficient||ALL or MEASURES|
||Spearman correlation coefficient||ALL or MEASURES|
||Somers' D (C|R)||ALL or MEASURES|
||Somers' D (R|C)||ALL or MEASURES|
||Stuart's tau-c||ALL or MEASURES|
||symmetric uncertainty coefficient||ALL or MEASURES|
||uncertainty coefficient (C|R)||ALL or MEASURES|
||uncertainty coefficient (R|C)||ALL or MEASURES|
||weighted kappa coefficient||AGREE|
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.