When you save the parameters for the cusum scheme in an OUTLIMITS= data set, the following variables are included:
Table 6.6: OUTLIMITS= Data Set
Variable |
Description |
---|---|
|
Probability () of Type 1 error |
|
Average run length for zero shift |
|
Average run length for shift of |
|
Probability () of Type 2 error |
|
Shift () to be detected |
|
Decision interval h for one-sided scheme; distance h between origin and upper arm V-mask for two-sided scheme |
|
Headstart value |
|
Optional identifier for cusum parameters (if the OUTINDEX= option is specified) |
|
Reference value k for one-sided scheme; slope of lower V-mask arm for two-sided scheme |
|
Nominal sample size for cusum scheme |
|
Estimated process mean () |
|
Target mean |
|
Origin of V-mask |
|
Type of scheme ('ONESIDED' or 'TWOSIDED') |
|
|
|
Estimated or known standard deviation ( or ) |
|
Subgroup-variable specified in XCHART statement |
|
Type ('ESTIMATE' or 'STANDARD') of |
|
Process specified in XCHART statement |
Notes:
If the subgroup sample sizes vary, the special missing value V is assigned to the variable _LIMITN_
.
If a V-mask is specified with SIGMAS=k, _ALPHA_
is computed as , where is the standard normal distribution function.
If a V-mask is specified with ALPHA=, _SIGMAS_
is computed as , where is the inverse standard normal distribution function.
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.
When you save subgroup summary statistics in an OUTHISTORY= data set, the following variables are included:
the subgroup-variable
a subgroup mean variable named by process suffixed with X
a subgroup sample size variable named by process suffixed with N
a subgroup standard deviation variable named by process suffixed with S
a cusum variable named by process suffixed with C
Given a process 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.
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
, DiameterX
, DiameterS
, DiameterN
, and DiameterC
.
Additionally, if specified, the following variables are included:
BY variables
block-variables
symbol-variable
ID variables
_PHASE_
(if the OUTPHASE= option is specified)
For an example creating an OUTHISTORY= data set, see Saving Summary Statistics.
The OUTTABLE= data set saves subgroup means, subgroup sample sizes, cusums, and cusum limits. Table 6.7 lists the variables that are included.
Table 6.7: OUTTABLE= Data Set Variables
Variable |
Description |
---|---|
|
Cumulative sum |
|
Decision interval or V-mask arm exceeded |
|
Decision interval |
|
Lower arm of V-mask |
|
Upper arm of V-mask |
Subgroup |
Values of the subgroup variable |
|
Subgroup sample size |
|
Subgroup mean |
|
Subgroup standard deviation |
|
Process specified in XCHART statement |
In addition, the following variables are saved if specified:
BY variables
block-variables
ID variables
_PHASE_
(if the READPHASES= option is specified)
_TREND_
(if the TRENDVAR= option is specified)
symbol-variable
Note that the variables _VAR_
and _EXLIM_
are character variables of length eight. The variable _PHASE_
is a character variable of length 16.