23-Ind-A5 Quality Planning, Control, and Assurance · December 2018
Nivaar worked solution (AI-drafted; not reviewed by a licensed engineer)
Reference texts: Montgomery, Introduction to Statistical Quality Control (8th ed.) — cost of quality, quality management systems, control charts for variables and attributes, process capability, acceptance sampling (MIL-STD-105E, Dodge-Romig), and Taguchi/design-of-experiments methods for quality improvement (the primary text for every part of this paper); 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 ($\alpha$, a false alarm) is concluding the process is out of control when it is actually still in control. Its practical cost is an unnecessary process stoppage and investigation — wasted engineering/operator time chasing a cause that does not exist, and, if someone "corrects" an in-control process anyway, tampering that can actually increase variability (Deming's funnel experiment). A Type II error ($\beta$, a missed signal) is concluding the process is in control when it has actually shifted. Its practical cost is that out-of-specification product keeps being produced and shipped undetected, so the cost of nonconformance keeps accumulating — often escalating from an internal to a far more expensive external failure cost — until the shift is eventually caught by the chart or by a customer complaint. The two errors trade off directly: narrowing the control limits (e.g. $2\sigma$ instead of $3\sigma$) lowers $\beta$ (shifts are caught sooner) but raises $\alpha$ (more false alarms); the conventional $3\sigma$ limit is the standard compromise between the two costs.
The Western Electric zone rules (one point beyond $3\sigma$; two of three consecutive points beyond $2\sigma$ on the same side; four of five beyond $1\sigma$ on the same side; eight consecutive points on one side of the centre line) supplement the basic $3\sigma$ test by treating non-random patterns, not just single extreme points, as signals. This makes the chart substantially more sensitive to small, sustained shifts — it lowers $\beta$ for shifts that a lone $3\sigma$ test would take a long time to catch — but it does so at the cost of a higher combined false-alarm rate: the nominal single-point rate of about 0.27% rises to roughly 2% once all four rules are applied simultaneously to a genuinely in-control process, because there are now many more ways for the chart to signal by chance alone.
Given. All units produced are inspected each day; both the units inspected and the nonconforming count vary day to day:
| Day | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
|---|---|---|---|---|---|---|---|---|---|---|
| Units inspected $n_i$ | 70 | 100 | 100 | 70 | 100 | 100 | 70 | 100 | 100 | 70 |
| Nonconforming $D_i$ | 3 | 0 | 6 | 8 | 5 | 2 | 0 | 5 | 10 | 0 |
Find. The $p$-chart (individual limits at each day's own $n_i$), the estimated in-control fraction nonconforming, whether revision is needed, and the smallest constant $n$ that gives a strictly positive LCL.
Approach. With sample size varying day to day, the centre line uses the pooled estimate $\bar p=\sum D_i/\sum n_i$, and the control limits must be recomputed at each day's own $n_i$: $UCL_i=\bar p+3\sqrt{\bar p(1-\bar p)/n_i}$, $LCL_i=\max\!\big(0,\ \bar p-3\sqrt{\bar p(1-\bar p)/n_i}\big)$.
Whether to delete the zero-count days (2, 7, 10) because they coincide with $LCL=0$: no. When $\bar p$ is small enough that the $3\sigma$ lower limit computes to a negative number, the limit is clamped at $LCL=0$ because a fraction cannot be negative — a plotted point of exactly zero nonconforming units then lies at or inside that clamped floor, not below it. Zero defectives is a legitimate, desirable outcome of an in-control (or better-than-typical) day, not evidence of an assignable cause; deleting those good days would bias $\bar p$ upward and understate the process's true capability. (This is the mirror image of a genuine point above the UCL, which IS removed as an assignable cause during a revision pass.)
| Quantity | Result |
|---|---|
| Pooled fraction nonconforming $\bar p$ | 0.0443 (4.43%) |
| Control limits at $n=70$ | $UCL=0.1181$, $LCL=0$ |
| Control limits at $n=100$ | $UCL=0.1061$, $LCL=0$ |
| Out-of-control days | none — chart is in control, no revision |
| Delete the zero-count days? | No — $LCL=0$ is a clamped floor, not a signal |
| Smallest $n$ for a positive LCL | $n=195$ |
Given. Baseline (in-control) $p_0=\bar p=0.04432$ from part (b); a future shift to $p_1=0.12$; require $P(\text{detected by the 1st, 2nd, or 3rd sample})\ge0.6$, using a fixed sample size $n$ for every future sample.
Find. The minimum $n$.
Approach. With control limits fixed at $UCL(n)=p_0+3\sqrt{p_0(1-p_0)/n}$ (and $LCL(n)=0$ for the $n$ values in play here), each future sample independently has some probability $p_d(n)$ of signalling once the true fraction has shifted to $p_1$; the probability of detecting the shift within the first 3 samples is $1-(1-p_d)^3$. Using the standard normal (OC-curve) approximation for the shifted sample proportion's own sampling distribution, $p_d(n)=1-\Big[\Phi\big(\tfrac{UCL(n)-p_1}{\sigma_1(n)}\big)-\Phi\big(\tfrac{LCL(n)-p_1}{\sigma_1(n)}\big)\Big]$ with $\sigma_1(n)=\sqrt{p_1(1-p_1)/n}$, this is monotonic in $n$ and can be scanned directly.
$$\boxed{n=25}$$
| Quantity | Result |
|---|---|
| Required single-sample $p_d$ | $\ge0.2632$ |
| $n=24$: $UCL$, $p_d$, $P(\text{detect}\le3)$ | 0.1703, 0.2592, 0.5934 (fails) |
| $n=25$: $UCL$, $p_d$, $P(\text{detect}\le3)$ | 0.1678, 0.2635, 0.6004 (meets) |
| Minimum fixed sample size | $n=25$ |