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.
SPC tools (control charts together with the other "magnificent seven" — Pareto diagrams, cause-and-effect diagrams, check sheets, histograms, scatter diagrams and defect-concentration diagrams) reduce process variability and instability by separating common-cause variation, which is the process's own stable, irreducible spread, from special-cause variation, which is an assignable, removable disturbance. A control chart makes that separation visible in real time: every point beyond the control limits, or every non-random pattern flagged by the zone rules, is a signal to investigate and permanently remove an assignable cause. Repeating this find-and-remove cycle steadily strips special causes out of the process, so both its instability (fewer shifts, trends and drifts) and, because each removed special cause was itself adding variance, its underlying variability fall over time — the process converges toward its natural, common-cause-only capability.
An attribute chart needs only one chart because the discrete distribution behind it (binomial for $p$/$np$, Poisson for $c$/$u$) has a single parameter that fixes both its mean and its variance at once — e.g. for the binomial, mean $=np$ and variance $=np(1-p)$ are both determined by $p$ alone. Monitoring the mean (the proportion or count) therefore automatically monitors the spread; there is nothing independent left for a second chart to track. A variable (a continuous measurement) has its location (mean) and its spread (variance) as two separately estimated parameters of, typically, a normal distribution — the process can shift in mean while its spread stays fixed, or vice versa — so two charts are required: one to track central tendency ($\bar X$, or individuals for $n=1$) and one to track dispersion ($R$, $S$, or moving range).
Between $R$ and $S$: the range uses only the largest and smallest of the $n$ sample values, ignoring everything in between, so its efficiency as an estimator of $\sigma$ falls off quickly as $n$ grows past about 10; $S$ (the sample standard deviation) uses every observation and remains a statistically efficient estimator at any $n$, including when $n$ varies from sample to sample (where $R$'s $d_2$-based conversion becomes awkward). $R$'s only real advantage is that it is trivial to compute by hand, which is why it was historically preferred for small, constant-$n$, shop-floor charts; once data collection and charting are automated, that advantage disappears and $S$ — being the more efficient, more generally applicable estimator — is the preferable chart.
Given. Fifteen consecutive shift samples of $n=5$ parts each; the sample average and range are recorded per shift:
| Shift | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
|---|---|---|---|---|---|---|---|---|
| $\bar x$ (g) | 2040 | 2008 | 2030 | 2058 | 2047 | 2025 | 2041 | 2025 |
| $R$ (g) | 10 | 19 | 18 | 30 | 6 | 2 | 18 | 31 |
| Shift | 9 | 10 | 11 | 12 | 13 | 14 | 15 | |
| $\bar x$ (g) | 2042 | 2030 | 2028 | 2038 | 2024 | 2035 | 2038 | |
| $R$ (g) | 22 | 32 | 4 | 38 | 4 | 8 | 22 |
For $n=5$: $A_2=0.577$, $D_3=0$, $D_4=2.114$, $d_2=2.326$.
Find. Trial and (if needed) revised control limits for both charts, and the resulting in-control process mean $\hat\mu_0$ and standard deviation $\hat\sigma_0$.
Approach. Standard two-stage procedure: establish the $R$-chart's own trial limits first and remove any assignable-cause range before the $\bar X$ limits are computed from it (an inflated $R$ would otherwise widen the $\bar X$ limits and mask a real mean shift), then trial the $\bar X$ chart on the $R$-clean data and revise it in turn.
| Quantity | Result |
|---|---|
| $R$-chart trial limits ($n=15$) | $UCL=37.21$, $CL=17.60$ g; shift 12 out of control |
| $R$-chart revised limit ($n=14$) | $UCL=34.13$, $CL=16.14$ g — clean |
| $\bar X$-chart trial limits ($n=14$) | $UCL=2042.96$, $CL=2033.64$, $LCL=2024.33$ g; shifts 2, 4, 5, 13 out of control |
| $\bar X$-chart final limits ($n=10$) | $UCL=2043.04$, $CL=2033.40$, $LCL=2023.76$ g — clean |
| $R$-chart final limit ($n=10$) | $UCL=35.30$ g — clean |
| In-control process mean $\hat\mu_0$ | 2033.4 g |
| In-control process std. dev. $\hat\sigma_0$ | 7.18 g |
Given. 3-sigma $\bar X$ limits ($k=3$); require $ARL_{\mu_1}\ge100$ for any shift with $|\mu_1-\mu_0|\le0.25\sigma$, and simultaneously $\beta(\mu_2)\le0.3$ for any shift with $|\mu_2-\mu_0|>1.2\sigma$; the only free design variable is the sample size $n$.
Find. The sample size $n$ that satisfies both requirements.
Approach. For 3-sigma limits, the probability that one sample signals when the true shift is $\delta\sigma$ is $p(\delta,n)=1-\big[\Phi(3-\delta\sqrt n)-\Phi(-3-\delta\sqrt n)\big]$, with $ARL=1/p$ and $\beta=1-p$. Because $p$ is monotonically increasing in $n$ for fixed $\delta$, the small-shift requirement ($ARL\ge100$ at $\delta=0.25$, i.e. $p\le0.01$ at the worst case $\delta=0.25$) bounds $n$ from above, while the large-shift requirement ($\beta\le0.3$ at $\delta=1.2$, i.e. $p\ge0.7$ at the worst case $\delta=1.2$) bounds $n$ from below — the two pull in opposite directions, since a bigger sample makes the chart more sensitive to every shift, small and large alike. Solve each boundary in closed form, then check whether the two bounds actually overlap.
| Quantity | Result |
|---|---|
| Upper bound on $n$ (small-shift ARL$\ge100$) | $n\le7.26$ |
| Lower bound on $n$ (large-shift $\beta\le0.3$) | $n\ge8.63$ |
| Feasibility | Infeasible — no single $n$ meets both |
| $n=7$: $ARL(0.25\sigma)$, $\beta(1.2\sigma)$ | 102.0 (meets), 0.431 (fails) |
| $n=9$: $ARL(0.25\sigma)$, $\beta(1.2\sigma)$ | 81.2 (fails), 0.274 (meets) |
| Recommended design | $n=9$ (prioritizes catching the real shift) |