Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
XCHART Statement

Output Data Sets

OUTLIMITS= Data Set

When you save the parameters for the cusum scheme in an OUTLIMITS= data set, the following variables are included:

Table 12.20: OUTLIMITS= Data Set
Variable Description
_ALPHA_probability (\alpha) of Type 1 error
_ARLIN_average run length for zero shift
_ARLOUT_average run length for shift of \delta
_BETA_probability (\beta) of Type 2 error
_DELTA_shift (\delta) to be detected
_H_decision interval h for one-sided scheme; distance h between origin and upper arm V-mask for two-sided scheme
_HSTART_headstart value
_INDEX_optional identifier for cusum parameters (if the OUTINDEX= option is specified)
_K_reference value k for one-sided scheme; slope of lower V-mask arm for two-sided scheme
_LIMITN_nominal sample size for cusum scheme
_MEAN_estimated process mean (\overline{\overline{X}})
_MU0_target mean \mu_{0}
_ORIGIN_origin of V-mask
_SCHEME_type of scheme (ONESIDED or TWOSIDED)
_SIGMAS_z_{1-\alpha/2}
_STDDEV_estimated or known standard deviation (\hat{\sigma} or \sigma_{0})
_SUBGRP_subgroup-variable specified in XCHART statement
_TYPE_type (ESTIMATE or STANDARD) of _STDDEV_
_VAR_process specified in XCHART statement

Notes:

  1. If the subgroup sample sizes vary, the special missing value V is assigned to the variable _LIMITN_.
  2. If a V-mask is specified with SIGMAS=k, _ALPHA_ is computed as \alpha=2(1-\Phi(k)), where \Phi(\cdot) is the standard normal distribution function.
  3. If a V-mask is specified with ALPHA=\alpha, _SIGMAS_ is computed as k=\Phi^{-1}(1-\alpha/2), where \Phi^{-1} is the inverse standard normal distribution function.
  4. BY variables are saved in the OUTLIMITS= data set.

The OUTLIMITS= data set contains one observation for each process specified in the XCHART statement. For an example, see "Saving Cusum Scheme Parameters" .

OUTHISTORY= Data Set

When you save subgroup summary statistics in an OUTHISTORY= data set, the following variables are included:

Given a process that is eight characters long, the procedure first shortens the prefix to its first four characters and its last three characters and then adds the suffix. For example, the procedure shortens the process DIAMETER to DIAMTER before adding the suffixes.

Variables containing subgroup summary statistics are created for each process specified in the XCHART statement. For example, consider the following statements:

   proc cusum data=steel limits=stparm;
      xchart (width diameter)*lot / outhistory=summary;
   run;

The data set SUMMARY would contain nine variables named LOT, WIDTHX, WIDTHS, WIDTHN, WIDTHC, DIAMTERX, DIAMTERS, DIAMTERN, and DIAMTERC.

Additionally, if specified, the following variables are included:

For an example creating an OUTHISTORY= data set, see "Saving Summary Statistics" .

OUTTABLE= Data Set

The OUTTABLE= data set saves subgroup means, subgroup sample sizes, cusums, and cusum limits. The following variables are included:

Variable Description
_CUSUM_cumulative sum
_EXLIM_decision interval or V-mask arm exceeded
_H_decision interval
_MASKL_lower arm of V-mask
_MASKU_upper arm of V-mask
subgroupvalues of the subgroup variable
_SUBN_subgroup sample size
_SUBX_subgroup mean
_SUBS_subgroup standard deviation
_VAR_process specified in XCHART statement

In addition, the following variables are saved if specified:


Note that the variables _VAR_ and _EXLIM_ are character variables of length eight. The variable _PHASE_ is a character variable of length 16.

Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
Top
Top

Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.