OUTPUT < OUT=SAS-data-set > < output-options > ;
The OUTPUT statement creates a SAS data set that contains statistics that PROC NPAR1WAY computes. Table 83.4 lists the statistics that can be stored in the output data set. You identify which statistics to include by specifying output-options.
The output data set contains one observation for each analysis variable that you name in the VAR statement. If you use a BY statement, the output data set contains an observation or set of observations for each BY group. For more information, see the section Contents of the Output Data Set.
As an alternative to the OUTPUT statement, you can use the Output Delivery System (ODS) to store statistics that PROC NPAR1WAY computes. ODS can create a SAS data set from any table that PROC NPAR1WAY produces. For more information, see the section ODS Table Names and Chapter 20: Using the Output Delivery System.
The OUTPUT statement data set does not include Monte Carlo estimates of exact p-values, multiple comparison statistics, or stratified analysis statistics. You can use ODS to store these statistics in output data sets.
You can specify the following options in the OUTPUT statement:
Table 83.4: OUTPUT Statement Output Options
Output Option |
Output Data Set Statistics |
---|---|
Ansari-Bradley test |
|
Analysis of variance |
|
Conover test |
|
Kolmogorov-Smirnov test, |
|
Cramér–von Mises test, and |
|
Kuiper test for two-sample data |
|
Fligner-Policello test |
|
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 |
You can specify the following output-options: