XCHART Statement: ANOM Procedure

Output Data Sets

OUTLIMITS= Data Set

The OUTLIMITS= data set saves decision limits and decision limit parameters. Table 4.27 lists the variables can be saved.

Table 4.27: OUTLIMITS= Data Set

Variable

Description

_ALPHA_

Significance level ($\alpha $).

_DFE_

Degrees of freedom for mean square error ($\nu $)

_GROUP_

Group-variable specified in the XCHART statement

_INDEX_

Optional identifier for the decision limits specified with the OUTINDEX= option

_LDLX_

Lower decision limit for group means

_LIMITK_

Number of groups

_LIMITN_

Group sample size associated with the decision limits

_MEAN_

Weighted average of group means ($\overline{\overline{X}}$)

_MSE_

Mean square error ($\widehat{\sigma ^2}$).

_TYPE_

Type (estimate or standard value) of _MEAN_ and _MSE_

_UDLX_

Upper decision limit for group means

_VAR_

Response specified in the XCHART statement


Notes:

  1. In the unbalanced case, the special missing value V is assigned to the variables _LIMITN_, _LDLX_, and _UDLX_ to indicate that the decision limits vary with the group sample size.

  2. Optional BY variables are saved in the OUTLIMITS= data set.

The OUTLIMITS= data set contains one observation for each response specified in the XCHART statement. For an example, see the section Saving Decision Limits.

OUTSUMMARY= Data Set

The OUTSUMMARY= data set saves group summary statistics. The following variables can be saved:

  • the group-variable

  • a group mean variable named by response suffixed with X

  • a group sample size variable named by response suffixed with N

  • a group standard deviation variable named by response suffixed with S

Given a response name that contains 32 characters, the procedure first shortens the name to its first 16 characters and its last 15 characters, and then it adds the suffix.

Group summary variables are created for each response specified in the XCHART statement. For example, consider the following statements:

proc anom data=Steel;
   xchart (Width Diameter)*Lot / outsummary=Summary;
run;

The data set Summary contains variables named Lot, WidthX, WidthS, WidthN, DiameterX, DiameterS, and DiameterN. Additionally, the following variables, if specified, are included:

  • BY variables

  • block-variables

  • symbol-variable

  • ID variables

  • _PHASE_ (if the OUTPHASE= option is specified)

For an example of an OUTSUMMARY= data set, see the section Saving Summary Statistics for Groups.

OUTTABLE= Data Set

The OUTTABLE= data set saves group summary statistics, decision limits, and related information. Table 4.28 lists the variables that can be saved.

Table 4.28: OUTTABLE= Data Set

Variable

Description

_ALPHA_

Significance level ($\alpha $)

_EXLIM_

Decision limit exceeded (if any)

Group

Values of the group variable

_LDLX_

Lower decision limit for group mean

_LIMITN_

Nominal sample size associated with the decision limits

_MEAN_

Central line

_SUBN_

Group sample size

_SUBX_

Group mean

_UDLX_

Upper decision limit for group mean

_VAR_

Response specified in the XCHART statement


In addition, the following variables, if specified, are included:

  • BY variables

  • block-variables

  • symbol-variable

  • ID variables

  • _PHASE_ (if the READPHASES= option is specified)

Note: The variable _EXLIM_ is a character variable of length 8. The variable _PHASE_ is a character variable of length 48. The variable _VAR_ is a character variable whose length is no greater than 32. All other variables are numeric.

For an example, see the section Saving Decision Limits.