23-Ind-A5 Quality Planning, Control, and Assurance · December 2019
Nivaar worked solution (AI-drafted; not reviewed by a licensed engineer)
Reference texts: Montgomery, Introduction to Statistical Quality Control (8th ed.) — cost/philosophy of quality, control charts for variables and attributes, CUSUM, acceptance sampling (MIL-STD-105E, Dodge-Romig); Montgomery, Design and Analysis of Experiments (9th ed.) — fractional factorial designs, aliasing, robust (Taguchi) parameter design; ISO 9001:2015 (successor to ISO 9000:2000) — quality management system certification.
Question text not reproduced: the examination questions are © Engineers and Geoscientists BC. Open the official past paper (linked at the top of this page) to read the question, then follow the worked solution below.
A Type I error (probability $\alpha$) is a false alarm: the chart signals out-of-control (a point falls outside the control limits) when the process is actually still operating under only common-cause variation. A Type II error (probability $\beta$) is a missed signal: the process has genuinely shifted to an out-of-control state, but the plotted point still falls inside the control limits and the chart fails to flag it.
The two errors trade directly against each other through the width of the control limits and the sample size, and both carry real operating cost. A Type I error triggers an unnecessary process stoppage and search for an assignable cause that does not exist, wasting labour and machine time and, if operators learn to distrust frequent false alarms, breeds "alarm fatigue" that erodes the chart's credibility and the discipline of reacting to real signals. A Type II error is more costly in the other direction: the process continues running out of control, undetected, so it keeps producing nonconforming or off-target product until the next assignable-cause investigation or the shift is eventually caught by chance — the accumulated scrap, rework, and (if product escapes to the customer) warranty/reputation cost grows with every additional sample the shift goes undetected. Widening the control limits (or reducing sample size) lowers $\alpha$ but raises $\beta$ (slower, less sensitive detection); tightening the limits (or increasing sample size) does the reverse. The standard $3\sigma$ limits, and the sample-size/ARL calculations used in part (c), are exactly this trade-off made explicit and quantitative rather than left to intuition.
Given. Ten days of 100%-inspected production, sample size alternating between $n=80$ and $n=120$:
| Day | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
|---|---|---|---|---|---|---|---|---|---|---|
| Units inspected, $n_i$ | 80 | 120 | 120 | 80 | 120 | 120 | 80 | 120 | 120 | 80 |
| Nonconforming, $x_i$ | 4 | 7 | 5 | 8 | 6 | 6 | 4 | 5 | 8 | 7 |
Find. The trial $p$-chart and the estimated process fraction nonconforming $\bar p$; then the smallest constant sample size $n$ that gives a strictly positive lower control limit for future control.
Approach. Pool all ten days to estimate $\bar p$, plot each day's own point $\hat p_i=x_i/n_i$ against control limits computed with that day's own $n_i$ (the sample size alternates, so the limits do too), confirm the baseline is in control, then solve the $LCL>0$ condition for $n$ algebraically.
| Quantity | Result |
|---|---|
| Total inspected / nonconforming | $N=1040$, $D=60$ |
| Estimated process fraction nonconforming $\bar p$ | $0.05769$ |
| Trial limits, $n=80$ | $UCL=0.1359$, $LCL=0$ |
| Trial limits, $n=120$ | $UCL=0.1216$, $LCL=0$ |
| Baseline in control? | Yes — no revision needed |
| Smallest constant $n$ with $LCL>0$ | $n=148$ ($LCL=0.000195$); $n=147$ is the exact breakeven and gives $LCL=0$ |
Given. Process center $\bar p=0.05769$ (from part (b)); a shift to $p_1=0.1$ must be detected with average run length $ARL<5$ using $3\sigma$ $p$-chart limits built on $\bar p$ and a fixed future sample size $n$.
Find. The minimum integer $n$ satisfying $ARL<5$ at the shift, and the resulting control limits.
Approach. For a fixed $n$, the chart's probability of failing to signal on a given sample once the mean has shifted to $p_1$ is $\beta=P(LCL\le\hat p\le UCL\mid p=p_1)$, approximated with $\hat p\sim N\!\big(p_1,\,p_1(1-p_1)/n\big)$; then $ARL=1/(1-\beta)$. Since $p_1>\bar p$, detection is governed by the upper limit, and $LCL$ stays clipped at $0$ (no real lower signal) until $n$ exceeds the $n=147$ breakeven found in part (b) — well past the $n$ this part turns out to need — so $\beta\approx\Phi\!\big((UCL-p_1)/\sigma_1\big)$ with $\sigma_1=\sqrt{p_1(1-p_1)/n}$. Increasing $n$ tightens $UCL$ toward $\bar p$, which increases the chance of detecting the (higher) shifted mean, so $ARL$ falls monotonically as $n$ grows; the answer is found by scanning $n$ upward for the first value with $ARL<5$.
| Quantity | Result |
|---|---|
| Minimum sample size for $ARL<5$ at $p_1=0.1$ | $n=112$ |
| Resulting $\beta$, $ARL$ at $n=112$ | $\beta=0.799$, $ARL=4.98$ |
| Check at $n=111$ (one below) | $ARL=5.03$ — fails |
| Control limits at $n=112$ | $UCL=0.1238$, $LCL=0$ |