OUTPUT Statement
- OUTPUT < OUT=SAS-data-set > < options > ;
The OUTPUT statement creates a SAS data set
containing statistics computed by PROC NPAR1WAY.
You specify which statistics to store in the output
data set, using options identical to those used in
the PROC NPAR1WAY statement. The output data set
contains one observation for each analysis
variable named in the VAR statement.
For more information on 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 Chapter 15, "Using the Output Delivery System."
You can specify the following options in the OUTPUT statement.
- OUT=SAS-data-set
-
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.
- options
-
specifies the statistics you want in the new data set.
The options are identical to those used in the PROC
NPAR1WAY statement to request analyses.
Table 47.4 shows
the available options. When you specify one of these
options in the OUTPUT statement, the output data set
contains 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 specified in the PROC
NPAR1WAY statement.
Table 47.4: Output Statement Options
Option
|
Output Data Set Statistics
|
AB | Ansari-Bradley Test |
EDF | Kolmogorov-Smirnov Test |
| Cramer-von Mises Test |
| Kuiper Test for Two-Sample Data |
KLOTZ | Klotz Test |
MEDIAN | Median Test |
MOOD | Mood Test |
SAVAGE | Savage Test |
SCORES=DATA | Test Using Raw Data as Scores |
ST | Siegel-Tukey Test |
WILCOXON | Wilcoxon Test for Two-Sample Data |
| Kruskal-Wallis Test |
VW | Van der Waerden Test |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.