PROC NPAR1WAY Statement
- PROC NPAR1WAY < options > ;
The PROC NPAR1WAY statement invokes the procedure and
optionally identifies the input data set or requests particular analyses.
By default, the procedure uses the most recently created
SAS data set and omits missing values from the analysis. If you do not
specify any analysis options, PROC NPAR1WAY performs an
analysis of variance (option ANOVA), tests for location differences
(options WILCOXON, MEDIAN, SAVAGE, and VW), and performs empirical
distribution function tests (option EDF).
The following table lists the options available with the PROC
NPAR1WAY statement. Descriptions follow in alphabetical order.
Table 47.2: PROC NPAR1WAY Statement Options
Task
|
Options
|
Specify the input data set | DATA= |
Include missing CLASS values | MISSING |
Suppress all displayed output | NOPRINT |
Specify analyses | AB |
| ANOVA |
| EDF |
| KLOTZ |
| MEDIAN |
| MOOD |
| SAVAGE |
| SCORES=DATA |
| ST |
| VW |
| WILCOXON |
Suppress continuity correction | CORRECT=NO |
You can specify the following options in the PROC
NPAR1WAY statement.
- AB
-
requests an analysis using Ansari-Bradley scores.
See the section "Ansari-Bradley Scores" for more information.
- ANOVA
-
requests a standard analysis of variance on the raw data.
- CORRECT=NO
-
suppresses the continuity correction for the Wilcoxon two-sample test
and the Siegel-Tukey two-sample test.
See the section "Simple Linear Rank Tests
for Two-Sample Data" for more information.
- DATA=SAS-data-set
-
names the SAS data set to be analyzed by PROC NPAR1WAY.
If you omit the DATA= option, the procedure uses the most
recently created SAS data set.
- EDF
-
requests statistics based on the empirical distribution function.
These include the Kolmogorov-Smirnov and Cramer-von Mises statistics
and, if there are only two classification levels, the Kuiper statistic.
See the section "Statistics Based on the Empirical Distribution Function" for more information.
- KLOTZ
-
requests an analysis using Klotz scores.
See the section "Klotz Scores" for more information.
- MEDIAN
-
requests an analysis using median scores.
When there are two classification levels, or two samples,
this option produces the two-sample median test. When there
are more than two samples, this option produces the multisample
median test, which is also known as the Brown-Mood test.
See the section "Median Scores" for more information.
- MISSING
-
interprets missing values of the CLASS variable as a valid
class level.
- MOOD
-
requests an analysis using Mood scores.
See the section "Mood Scores" for more information.
- NOPRINT
-
suppresses the display of all output.
You can use the NOPRINT option when you only want to create an
output data set. Note that this option
temporarily disables the Output Delivery System (ODS).
For more information, see Chapter 15, "Using the Output Delivery System."
- SAVAGE
-
requests an analysis using Savage scores.
See the section "Savage Scores" for more information.
- SCORES=DATA
-
requests an analysis using raw input data as scores.
This option gives you the flexibility to construct
any scores for your data with the DATA step and then
analyze these scores with PROC NPAR1WAY.
See the section "Scores for Linear Rank
and One-Way ANOVA Tests" on this page
for more information.
- ST
-
requests an analysis using Siegel-Tukey scores.
See the section "Siegel-Tukey Scores" for more information.
- VW
-
requests an analysis using Van der Waerden scores.
See the section "Van der Waerden Scores" for more information.
- WILCOXON
-
requests an analysis using Wilcoxon scores.
When there are two classification levels, or two samples,
this option produces the Wilcoxon rank-sum test. For any
number of classification levels, this option produces the
Kruskal-Wallis test. See the section "Wilcoxon Scores" for more information.
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.