The CUSUM Procedure


Introduction: CUSUM Procedure

The CUSUM procedure creates cumulative sum control charts, also known as cusum charts, which display cumulative sums of the deviations of measurements or subgroup means from a target value. Cusum charts are used to decide whether a process is in statistical control by detecting a shift in the process mean.

You can use the CUSUM procedure to

  • apply a one-sided cusum scheme, also referred to as a decision interval scheme, which detects a shift in one direction from the target mean. You can specify the scheme with the decision interval h and the reference value k.

  • apply a two-sided cusum scheme with a V-mask, which detects a shift in either direction from the target mean. You can specify the scheme with geometric parameters (h and k) for the V-mask or with error probabilities ($\alpha $ and $\beta $ ).

  • implement cusum schemes graphically or computationally

  • specify the shift to be detected as a multiple of standard error or in data units

  • estimate the process standard deviation $\sigma $ using a variety of methods

  • compute average run lengths (ARLs)

  • read raw data (actual measurements) or summarized data (subgroup means and standard deviations)

  • analyze multiple process variables. If used with a BY statement, PROC CUSUM produces charts separately for groups of observations.

  • save cusums and cusum scheme parameters in output data sets

  • tabulate the information displayed on the chart

  • read cusum scheme parameters from an input data set

  • read numeric- or character-valued subgroup variables

  • display subgroups with date and time formats

  • enhance cusum charts with special legends and symbol markers that indicate the levels of stratification variables

  • superimpose plotted points with stars (polygons) whose vertices indicate the values of multivariate data related to the process

  • display a trend chart below the cusum chart that plots a systematic or fitted trend in the data

  • produce charts as traditional graphics, ODS Graphics output, or legacy line printer charts. Line printer charts can use special formatting characters that improve the appearance of the chart. Traditional graphics can be annotated, saved, and replayed.