The OUTPUT statement creates a SAS data set that contains statistics that PROC NPAR1WAY computes. You identify which statistics to store in the output data set by specifying outputoptions in the OUTPUT statement. See the description of the OUTPUT statement for more information.
The output data set contains one observation for each analysis variable for each BY group. (You can specify the analysis variables in the VAR statement.) The OUTPUT data set includes the following variables:
BY variables, if you use a BY statement
_VAR_, which identifies the analysis variable
variables that contain the statistics
When you specify an outputoption in the OUTPUT statement, the output data set contains the test statistic and associated values from the analysis that you specify. The associated values might include standardized statistics, one and twosided pvalues, exact pvalues, degrees of freedom, and confidence limits. If you request an exact test for the specified analysis by using the EXACT statement, the output data set includes the exact pvalues. The statistics that are included also depend on the classification of the data. Some statistics are available only for twosample data (where the CLASS variable groups the data into two classes); other statistics are available only for multisample data.
Table 65.5 lists variable names and descriptions for the statistics that are available in the output data set.
Monte Carlo estimates of exact pvalues are not available in this output data set. You can store Monte Carlo estimates in a SAS data set by using the Output Delivery System (ODS). 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.
Table 65.5: Output Data Set Variable Names and Descriptions
Output Option 
Output Variables 
Variable Descriptions 


_AB_ 
* 
Twosample AnsariBradley statistic 

Z_AB 
* 
AnsariBradley statistic, standardized 

PL_AB 
* 
pvalue (leftsided), AnsariBradley test 

PR_AB 
* 
pvalue (rightsided), AnsariBradley test 

P2_AB 
* 
pvalue (twosided), AnsariBradley test 

XPL_AB 
* 
Exact pvalue (leftsided), AnsariBradley test 

XPR_AB 
* 
Exact pvalue (rightsided), AnsariBradley test 

XPT_AB 
* 
Exact point probability, AnsariBradley test 

XP2_AB 
* 
Exact pvalue (twosided), AnsariBradley test 

_CHAB_ 
AnsariBradley chisquare 

DF_CHAB 
Degrees of freedom, AnsariBradley chisquare 

P_CHAB 
pvalue, AnsariBradley chisquare test 

XP_CHAB 
** 
Exact pvalue, AnsariBradley chisquare test 

XPT_CHAB 
** 
Exact point probability, AnsariBradley chisquare 

_MSA_ 
ANOVA effect mean square, among MS 

_MSE_ 
ANOVA error mean square, within MS 

_F_ 
F statistic for ANOVA 

P_F 
pvalue, F statistic for ANOVA 

_CON_ 
* 
Twosample Conover statistic 

Z_CON 
* 
Conover statistic, standardized 

PL_CON 
* 
pvalue (leftsided), Conover test 

PR_CON 
* 
pvalue (rightsided), Conover test 

P2_CON 
* 
pvalue (twosided), Conover test 

XPL_CON 
* 
Exact pvalue (leftsided), Conover test 

XPR_CON 
* 
Exact pvalue (rightsided), Conover test 

XPT_CON 
* 
Exact point probability, Conover test 

XP2_CON 
* 
Exact pvalue (twosided), Conover test 

_CHCON_ 
Conover chisquare 

DF_CHCON 
Degrees of freedom, Conover chisquare 

P_CHCON 
pvalue, Conover chisquare test 

XP_CHCON 
** 
Exact pvalue, Conover chisquare test 

XPT_CHCO 
** 
Exact point probability, Conover chisquare 

_KS_ 
KolmogorovSmirnov statistic 

_KSA_ 
KolmogorovSmirnov statistic (asymptotic) 

_Dp_ 
* 
Twosample KolmogorovSmirnov D+ 

P_Dp 
* 
pvalue, D+ 

_Dm_ 
* 
Twosample KolmogorovSmirnov D– 

P_Dm 
* 
pvalue, D– 

_D_ 
* 
Twosample KolmogorovSmirnov statistic D 

P_KSA 
* 
pvalue, D 

XP_Dp 
* 
Exact pvalue, D+ 

XPT_Dp 
* 
Exact point probability, D+ 

XP_Dm 
* 
Exact pvalue, D– 

XPT_Dm 
* 
Exact point probability, D– 

XP_D 
* 
Exact pvalue, D 

XPT_D 
* 
Exact point probability, D 

_CM_ 
Cramér–von Mises statistic 

_CMA_ 
Cramér–von Mises statistic (asymptotic) 

_K_ 
* 
Kuiper twosample statistic 

_KA_ 
* 
Kuiper twosample statistic (asymptotic) 

P_KA 
* 
pvalue, twosample Kuiper test 

_FP_ 
* 
FlignerPolicello statistic 

PL_FP 
* 
pvalue (leftsided), FlignerPolicello test 

PR_FP 
* 
pvalue (rightsided), FlignerPolicello test 

P2_FP 
* 
pvalue (twosided), FlignerPolicello test 

_HL_ 
* 
HodgesLehmann estimate, location shift 

L_HL 
* 
Lower confidence limit, HodgesLehmann 

U_HL 
* 
Upper confidence limit, HodgesLehmann 

M_HL 
* 
Confidence limit midpoint, HodgesLehmann 

E_HL 
* 
ASE of HodgesLehmann estimate 

XL_HL 
* 
Exact lower confidence limit, HodgesLehmann 

XU_HL 
* 
Exact upper confidence limit, HodgesLehmann 

XM_HL 
* 
Exact confidence limit midpoint 

_KLOTZ_ 
* 
Twosample Klotz statistic 

Z_K 
* 
Klotz statistic, standardized 

PL_K 
* 
pvalue (leftsided), Klotz test 

PR_K 
* 
pvalue (rightsided), Klotz test 

P2_K 
* 
pvalue (twosided), Klotz test 

XPL_K 
* 
Exact pvalue (leftsided), Klotz test 

XPR_K 
* 
Exact pvalue (rightsided), Klotz test 

XPT_K 
* 
Exact point probability, Klotz test 

XP2_K 
* 
Exact pvalue (twosided), Klotz test 

_CHK_ 
Klotz chisquare 

DF_CHK 
Degrees of freedom, Klotz chisquare 

P_CHK 
pvalue, Klotz chisquare test 

XP_CHK 
** 
Exact pvalue, Klotz chisquare test 

XPT_CHK 
** 
Exact point probability, Klotz chisquare 

_MED_ 
* 
Twosample median statistic 

Z_MED 
* 
Median statistic, standardized 

PL_MED 
* 
pvalue (leftsided), median test 

PR_MED 
* 
pvalue (rightsided), median test 

P2_MED 
* 
pvalue (twosided), median test 

XPL_MED 
* 
Exact pvalue (leftsided), median test 

XPR_MED 
* 
Exact pvalue (rightsided), median test 

XPT_MED 
* 
Exact point probability, median test 

XP2_MED 
* 
Exact pvalue (twosided), median test 

_CHMED_ 
Median chisquare (BrownMood test) 

DF_CHMED 
Degrees of freedom, median chisquare 

P_CHMED 
pvalue, median chisquare test 

XP_CHMED 
** 
Exact pvalue, median chisquare test 

XPT_CHME 
** 
Exact point probability, median chisquare 

_MOOD_ 
* 
Twosample Mood statistic 

Z_MOOD 
* 
Mood statistic, standardized 

PL_MOOD 
* 
pvalue (leftsided), Mood test 

PR_MOOD 
* 
pvalue (rightsided), Mood test 

P2_MOOD 
* 
pvalue (twosided), Mood test 

XPL_MOOD 
* 
Exact pvalue (leftsided), Mood test 

XPR_MOOD 
* 
Exact pvalue (rightsided), Mood test 

XPT_MOOD 
* 
Exact point probability, Mood test 

XP2_MOOD 
* 
Exact pvalue (twosided), Mood test 

_CHMOOD_ 
Mood chisquare 

DF_CHMOO 
Degrees of Freedom, Mood chisquare 

P_CHMOOD 
pvalue, Mood chisquare test 

XP_CHMOO 
** 
Exact pvalue, Mood chisquare test 

XPT_CHMO 
** 
Exact point probability, Mood chisquare 

_SAV_ 
* 
Twosample Savage statistic 

Z_SAV 
* 
Savage statistic, standardized 

PL_SAV 
* 
pvalue (leftsided), Savage test 

PR_SAV 
* 
pvalue (rightsided), Savage test 

P2_SAV 
* 
pvalue (twosided), Savage test 

XPL_SAV 
* 
Exact pvalue (leftsided), Savage test 

XPR_SAV 
* 
Exact pvalue (rightsided), Savage test 

XPT_SAV 
* 
Exact point probability, Savage test 

XP2_SAV 
* 
Exact pvalue (twosided), Savage test 

_CHSAV_ 
Savage chisquare 

DF_CHSAV 
Degrees of freedom, Savage chisquare 

P_CHSAV 
pvalue, Savage chisquare test 

XP_CHSAV 
** 
Exact pvalue, Savage chisquare test 

XPT_CHSA 
** 
Exact point probability, Savage chisquare 

_DATA_ 
* 
Twosample data scores statistic 

Z_DATA 
* 
Data scores statistic, standardized 

PL_DATA 
* 
pvalue (leftsided), data scores test 

PR_DATA 
* 
pvalue (rightsided), data scores test 

P2_DATA 
* 
pvalue (twosided), data scores test 

XPL_DATA 
* 
Exact pvalue (leftsided), data scores test 

XPR_DATA 
* 
Exact pvalue (rightsided), data scores test 

XPT_DATA 
* 
Exact point probability, data scores test 

XP2_DATA 
* 
Exact pvalue (twosided), data scores test 

_CHDATA_ 
Data scores chisquare 

DF_CHDAT 
Degrees of freedom, data scores chisquare 

P_CHDATA 
pvalue, data scores chisquare test 

XP_CHDAT 
** 
Exact pvalue, data scores chisquare test 

XPT_CHDA 
** 
Exact point probability, data scores chisquare 

_ST_ 
* 
Twosample SiegelTukey statistic 

Z_ST 
* 
SiegelTukey statistic, standardized 

PL_ST 
* 
pvalue (leftsided), SiegelTukey test 

PR_ST 
* 
pvalue (rightsided), SiegelTukey test 

P2_ST 
* 
pvalue (twosided), SiegelTukey test 

XPL_ST 
* 
Exact pvalue (leftsided), SiegelTukey test 

XPR_ST 
* 
Exact pvalue (rightsided), SiegelTukey test 

XPT_ST 
* 
Exact point probability, SiegelTukey test 

XP2_ST 
* 
Exact pvalue (twosided), SiegelTukey test 

_CHST_ 
SiegelTukey chisquare 

DF_CHST 
Degrees of freedom, SiegelTukey chisquare 

P_CHST 
pvalue, SiegelTukey chisquare test 

XP_CHST 
** 
Exact pvalue, SiegelTukey chisquare test 

XPT_CHST 
** 
Exact point probability, SiegelTukey chisquare 

_VW_ 
* 
Twosample Van der Waerden statistic 

Z_VW 
* 
Van der Waerden statistic, standardized 

PL_VW 
* 
pvalue (leftsided), Van der Waerden test 

PR_VW 
* 
pvalue (rightsided), Van der Waerden test 

P2_VW 
* 
pvalue (twosided), Van der Waerden test 

XPL_VW 
* 
Exact pvalue (leftsided), Van der Waerden test 

XPR_VW 
* 
Exact pvalue (rightsided), Van der Waerden test 

XPT_VW 
* 
Exact point probability, Van der Waerden test 

XP2_VW 
* 
Exact pvalue (twosided), Van der Waerden test 

_CHVW_ 
Van der Waerden chisquare 

DF_CHVW 
Degrees of freedom, Van der Waerden chisquare 

P_CHVW 
pvalue, Van der Waerden chisquare test 

XP_CHVW 
** 
Exact pvalue, Van der Waerden chisquare test 

XPT_CHVW 
** 
Exact point probability, Van der Waerden chisquare 

_WIL_ 
* 
Twosample Wilcoxon statistic 

Z_WIL 
* 
Wilcoxon statistic, standardized 

PL_WIL 
* 
pvalue (leftsided), Wilcoxon test 

PR_WIL 
* 
pvalue (rightsided), Wilcoxon test 

P2_WIL 
* 
pvalue (twosided), Wilcoxon test 

PTL_WIL 
* 
pvalue (leftsided), Wilcoxon t approximation 

PTR_WIL 
* 
pvalue (rightsided), Wilcoxon t approximation 

PT2_WIL 
* 
pvalue (twosided), Wilcoxon t approximation 

XPL_WIL 
* 
Exact pvalue (leftsided), Wilcoxon test 

XPR_WIL 
* 
Exact pvalue (rightsided), Wilcoxon test 

XPT_WIL 
* 
Exact point probability, Wilcoxon test 

XP2_WIL 
* 
Exact pvalue (twosided), Wilcoxon test 

_KW_ 
KruskalWallis statistic 

DF_KW 
Degrees of freedom, KruskalWallis test 

P_KW 
pvalue, KruskalWallis test 

XP_KW 
** 
Exact pvalue, KruskalWallis test 

XPT_KW 
** 
Exact point probability, KruskalWallis test 

Statistic included only for twosample cases. 

Statistic included only for multisample cases. 