1 What is a CUSUM Chart and When Should I Use One

Preparing to load PDF file. please wait...

0 of 0
100%
1 What is a CUSUM Chart and When Should I Use One

Transcript Of 1 What is a CUSUM Chart and When Should I Use One

What is a CUSUM Chart and When Should I Use One?
Steven Wachs Principal Statistician Integral Concepts, Inc.
Copyright © 2010 Integral Concepts, Inc.
Introduction In previous articles, we discussed the advantages that Xbar charts have over Individuals charts in detecting process shifts. (See “How Should the Subgroup Size be Selected for an Xbar Chart (Part I)”) We saw that charts of Individuals are ineffective at quickly detecting small process shifts (and detecting these small process changes may be critical!).
Charts of averages (Xbar) are superior because averaging the subgroup data gives us greater certainty as to where the process is actually running at a point in time. Selecting an appropriate sample size on an Xbar chart allows us to align the statistical performance of the control chart with the desired practical process changes we’d like to detect. That is, the sensitivity (ability to detect change) may be adjusted based on the sample size utilized.
However, collecting subgroups in order to produce Xbar charts is not always feasible. Some common issues that may deter sub-grouping include:
• Lack of Variability within Subgroups (e.g. Batch processing) • Low Production Volumes • Long Cycle Times (rational sampling not possible) • High Cost of Sampling • Destructive Testing
In situations where sub-grouping is not desired or feasible, yet greater sensitivity than what standard Individuals charts (e.g. I-MR) can provide is necessary, Tabular CUSUM (CUSUM) or EWMA charts are a good choice.
CUSUM charts are also a natural fit for situations where the process average is naturally expected to shift or trend from the target and there is a desire to make timely process adjustments to bring the process back on target (e.g. Chemical and Process Industries). This article will focus on the CUSUM chart (the EWMA chart will be discussed in a future article).
1
PO Box 251652 • West Bloomfield, MI 48325 • Tel. 248-421-7590 • Fax. 248-539-3858 • www.integral-concepts.com

The CUSUM Chart
CUSUM (Cumulative Sum) charts improve the ability to detect small shifts (i.e. less than 1.5σ) by charting a statistic that incorporates current and previous data values from the process. Specifically, the CUSUM chart plots the cumulative sums of the deviations of the sample values from a target value. The inclusion of several samples in the cumulative sum results in greater sensitivity for detecting shifts or trends over the traditional Shewhart charts (Individuals or Xbar charts).
For a process that remains in control and centered at the Target value (T), the cumulative sum will vary randomly around a mean of zero. However, if the mean shifts upwards to some value µ, (µ > T), then an upward trend will quickly develop in the cumulative sum. The superior sensitivity of the CUSUM chart will be illustrated with the following example.
An Example
The 30 Data values shown below were randomly generated from two different normal distributions, as follows:
• The first 20 come from a normal distribution with µ = 5.20 and σ = 0.10 • The last 10 come from a normal distribution with µ = 5.30 and σ = 0.10

Sample 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

Data 5.245 5.372 5.270 5.095 5.023 5.118 5.162 5.363 5.204 5.077 5.278 5.267 5.219 5.165 5.052

Sample 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30

Data 5.158 5.220 5.349 5.263 5.165 5.175 5.393 5.423 5.217 5.299 5.362 5.382 5.389 5.115 5.184

Thus, the final 10 observations come from a distribution that is shifted by 1σ. If the shift of 1 standard deviation has practical significance, we would expect our control chart to indicate the instability.

2
PO Box 251652 • West Bloomfield, MI 48325 • Tel. 248-421-7590 • Fax. 248-539-3858 • www.integral-concepts.com

The first chart below is a traditional Individuals Chart. While this is commonly displayed in conjunction with a moving range chart, only the Individuals Chart is displayed, here.

Individual Value

I Chart of Data

5.5

UCL=5.5077

5.4

5.3
_ X=5.2334 5.2

5.1

5.0 LCL=4.9591

4.9

1

4

7 10 13 16 19 22 25 28

Observation

It is not apparent that any process shift has occurred after sample 20. No points exceed a control limit and no run or trend rules are violated. Even if a run rule was violated (and the user is applying run rules to the chart), a run of 7 (or 8 or 9) consecutive points above the centerline would be required which would mean that the earliest that the shift could be detected is on sample 27.
A CUSUM chart of the same data is shown below:

Cumulative Sum

CUSUM Chart of Data
0.75

0.50 UCL=0.366
0.25

0.00

0

-0.25
-0.50 14

7 10 13 16 19 22 25 28 Sample

LCL=-0.366

Note that the CUSUM chart actually plots cumulative sums in each direction (positive and negative) independently. In this case, the process change is detected on the 6th sample following the process “shift.” While the computation of the individual CUSUMs
3

PO Box 251652 • West Bloomfield, MI 48325 • Tel. 248-421-7590 • Fax. 248-539-3858 • www.integral-concepts.com

are not difficult, the details are excluded here since software is readily available for constructing these charts. It is clear that the CUSUM chart is far superior to the Individuals chart in detecting this small (1σ) shift.
It should be noted that runs, trends, or zone rules that have been developed for standard control charts do not apply to the CUSUM chart. The successive cumulative sums that are plotted are not independent. Here, we conclude that the process is unstable only when a point exceeds the control limit.
CUSUM Chart Design Considerations
The upper and lower CUSUMs actually accumulate deviations from target that exceed a value called the reference value or allowance or slack value (normally indicated by K). K is typically set to be equal to half of the distance from the target and the shifted mean that we are interested in detecting quickly. For example, if the process target is 5.25 and we want to detect a mean shift to 5.35, then we would typically select K to be 0.05.
K = ½*(5.35 – 5.25) = 0.05
Additionally, the parameter H is specified in order to determine the location of the control limits. A typical value of H is equal to 5σ (although 4σ is sometimes used). The values for K and H are generally selected to achieve a good balance between Type I and Type II Error probabilities.
A detailed discussion of the CUSUM design parameters may be found in “Introduction to Statistical Quality Control” by Douglas Montgomery.
Summary
This article discussed the use of CUSUM charts as an alternative to traditional Individuals charts. While CUSUM charts may also be applied to averages of rational subgroups, they are particularly effective when plotting individuals since by their very nature, Individuals charts are insensitive at detecting process changes. CUSUM charts are also an excellent choice when the objective is to control a characteristic to a target value by making necessary process adjustments (rather than the more typical objective of identifying special causes so that they can be eliminated).
4
PO Box 251652 • West Bloomfield, MI 48325 • Tel. 248-421-7590 • Fax. 248-539-3858 • www.integral-concepts.com
Cusum ChartProcessShiftCusum ChartsIndividuals Charts