OUTPUT Statement |
The OUTPUT statement creates a SAS data set that contains statistics computed by PROC NPAR1WAY. You specify which statistics to store in the output data set by using options that are identical to those that are available in the PROC NPAR1WAY statement. The output data set contains one observation for each analysis variable named in the VAR statement. For more information about the contents of the output data set, see the section Output Data Set.
Note that you can use the Output Delivery System (ODS) to create a SAS data set from any piece of PROC NPAR1WAY output. For more information, see the section ODS Table Names and Chapter 20, Using the Output Delivery System.
You can specify the following options in the OUTPUT statement:
names the output data set. If you omit the OUT= option, the data set is named DATAn, where n is the smallest integer that makes the name unique.
specifies the statistics you want in the output data set. The options are identical to those that you can use in the PROC NPAR1WAY statement to request analyses. Table 64.4 shows the available options. When you specify one of these options in the OUTPUT statement, the output data set contains all statistics from that analysis. See the section Output Data Set for a list of the output data set variables corresponding to each option.
If you do not specify any statistics options in the OUTPUT statement, then the output data set includes statistics from all analyses that you request in the PROC NPAR1WAY statement.
Option |
Output Data Set Statistics |
---|---|
Ansari-Bradley test |
|
Analysis of variance |
|
Conover test |
|
Kolmogorov-Smirnov test, |
|
Cramer-von Mises test, and |
|
Kuiper test for two-sample data |
|
Hodges-Lehmann estimates |
|
Klotz 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 and |
|
Kruskal-Wallis test |