The EXACT statement requests exact tests and confidence limits for selected statistics. The statistic-options identify which statistics to compute, and the computation-options specify options for computing exact statistics. For more information, see the section Exact Tests.
Note: PROC NPAR1WAY computes exact tests by using fast and efficient algorithms that are superior to direct enumeration. Exact tests are appropriate when a data set is small, sparse, skewed, or heavily tied. For some large problems, computation of exact tests might require a large amount of time and memory. Consider using asymptotic tests for such problems. Alternatively, when asymptotic methods might not be sufficient for such large problems, consider using Monte Carlo estimation of exact p-values. You can request Monte Carlo estimation by specifying the MC computation-option in the EXACT statement. For more information, see the section Computational Resources.
The statistic-options specify which exact tests to compute. Table 71.3 lists the available statistic-options and the exact statistics that are computed. Descriptions of the statistic-options follow Table 71.3 in alphabetical order.
Exact p-values are available for all nonparametric tests of location and scale differences that are produced by PROC NPAR1WAY. These include tests based on the following scores: Wilcoxon, median, Van der Waerden (normal), Savage, Siegel-Tukey, Ansari-Bradley, Klotz, Mood, and Conover. Additionally, exact p-values are available for tests that use the raw input data as scores. The procedure computes exact p-values when the data are classified into two levels (two-sample tests) and when the data are classified into more than two levels (multisample tests). Two-sample tests are based on simple linear rank statistics. Multisample tests are based on one-way ANOVA statistics.
Exact p-values are also available for the two-sample Kolmogorov-Smirnov test. Exact confidence limits are available for the Hodges-Lehmann estimate of location shift.
If you list no statistic-options in the EXACT statement, PROC NPAR1WAY computes all available exact p-values for those tests that you request in the PROC NPAR1WAY statement.
Table 71.3: EXACT Statement Statistic Options
Statistic Option |
Exact Test |
---|---|
Ansari-Bradley test |
|
Conover test |
|
Hodges-Lehmann confidence limits |
|
Klotz test |
|
Two-sample Kolmogorov-Smirnov test |
|
Median test |
|
Mood test |
|
Savage test |
|
Test with input data as scores |
|
Siegel-Tukey test |
|
Van der Waerden (normal scores) test |
|
Wilcoxon test for two-sample data or |
|
Kruskal-Wallis test for multisample data |
You can specify the following statistic-options in the EXACT statement.