Output Data Set

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 identical to those in the PROC NPAR1WAY statement. When you specify one of these options in the OUTPUT statement, PROC NPAR1WAY includes all available statistics from that analysis in the output data set.

The output data set contains one observation for each analysis variable within a BY group. (You can name 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 containing the specified statistics

Table 64.5 lists the variable names and descriptions for all available statistics. Note that some statistics are available only for the two-sample case (where the CLASS variable groups the data into two classes); other statistics are available only for the multisample case.

If you request exact tests by using the EXACT statement, the output data set also includes exact p-values for those tests when you specify the corresponding options in the OUTPUT statement. If you do not request exact tests with the EXACT statement, the output data set does not include exact p-values.

Monte Carlo estimates of exact p-values are not available in this output data set, but you can use the Output Delivery System (ODS) to store Monte Carlo estimates in a SAS data set. You can use the Output Delivery System 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.

Table 64.5 Output Data Set Variable Names and Descriptions

Option

Output Variables

 

Variable Descriptions

AB

_AB_

*

Two-sample Ansari-Bradley statistic

 

Z_AB

*

Ansari-Bradley statistic, standardized

 

PL_AB

*

p-value (left-sided), Ansari-Bradley test

 

PR_AB

*

p-value (right-sided), Ansari-Bradley test

 

P2_AB

*

p-value (two-sided), Ansari-Bradley test

 

XPL_AB

*

Exact p-value (left-sided), Ansari-Bradley test

 

XPR_AB

*

Exact p-value (right-sided), Ansari-Bradley test

 

XPT_AB

*

Exact point probability, Ansari-Bradley test

 

XP2_AB

*

Exact p-value (two-sided), Ansari-Bradley test

 

_CHAB_

 

Ansari-Bradley chi-square

 

DF_CHAB

 

Degrees of freedom, Ansari-Bradley chi-square

 

P_CHAB

 

p-value, Ansari-Bradley chi-square test

 

XP_CHAB

**

Exact p-value, Ansari-Bradley chi-square test

 

XPT_CHAB

**

Exact point probability, Ansari-Bradley chi-square

ANOVA

_MSA_

 

ANOVA effect mean square, among MS

 

_MSE_

 

ANOVA error mean square, within MS

 

_F_

 

F statistic for ANOVA

 

P_F

 

p-value, F statistic for ANOVA

CONOVER

_CON_

*

Two-sample Conover statistic

 

Z_CON

*

Conover statistic, standardized

 

PL_CON

*

p-value (left-sided), Conover test

 

PR_CON

*

p-value (right-sided), Conover test

 

P2_CON

*

p-value (two-sided), Conover test

 

XPL_CON

*

Exact p-value (left-sided), Conover test

 

XPR_CON

*

Exact p-value (right-sided), Conover test

 

XPT_CON

*

Exact point probability, Conover test

 

XP2_CON

*

Exact p-value (two-sided), Conover test

 

_CHCON_

 

Conover chi-square

 

DF_CHCON

 

Degrees of freedom, Conover chi-square

 

P_CHCON

 

p-value, Conover chi-square test

 

XP_CHCON

**

Exact p-value, Conover chi-square test

 

XPT_CHCO

**

Exact point probability, Conover chi-square

EDF

_KS_

 

Kolmogorov-Smirnov statistic

 

_KSA_

 

Kolmogorov-Smirnov statistic (asymptotic)

 

_Dp_

*

Two-sample Kolmogorov-Smirnov D+

 

P_Dp

*

p-value, D+

 

_Dm_

*

Two-sample Kolmogorov-Smirnov D-

 

P_Dm

*

p-value, D-

 

_D_

*

Two-sample Kolmogorov-Smirnov statistic D

 

P_KSA

*

p-value, D

 

XP_Dp

*

Exact p-value, D+

 

XPT_Dp

*

Exact point probability, D+

 

XP_Dm

*

Exact p-value, D-

 

XPT_Dm

*

Exact point probability, D-

 

XP_D

*

Exact p-value, D

 

XPT_D

*

Exact point probability, D

 

_CM_

 

Cramer-von Mises statistic

 

_CMA_

 

Cramer-von Mises statistic (asymptotic)

 

_K_

*

Kuiper two-sample statistic

 

_KA_

*

Kuiper two-sample statistic (asymptotic)

 

P_KA

*

p-value, two-sample Kuiper test

HL

_HL_

*

Hodges-Lehmann estimate, location shift

 

L_HL

*

Lower confidence limit, Hodges-Lehmann

 

U_HL

*

Upper confidence limit, Hodges-Lehmann

 

M_HL

*

Confidence limit midpoint, Hodges-Lehmann

 

E_HL

*

ASE of Hodges-Lehmann estimate

 

XL_HL

*

Exact lower confidence limit, Hodges-Lehmann

 

XU_HL

*

Exact upper confidence limit, Hodges-Lehmann

 

XM_HL

*

Exact confidence limit midpoint

KLOTZ

_KLOTZ_

*

Two-sample Klotz statistic

 

Z_K

*

Klotz statistic, standardized

 

PL_K

*

p-value (left-sided), Klotz test

 

PR_K

*

p-value (right-sided), Klotz test

 

P2_K

*

p-value (two-sided), Klotz test

 

XPL_K

*

Exact p-value (left-sided), Klotz test

 

XPR_K

*

Exact p-value (right-sided), Klotz test

 

XPT_K

*

Exact point probability, Klotz test

 

XP2_K

*

Exact p-value (two-sided), Klotz test

 

_CHK_

 

Klotz chi-square

 

DF_CHK

 

Degrees of freedom, Klotz chi-square

 

P_CHK

 

p-value, Klotz chi-square test

 

XP_CHK

**

Exact p-value, Klotz chi-square test

 

XPT_CHK

**

Exact point probability, Klotz chi-square

MEDIAN

_MED_

*

Two-sample median statistic

 

Z_MED

*

Median statistic, standardized

 

PL_MED

*

p-value (left-sided), median test

 

PR_MED

*

p-value (right-sided), median test

 

P2_MED

*

p-value (two-sided), median test

 

XPL_MED

*

Exact p-value (left-sided), median test

 

XPR_MED

*

Exact p-value (right-sided), median test

 

XPT_MED

*

Exact point probability, median test

 

XP2_MED

*

Exact p-value (two-sided), median test

 

_CHMED_

 

Median chi-square (Brown-Mood test)

 

DF_CHMED

 

Degrees of freedom, median chi-square

 

P_CHMED

 

p-value, median chi-square test

 

XP_CHMED

**

Exact p-value, median chi-square test

 

XPT_CHME

**

Exact point probability, median chi-square

MOOD

_MOOD_

*

Two-sample Mood statistic

 

Z_MOOD

*

Mood statistic, standardized

 

PL_MOOD

*

p-value (left-sided), Mood test

 

PR_MOOD

*

p-value (right-sided), Mood test

 

P2_MOOD

*

p-value (two-sided), Mood test

 

XPL_MOOD

*

Exact p-value (left-sided), Mood test

 

XPR_MOOD

*

Exact p-value (right-sided), Mood test

 

XPT_MOOD

*

Exact point probability, Mood test

 

XP2_MOOD

*

Exact p-value (two-sided), Mood test

 

_CHMOOD_

 

Mood chi-square

 

DF_CHMOO

 

Degrees of Freedom, Mood chi-square

 

P_CHMOOD

 

p-value, Mood chi-square test

 

XP_CHMOO

**

Exact p-value, Mood chi-square test

 

XPT_CHMO

**

Exact point probability, Mood chi-square

SAVAGE

_SAV_

*

Two-sample Savage statistic

 

Z_SAV

*

Savage statistic, standardized

 

PL_SAV

*

p-value (left-sided), Savage test

 

PR_SAV

*

p-value (right-sided), Savage test

 

P2_SAV

*

p-value (two-sided), Savage test

 

XPL_SAV

*

Exact p-value (left-sided), Savage test

 

XPR_SAV

*

Exact p-value (right-sided), Savage test

 

XPT_SAV

*

Exact point probability, Savage test

 

XP2_SAV

*

Exact p-value (two-sided), Savage test

 

_CHSAV_

 

Savage chi-square

 

DF_CHSAV

 

Degrees of freedom, Savage chi-square

 

P_CHSAV

 

p-value, Savage chi-square test

 

XP_CHSAV

**

Exact p-value, Savage chi-square test

 

XPT_CHSA

**

Exact point probability, Savage chi-square

SCORES=DATA

_DATA_

*

Two-sample data scores statistic

 

Z_DATA

*

Data scores statistic, standardized

 

PL_DATA

*

p-value (left-sided), data scores test

 

PR_DATA

*

p-value (right-sided), data scores test

 

P2_DATA

*

p-value (two-sided), data scores test

 

XPL_DATA

*

Exact p-value (left-sided), data scores test

 

XPR_DATA

*

Exact p-value (right-sided), data scores test

 

XPT_DATA

*

Exact point probability, data scores test

 

XP2_DATA

*

Exact p-value (two-sided), data scores test

 

_CHDATA_

 

Data scores chi-square

 

DF_CHDAT

 

Degrees of freedom, data scores chi-square

 

P_CHDATA

 

p-value, data scores chi-square test

 

XP_CHDAT

**

Exact p-value, data scores chi-square test

 

XPT_CHDA

**

Exact point probability, data scores chi-square

ST

_ST_

*

Two-sample Siegel-Tukey statistic

 

Z_ST

*

Siegel-Tukey statistic, standardized

 

PL_ST

*

p-value (left-sided), Siegel-Tukey test

 

PR_ST

*

p-value (right-sided), Siegel-Tukey test

 

P2_ST

*

p-value (two-sided), Siegel-Tukey test

 

XPL_ST

*

Exact p-value (left-sided), Siegel-Tukey test

 

XPR_ST

*

Exact p-value (right-sided), Siegel-Tukey test

 

XPT_ST

*

Exact point probability, Siegel-Tukey test

 

XP2_ST

*

Exact p-value (two-sided), Siegel-Tukey test

 

_CHST_

 

Siegel-Tukey chi-square

 

DF_CHST

 

Degrees of freedom, Siegel-Tukey chi-square

 

P_CHST

 

p-value, Siegel-Tukey chi-square test

 

XP_CHST

**

Exact p-value, Siegel-Tukey chi-square test

 

XPT_CHST

**

Exact point probability, Siegel-Tukey chi-square

VW | NORMAL

_VW_

*

Two-sample Van der Waerden statistic

 

Z_VW

*

Van der Waerden statistic, standardized

 

PL_VW

*

p-value (left-sided), Van der Waerden test

 

PR_VW

*

p-value (right-sided), Van der Waerden test

 

P2_VW

*

p-value (two-sided), Van der Waerden test

 

XPL_VW

*

Exact p-value (left-sided), Van der Waerden test

 

XPR_VW

*

Exact p-value (right-sided), Van der Waerden test

 

XPT_VW

*

Exact point probability, Van der Waerden test

 

XP2_VW

*

Exact p-value (two-sided), Van der Waerden test

 

_CHVW_

 

Van der Waerden chi-square

 

DF_CHVW

 

Degrees of freedom, Van der Waerden chi-square

 

P_CHVW

 

p-value, Van der Waerden chi-square test

 

XP_CHVW

**

Exact p-value, Van der Waerden chi-square test

 

XPT_CHVW

**

Exact point probability, Van der Waerden chi-square

WILCOXON

_WIL_

*

Two-sample Wilcoxon statistic

 

Z_WIL

*

Wilcoxon statistic, standardized

 

PL_WIL

*

p-value (left-sided), Wilcoxon test

 

PR_WIL

*

p-value (right-sided), Wilcoxon test

 

P2_WIL

*

p-value (two-sided), Wilcoxon test

 

PTL_WIL

*

p-value (left-sided), Wilcoxon t approximation

 

PTR_WIL

*

p-value (right-sided), Wilcoxon t approximation

 

PT2_WIL

*

p-value (two-sided), Wilcoxon t approximation

 

XPL_WIL

*

Exact p-value (left-sided), Wilcoxon test

 

XPR_WIL

*

Exact p-value (right-sided), Wilcoxon test

 

XPT_WIL

*

Exact point probability, Wilcoxon test

 

XP2_WIL

*

Exact p-value (two-sided), Wilcoxon test

 

_KW_

 

Kruskal-Wallis statistic

 

DF_KW

 

Degrees of freedom, Kruskal-Wallis test

 

P_KW

 

p-value, Kruskal-Wallis test

 

XP_KW

**

Exact p-value, Kruskal-Wallis test

 

XPT_KW

**

Exact point probability, Kruskal-Wallis test

Statistic included only for two-sample cases.

Statistic included only for multisample cases.