S chart: control chart for subgroup standard deviations

Updated

An S chart plots the sample standard deviation of each subgroup over time, with a center line at the average standard deviation s̄ and control limits from the constants B₃ and B₄. It tells you whether the short-term spread of a process is stable, has grown or has shrunk. It is the bottom half of the Xbar-S chart and the counterpart of the R chart for larger subgroups.

When to use it

  • You measure a continuous characteristic in rational subgroups of about 10 values or more. With that many values, the standard deviation uses the data much more efficiently than the range.
  • Subgroup sizes vary, for example because some parts are scrapped before measurement.
  • Consistency is the main concern: weight variation between tablets, thickness variation across a sheet, force variation between springs.
  • You want to confirm that a change aimed at reducing variation actually worked.

For subgroups of 2 to 9 values, the R chart works about as well and is easier to compute by hand. To watch the spread of several correlated characteristics together, see the generalized variance chart.

How it works

For each subgroup, compute the sample standard deviation sᵢ (dividing by n − 1). Average them to get s̄. The limits are

UCL = B₄s̄ CL = s̄ LCL = B₃s̄

Both constants come from c₄, the expected value of s for n normal values with σ = 1. You can compute them for any n:

c₄ = √(2/(n − 1)) · Γ(n/2) / Γ((n − 1)/2) B₃ = max(0, 1 − 3√(1 − c₄²)/c₄) B₄ = 1 + 3√(1 − c₄²)/c₄ σ̂ = s̄ / c₄

For n = 10, B₃ = 0.284 and B₄ = 1.716. For n = 12, the size used below, c₄ = 0.9776, B₃ = 0.354 and B₄ = 1.646. The lower limit is 0 up to n = 5 and positive from n = 6 on.

Apply Tests 1 to 4 of the tests for special causes. The distribution of s is skewed, more so for small subgroups, so the zone-based Tests 5 to 8 do not have their usual probabilities.

Example

A coiling machine makes compression springs with a nominal free length of 25.00 mm. Every hour an inspector measures 12 springs. The first subgroup was:

25.02, 24.96, 24.97, 24.80, 25.14, 25.09, 24.97, 25.06, 25.02, 24.96, 25.08, 24.98 mm (s = 0.0872 mm)

The first 20 subgroups set the baseline: s̄ = 0.0817 mm. With n = 12:

  • UCL = 1.646 × 0.0817 = 0.1345 mm.
  • LCL = 0.354 × 0.0817 = 0.0289 mm.
  • σ̂ = 0.0817 / 0.9776 = 0.0836 mm.

After subgroup 20, maintenance replaced the worn wire straightener rolls. The limits stayed fixed, and 10 more subgroups were plotted. Subgroup 21 was:

25.00, 24.97, 25.00, 24.98, 25.01, 25.06, 24.93, 25.05, 24.90, 24.89, 24.99, 25.00 mm (s = 0.0527 mm)

S chart of spring free length0.0250.0500.0750.1000.125Standard deviation (mm)CL=0.0817UCL=0.1345LCL=0.028914710131619222528Subgroup
S chart of spring free length

Every subgroup from 21 to 30 is below the center line. Test 2 (9 in a row on one side) signals at subgroup 29. No point crossed the lower limit, but the run is strong evidence that the spread dropped: the average s over subgroups 21 to 30 is 0.0502 mm, which puts σ̂ at about 0.0513 mm, close to 40% less than before. Once 20 or more subgroups are available under the new rolls, the team will compute new limits.

How to read the results

  • Points above the UCL mean the values within a subgroup disagreed more than usual: a loose part, mixed material, an intermittent feed problem.
  • Runs above the center line mean spread has grown and stayed that way.
  • Runs below the center line, or points below the LCL, mean spread has shrunk. If nothing was changed on purpose, check the measurement first: a gauge that sticks or rounds too coarsely also lowers s.
  • σ̂ = s̄/c₄ is your short-term standard deviation. Use it for an Xbar chart or for Cp and Cpk in a capability analysis.

Common mistakes

  • Forgetting c₄. s̄ underestimates σ; for n = 12 the bias is about 2%, for n = 5 about 6%.
  • Mixing subgroup sizes without adjusting the limits. With unequal sizes, each subgroup gets its own B₃ and B₄, and σ is best estimated by pooling the variances.
  • Recalculating the limits as soon as the run appears. Keep the old limits until the change is confirmed and you have enough new subgroups; mixing old and new periods gives limits that describe neither.
  • Subgroups that include different streams. Springs from two coiling heads in one subgroup make s measure the difference between heads.

Frequently asked questions

What subgroup size makes an S chart better than an R chart?

The usual cutoff is about 10. Below that, the range loses little information; above it, the range ignores more and more of the data, and the standard deviation becomes clearly more efficient.

How do I get B₃ and B₄ for subgroups larger than 10?

Compute c₄ from the gamma function formula above, then B₃ and B₄ from c₄. A good statistics tool does this for you for any subgroup size.

Is the S chart affected by non-normal data?

More than the Xbar chart is. The standard deviation of skewed data varies more from subgroup to subgroup than the normal theory assumes, so you may see extra points above the UCL. Check the shape of the data with a histogram if the S chart signals often without a clear cause.

Should I plot the variance instead of the standard deviation?

You can, and the limits then come from the chi-square distribution. The standard deviation is in the same units as the data, so most people find it easier to read.

Try it with your own data

StatLab SPC is free, open-source statistics for engineers. It runs in your browser, works offline, and never uploads your data.

Open StatLab