Shewhart Variables Control Chart (X-bar / R)

Statistics
Introduced by
Walter A. Shewhart
Year
1931
Type
Statistical process control chart for variables
Family
Statistical process control

What does it do?

The Shewhart control chart, developed by Walter Shewhart at Bell Labs in the 1920s and set out in his 1931 book, is the foundational tool of statistical process control.

It plots a process statistic, typically the subgroup mean (X-bar) and range (R), over time against a center line and three-sigma control limits. The chart separates common-cause variation, which is inherent in a stable process, from special-cause variation, which signals that something has changed and warrants investigation.

The intuition behind the method

Every process varies, but the variation has two sources. Common-cause variation is the background noise of a stable system. Special-cause variation comes from an identifiable disturbance, such as a worn tool, a new operator, or a bad batch. The control chart draws limits three standard deviations from the center line to bound what common-cause variation alone should produce. While points fall randomly within the limits, the process is left alone, because adjusting it in response to common-cause variation adds variation. When a point breaches a limit or the pattern becomes non-random, the chart indicates that a special cause is likely present and worth identifying.

History

Walter Shewhart developed the control chart at Bell Telephone Laboratories in 1924 and presented the full framework in his 1931 monograph Economic Control of Quality of Manufactured Product, founding statistical process control. His distinction between assignable (special) and chance (common) causes, and the three-sigma limits that operationalise it, influenced W. Edwards Deming and the twentieth-century quality movement. Montgomery's Introduction to Statistical Quality Control is a standard reference for the charts and their refinements.

When to use it

Use a Shewhart X-bar/R chart to monitor a continuous (variables) quality characteristic of a repetitive process over time — manufacturing dimensions, fill weights, cycle times, laboratory measurements — when you can collect rational subgroups and want to detect changes in the mean and spread. It is most effective for detecting moderate-to-large, sudden shifts; for small, sustained shifts the CUSUM or EWMA charts are more sensitive. The method assumes approximately independent observations and rational subgrouping; autocorrelation or poor subgrouping undermines the limits. For count or proportion data rather than measurements, use attributes charts (p, np, c, u) instead.

Limitations and considerations

  • Insensitive to small, sustained shifts in the mean, because each point is judged on its own; CUSUM and EWMA charts detect such shifts faster.
  • Assumes independent observations; autocorrelated data inflate the false-signal rate.
  • Depends on rational subgrouping. When subgroups mix sources of variation, the within-subgroup range underestimates or distorts the spread the limits are built on.
  • The standard run rules assume approximate normality of the subgroup statistic.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Separates common-cause from special-cause variation, so an out-of-limit point or non-random pattern prompts investigation, while random scatter does not prompt adjustment.
  • Limits are computed from the process's own subgroup data, so they describe what the process does rather than what the customer requires.
  • Plotting the R chart separately from the X-bar chart shows whether within-subgroup spread is stable before the level of the process is interpreted.
  • Three-sigma limits give a low, predictable false-signal rate for a stable, approximately normal process.
  • Its structure of a center line and limits plotted over time is the reference against which CUSUM and EWMA charts are commonly compared.

Applications

  • Monitoring critical dimensions and weights on a manufacturing production line.
  • Tracking laboratory measurement processes for stability and calibration drift.
  • Controlling service-process metrics such as call-handling or processing times.
  • Checking that a process is stable before its capability is assessed.
  • Serving as the baseline chart in Six Sigma and other quality-improvement programmes.

How it works

How it works

1

From an initial set of m rational subgroups (small samples taken under like conditions), compute the grand mean of the subgroup means as the center line for the X-bar chart, and the average subgroup range as the center line for the R chart. Together these summarise the level and spread of the process when it is in control. Limits should be set from enough subgroups judged to be in control to give stable estimates, and recalculated only after a deliberate process change or after a verified special cause has been removed.

Formula
\bar{\bar{x}} = \frac{1}{m}\sum_{j=1}^{m}\bar{x}_j,\quad \bar{R} = \frac{1}{m}\sum_{j=1}^{m} R_j
2

Set three-sigma limits using control-chart constants that convert the average range into an estimate of the standard deviation. The X-bar limits are the grand mean plus and minus A₂ times the average range. The R-chart limits are the average range multiplied by D₄ (upper limit) and by D₃ (lower limit). These constants are tabulated as functions of subgroup size n, so the subgroup size must be fixed and the constant looked up for that n. The constants assume approximately normal data. Three sigma keeps false signals rare for a stable process.

Formula
\text{UCL}/\text{LCL} = \bar{\bar{x}} \pm A_2 \bar{R}
3

Plot each new subgroup's mean and range in time order against the center line and limits. Read the R chart first, because the X-bar limits depend on the within-subgroup spread; only once that spread is stable is the X-bar chart read for shifts in the process level.

Formula
\text{plot } \bar{x}_j,\ R_j \text{ vs subgroup } j
4

A process is judged out of control when a point falls outside the limits or when sensitizing run rules are violated. Such rules flag patterns that are unlikely under random variation, for example several consecutive points on one side of the center line, trends, or points close to the limits. The Western Electric rules are a widely used example, but the exact criteria differ between rule sets, so the rule set in use should be stated. Each added rule raises the false-signal rate. A signal prompts a search for the special cause. Random scatter within the limits calls for no action.

Formula
\text{signal if a point} \notin [\text{LCL}, \text{UCL}]\ \text{or runs/trends violate sensitizing rules}

Common pitfalls

  • Tampering: adjusting the process in response to common-cause variation, which increases variability.
  • Reading the X-bar chart before confirming that the R chart is in control, since the X-bar limits depend on the within-subgroup spread.
  • Applying the chart to autocorrelated data without accounting for the dependence between successive points.
  • Recomputing limits too often, or using out-of-control data to set them.
  • Confusing control limits, which come from process data, with specification limits, which come from requirements.

Frequently asked questions

What is the difference between control limits and specification limits?

Control limits describe what the process actually does. They are computed from process data and bound common-cause variation. Specification limits describe what the customer requires. A process can be in control (within its control limits) and still be incapable (outside specifications), so the two must not be confused or plotted interchangeably.

Why three sigma?

Shewhart chose three-sigma limits as a practical balance between false signals and missed signals. For a stable, approximately normal process, the basic limits give a false-signal rate of about one signal per 370 plotted points on average. The figure applies to each plotted point, including each subgroup mean. Limits estimated from subgroup data and any added run rules change this rate, so the figure should be read as an approximation. Signals are thus rare enough to be worth investigating without prompting constant unnecessary searches.

When should I use CUSUM or EWMA instead?

Shewhart charts react quickly to large shifts but slowly to small, persistent ones, because each point is judged in isolation. When detecting small sustained shifts in the mean matters, the CUSUM and EWMA charts, which accumulate information across points, are substantially more sensitive.

Related methods

Sources

  1. Shewhart, W. A. (1931). Economic Control of Quality of Manufactured Product. D. Van Nostrand Company.

    ISBN: 978-0-87389-076-2
  2. Montgomery, D. C. (2009). Introduction to Statistical Quality Control (6th ed.). John Wiley & Sons.

    ISBN: 978-0-470-16992-6