Previous Page | Next Page

The NPAR1WAY Procedure

OUTPUT Statement

OUTPUT <OUT=SAS-data-set> <options> ;

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:

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 output data set. The options are identical to those that can be used in the PROC NPAR1WAY statement to request analyses. Table 62.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.

Table 62.4 OUTPUT Statement Options

Option

Output Data Set Statistics

AB

Ansari-Bradley test

ANOVA

Analysis of variance

CONOVER

Conover test

EDF

Kolmogorov-Smirnov test,

 

Cramer-von Mises test, and

 

Kuiper test for two-sample data

HL

Hodges-Lehmann estimates

KLOTZ

Klotz test

MEDIAN

Median test

MOOD

Mood test

SAVAGE

Savage test

SCORES=DATA

Test with input data as scores

ST

Siegel-Tukey test

VW | NORMAL

Van der Waerden (normal scores) test

WILCOXON

Wilcoxon test for two-sample data and

 

Kruskal-Wallis test

Previous Page | Next Page | Top of Page