|
Chapter Contents |
Previous |
Next |
| The FREQ Procedure |
The EXACT statement requests exact tests or confidence bounds for the specified statistics. The statistic-options specify the statistics for which to provide exact tests or confidence bounds. The computation-option specifies an option for the computation of exact statistics. Computation of exact statistics can require a large amount of time and memory.
The statistic-options specify the statistics for which exact tests or confidence bounds are computed. PROC FREQ can compute exact p-values for the following hypothesis tests: chi-square goodness-of-fit test for one-way tables; Pearson chi-square, likelihood-ratio chi-square, Mantel-Haenszel chi-square, Fisher's exact test, Jonckheere-Terpstra test, Cochran-Armitage test for trend, and McNemar's test for two-way tables. PROC FREQ can also compute exact p-values for tests of the following statistics: Pearson correlation coefficient, Spearman correlation coefficient, simple kappa coefficient, and weighted kappa coefficient. PROC FREQ can compute exact p-values for the binomial proportion test, as well as an exact confidence bound for the binomial proportion. Additionally, PROC FREQ can compute exact confidence bounds for odds ratios for 2 ×2 tables.
Table 26.6 lists the available statistic-options and the exact statistics computed. The option names are identical to the corresponding options in the TABLES statement and the OUTPUT statement. You can request exact computations for groups of statistics by using options that are identical to the following TABLES statement options: CHISQ, MEASURES, and AGREE. For example, when you specify the CHISQ option in the EXACT statement, PROC FREQ computes exact p-values for the Pearson chi-square, likelihood-ratio chi-square, and Mantel-Haenszel chi-square tests. You request exact p-values for an individual test by specifying one of the statistic-options shown in Table 26.6.
Table 26.6: EXACT Statement Statistic-OptionsThe computation-option specifies an option for computation of exact statistics. You can specify the following computation-option in the EXACT statement.
See the "Computational Resources section" for more information.
|
Chapter Contents |
Previous |
Next |
Top |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.