
AB < (ADJUST) >

requests an analysis of AnsariBradley scores. See the section AnsariBradley Scores for more information. The ADJUST option subtracts class medians from the input observations before performing the analysis.

ADJUST

adjusts for location differences among classes before performing tests for scale differences. The ADJUST option applies to the following analyses: AnsariBradley (AB), Klotz (KLOTZ), Mood (MOOD), and SiegelTukey (ST). If you specify the ADJUST option, PROC NPAR1WAY subtracts the corresponding class median from each observation before scoring
the data and performing the scale tests that you request.
You can also request adjustment for an individual scale test by specifying ADJUST in parentheses after the scale test option;
for example, you can specify ST(ADJUST) to adjust by class medians before performing the SiegelTukey test.

ALPHA=

specifies the level of the confidence limits for location shift, which you request with the HL option. The value of must be between 0 and 1, and the default is 0.05. A confidence level of produces % confidence limits. The default of ALPHA=0.05 produces 95% confidence limits for the HodgesLehmann estimate.

ANOVA

requests a standard analysis of variance on the raw data.

CONOVER

requests an analysis of Conover scores. See the section Conover Scores for more information.

CORRECT=NO

suppresses the continuity correction for the Wilcoxon twosample test and the SiegelTukey twosample test. See the section Continuity Correction for more information.

D

requests the onesided KolmogorovSmirnov and statistics and their asymptotic pvalues, in addition to the twosided D statistic produced by the EDF option for twosample data. The D option invokes the EDF option. The statistics D+ and D– are provided by default if you request exact KolmogorovSmirnov statistics with the KS option in the EXACT statement for twosample data. See the section Tests Based on the Empirical Distribution Function for details about KolmogorovSmirnov statistics.

DATA=SASdataset

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.

DSCF

requests the Dwass, Steel, CritchlowFligner multiple comparison procedure, which is based on pairwise twosample rankings. This procedure is available for multisample data, where the number
of CLASS variable levels is greater than 2. See the section Multiple Comparisons Based on Pairwise Rankings for more information.

EDF

requests statistics based on the empirical distribution function. These include the KolmogorovSmirnov and Cramér–von Mises tests and, if there are only two classification levels, the Kuiper test.
See the section Tests Based on the Empirical Distribution Function for more information.
The EDF option produces the KolmogorovSmirnov D statistic for twosample data. You can request the onesided D+ and D– statistics for twosample data with the D option.

FP < (REFCLASS = classnumber  'classvalue' ) >

requests the FlignerPolicello test for twosample data. See the section FlignerPolicello Test for more information.
The REFCLASS= option specifies which of the two CLASS variable levels (samples) to use as the reference class X for the difference between class placement sums, . REFCLASS=1 refers to the first class that is listed in the “FlignerPolicello Placements” table, and REFCLASS=2 refers to the second class listed. The table displays class levels in the order in which they appear
in the input data set. REFCLASS=classvalue identifies the reference class by the formatted value of the CLASS variable. By default, the reference class is the second class listed in the “FlignerPolicello Placements” table (REFCLASS=2).

HL < (REFCLASS = classnumber  'classvalue' ) >

requests HodgesLehmann estimation of the location shift for twosample data. The HL option provides asymptotic confidence limits for the location shift. These are sometimes known as Moses confidence
limits. See the section HodgesLehmann Estimation of Location Shift for details. You can specify the level of the confidence limits by using the ALPHA= option. The default of ALPHA=0.5 produces 95% confidence limits for the location shift.
The REFCLASS= option specifies which of the two CLASS variable levels (samples) to use as the reference class X for the location shift, Y – X. REFCLASS=1 refers to the first class that is listed in the “Wilcoxon Scores” table, and REFCLASS=2 refers to the second class listed. The table displays class levels in the order in which they appear
in the input data set. REFCLASS=classvalue identifies the reference class by the formatted value of the CLASS variable.
By default, PROC NPAR1WAY uses the larger of the two classes as the reference class X to compute the HodgesLehmann location shift, Y – X. If both class have the same number of observations, PROC NPAR1WAY uses the class that appears second in the input data set
as the reference class.

KLOTZ < (ADJUST) >

requests an analysis of Klotz scores. See the section Klotz Scores for more information. The ADJUST option subtracts class medians from the input observations before performing the analysis.

MEDIAN

requests an analysis of median scores. When there are two classification levels, this option produces the twosample median test. When there are more than two samples, this option produces the multisample
median test, which is also known as the BrownMood test. See the section Median Scores for more information.

MISSING

treats missing values of the CLASS variable as a valid class level.

MOOD < (ADJUST) >

requests an analysis of Mood scores. See the section Mood Scores for more information. The ADJUST option subtracts class medians from the input observations before performing the analysis.

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 20: Using the Output Delivery System.

PLOTS < ( globalplotoptions ) > < = plotrequest < (plotoption) > >
PLOTS < ( globalplotoptions ) > < = ( plotrequest < (plotoption) > <…plotrequest < (plotoption) >> )>

controls the plots that are produced through ODS Graphics. Plotrequests specify the plots to produce, and plotoptions control the appearance and content of the plots. You can specify plotoptions in parentheses after a plotrequest. A globalplotoption applies to all plots for which it is available, unless it is altered by a specific plotoption. You can specify globalplotoptions in parentheses after the PLOTS option.
When you specify only one plotrequest, you can omit the parentheses around the request. For example:
plots=all
plots=wilcoxonboxplot
plots=(wilcoxonboxplot edfplot)
plots(only)=(medianplot normalboxplot)
ODS Graphics must be enabled before plots can be requested. For example:
ods graphics on;
proc npar1way plots=wilcoxonboxplot;
variable response;
class treatment;
run;
ods graphics off;
For more information about enabling and disabling ODS Graphics, see the section Enabling and Disabling ODS Graphics in Chapter 21: Statistical Graphics Using ODS.
If ODS Graphics is enabled but you do not specify the PLOTS= option, PROC NPAR1WAY produces all plots that are associated
with the analyses that you request. If you request a plot with the PLOTS= option but do not request the corresponding analysis,
PROC NPAR1WAY automatically invokes that analysis. For example, if you specify PLOTS=CONOVERBOXPLOT but do not also specify
the CONOVER option in the PROC NPAR1WAY statement, PROC NPAR1WAY produces the Conover scores analysis in addition to the box
plot.
You can suppress default plots and request specific plots by using the PLOTS(ONLY)= option; PLOTS(ONLY)=(plotrequests) produces only the plots that are specified as plotrequests. You can suppress all plots with the PLOTS=NONE option. The PLOTS= option has no effect when you specify the NOPRINT option.
PROC NPAR1WAY provides box plots of scored data, median plots, and empirical distribution plots. See Figure 65.7, Output 65.1.2, Output 65.1.4, and Output 65.2.2 for examples of plots that PROC NPAR1WAY produces. For general information about ODS Graphics, see Chapter 21: Statistical Graphics Using ODS.
Global Plot Options
A Globalplotoption applies to all plots for which the option is available unless it is altered by a specific plotoption. You can specify the following globalplotoptions in parentheses after the PLOTS option. You cannot specify both STATS and NOSTATS as globalplotoptions in the same statement.

NOSTATS

suppresses the pvalues that are displayed by default in the plots.

ONLY

suppresses the default plots and requests only the plots that are specified as plotrequests.

STATS

displays pvalues in the plots. This is the default.
Plot Requests
The following plotrequests are available with the PLOTS= option.

ABBOXPLOT  AB

requests a box plot of AnsariBradley scores. This plot is associated with the AnsariBradley analysis, which you request by specifying the AB option.

ALL

requests all plots that are associated with the specified analyses. This is the default if you do not specify the ONLY globalplotoption.

ANOVABOXPLOT  ANOVA

requests a box plot of the raw data. This plot is associated with the analysis of variance based on the raw data, which you request by specifying the ANOVA option.

CONOVERBOXPLOT  CONOVER

requests a box plot of Conover scores. This plot is associated with the Conover analysis, which you request by specifying the CONOVER option.

DATASCORESBOXPLOT  DATASCORES

requests a box plot of raw data scores. This plot is associated with the analysis that uses input data as scores, which you request by specifying the SCORES=DATA option.

EDFPLOT  EDF

requests an empirical distribution plot. This plot is associated with the analyses based on the empirical distribution function, which you request by specifying the EDF option.

FPBOXPLOT  FP

requests a box plot of FlignerPolicello placements. This plot is associated with the FlignerPolicello analysis, which you request by specifying the FP option.

KLOTZBOXPLOT  KLOTZ

requests a box plot of Klotz scores. This plot is associated with the Klotz analysis, which you request by specifying the KLOTZ option.

MEDIANPLOT  MEDIAN

requests a stacked bar chart showing the frequencies above and below the overall median. This plot is associated with the median score analysis, which you request by specifying the MEDIAN option.

MOODBOXPLOT  MOOD

requests a box plot of Mood scores. This plot is associated with the Mood analysis, which you request by specifying the MOOD option.

NONE

suppresses all plots.

SAVAGEBOXPLOT  SAVAGE

requests a box plot of Savage scores. This plot is associated with the Savage analysis, which you request by specifying the SAVAGE option.

STBOXPLOT  ST

requests a box plot of SiegelTukey scores. This plot is associated with the SiegelTukey analysis, which you request by specifying the ST option.

VWBOXPLOT  VW
NORMALBOXPLOT  NORMAL

requests a box plot of Van der Waerden (normal) scores. This plot is associated with the Van der Waerden analysis, which you request by specifying the VW or NORMAL option.

WILCOXONBOXPLOT  WILCOXON

requests a box plot of Wilcoxon scores. This plot is associated with the Wilcoxon analysis, which you request by specifying the WILCOXON option.
Plot Options
The following plotoptions are available for any plotrequest. You cannot specify both STATS and NOSTATS as plotoptions for the same plot. If you specify NOSTATS as a globalplotoption, specifying STATS as an individual plotoption overrides the globalplotoption for the individual plot and displays statistics in the plot.

NOSTATS

suppresses the pvalues that are displayed in the plot by default.

STATS

displays pvalues in the plot. This is the default.

SAVAGE

requests an analysis of Savage scores. See the section Savage Scores for more information.

SCORES=DATA

requests an analysis that uses 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 OneWay ANOVA Tests for more information.
To produce the twosample permutation test that is known as Pitman’s test, provide raw (unscored) data in the input data set
and specify the SCORES=DATA option in the EXACT statement. See the section Exact Tests for more information.

ST < (ADJUST) >

requests an analysis of SiegelTukey scores. See the section SiegelTukey Scores for more information. The ADJUST option subtracts class medians from the input observations before performing the analysis.

VW  NORMAL

requests an analysis of Van der Waerden (normal) scores. See the section Van der Waerden (Normal) Scores for more information.

WILCOXON

requests an analysis of Wilcoxon scores. When there are two classification levels (samples), this option produces the Wilcoxon ranksum test. For any number of classification levels,
this option produces the KruskalWallis test. See the section Wilcoxon Scores for more information.