The NPAR1WAY Procedure

Contents of the Output Data Set

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 output-options in the OUTPUT statement. For more information, see the description of the OUTPUT statement.

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 output-option 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 two-sided p-values, exact p-values, 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 p-values. The statistics that are included also depend on the classification of the data. Some statistics are available only for two-sample data (where the CLASS variable groups the data into two classes); other statistics are available only for multisample data.

Table 71.5 lists variable names and descriptions for the statistics that are available in the output data set.

Monte Carlo estimates of exact p-values 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 71.5: Output Data Set Variable Names and Descriptions

Output 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

 

XMP_AB

*

Exact mid p-value, 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 test

 

XMP_CHAB

**

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

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

 

XMP_CON

*

Exact mid p-value, 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 test

 

XMP_CHCON

**

Exact mid p-value, Conover chi-square test

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+

 

XMP_Dp

*

Exact mid p-value, D+

 

XP_Dm

*

Exact p-value, D–

 

XPT_Dm

*

Exact point probability, D–

 

XMP_Dm

*

Exact mid p-value, D–

 

XP_D

*

Exact p-value, D

 

XPT_D

*

Exact point probability, D

 

XMP_D

*

Exact mid p-value, D

 

_CM_

 

Cramér–von Mises statistic

 

_CMA_

 

Cramér–von Mises statistic (asymptotic)

 

_K_

*

Kuiper two-sample statistic

 

_KA_

*

Kuiper two-sample statistic (asymptotic)

 

P_KA

*

p-value, two-sample Kuiper test

FP

_FP_

*

Fligner-Policello statistic

 

PL_FP

*

p-value (left-sided), Fligner-Policello test

 

PR_FP

*

p-value (right-sided), Fligner-Policello test

 

P2_FP

*

p-value (two-sided), Fligner-Policello 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

 

XMP_K

*

Exact mid p-value, 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 test

 

XMP_CHK

**

Exact mid p-value, Klotz chi-square test

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

 

XMP_MED

*

Exact mid p-value, 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 test

 

XMP_CHMED

**

Exact mid p-value, median chi-square test

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

 

XMP_MOOD

*

Exact mid p-value, 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 test

 

XMP_CHMOOD

**

Exact mid p-value, Mood chi-square test

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

 

XMP_SAV

*

Exact mid p-value, 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 test

 

XMP_CHSAV

**

Exact mid p-value, Savage chi-square test

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

 

XMP_DATA

*

Exact mid p-value, data scores test

 

XP2_DATA

*

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

SCORES=DATA

_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 test

 

XMP_CHDATA

**

Exact mid p-value, data scores chi-square test

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

 

XMP_ST

*

Exact mid p-value, 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 test

 

XMP_CHST

**

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

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

 

XMP_VW

*

Exact mid p-value, 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 test

 

XMP_CHVW

**

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

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

 

XMP_WIL

*

Exact mid p-value, 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

 

XMP_KW

**

Exact mid p-value, Kruskal-Wallis test

$^*$Statistic included only for two-sample cases.

$^{**}$Statistic included only for multisample cases.