Probability Applications in Quality EngineeringIntroductionQuality engineering converts variation into evidence for action. Every production process contains randomness arising from materials, machines, operators, measurement systems, environment, and interactions among them. Probability provides the language for describing this randomness and for deciding whether observed evidence indicates ordinary process variation or an assignable cause. In Total Quality Management, probability is not merely a mathematical topic. It supports statistical process control (SPC), control-chart design, process capability analysis, acceptance sampling, measurement uncertainty, defect prediction, reliability-oriented decisions, and yield improvement. The central managerial question is usually not “Is the process random?” but rather “Given the available evidence, what action minimizes quality and economic risk?” This chapter develops the principal probability applications needed by quality professionals. It emphasizes assumptions, interpretation, and the consequences of model misuse. Learning ObjectivesAfter studying this chapter, the reader should be able to: - Model quality observations using appropriate probability distributions.
- Explain false alarms, missed signals, and average run length in SPC.
- Calculate and interpret process capability and expected nonconformance.
- Design and evaluate acceptance-sampling decisions using producer’s and consumer’s risks.
- Distinguish measurement variation from true process variation and express measurement uncertainty.
- Predict defects and yield using binomial, Poisson, and related models.
- Optimize yield while considering inspection, rework, cost, and risk.
- Critically evaluate assumptions, dependence, model uncertainty, and ethical implications.
1. Probability as a Quality-Engineering FrameworkLet X denote a quality characteristic, such as shaft diameter, tensile strength, fill volume, or cycle time. A probability model specifies the possible values of X and their likelihoods. For continuous measurements, a probability density function f(x) describes relative likelihood; for discrete counts, a probability mass function gives probabilities directly. The expected value and variance are defined by: E(X) = μ = ∑ x p(x) (discrete) and Var(X) = σ² = E[(X − μ)²] For a continuous variable, summation is replaced by integration. μ has the same units as X, while σ² has squared units and σ has the original units. Variance measures dispersion, not necessarily process instability. The normal model is often useful for measurements influenced by many small effects: f(x) = [1/(σ√(2π))] exp[−(x − μ)²/(2σ²)] It assumes a continuous variable, stable parameters, and an approximately symmetric distribution. It is not automatically appropriate for bounded, heavily skewed, multimodal, or count data. The standardized variable is: Z = (X − μ)/σ If X is normally distributed, Z follows a standard normal distribution. Specification limits are denoted by LSL and USL. The probability of nonconformance is: P(X < LSL) + P(X > USL) For a normal distribution this becomes: P(NC) = Φ[(LSL − μ)/σ] + 1 − Φ[(USL − μ)/σ] where Φ is the standard normal cumulative distribution function. This formula assumes a stable normal process and known or suitably estimated parameters. Important Distributions in Quality| Distribution | Typical quality application | Key assumptions |
|---|
| Bernoulli | One unit is conforming or nonconforming | Two outcomes, common probability p | | Binomial | Number of defectives in n units | Fixed n, independent trials, common p | | Poisson | Defects per unit or opportunity | Independent rare events, constant rate λ | | Normal | Continuous dimensions and measurements | Approximate symmetry and stable variation | | Exponential | Time between events or failures | Constant event rate and memorylessness | | Hypergeometric | Sampling without replacement from a finite lot | Known finite lot composition |
A defective unit fails at least one requirement; a defect is an individual nonconformity. One unit may contain several defects, so “defect rate” and “defective-unit rate” must not be confused. 2. Statistical Process Control and ProbabilitySPC distinguishes common-cause variation, inherent in a stable system, from special-cause variation, arising from a specific change or disturbance. A control chart is a sequential hypothesis-testing device. The in-control hypothesis is that the process follows its baseline distribution; a signal prompts investigation rather than automatically proving that a defect has occurred. 2.1 Shewhart Control LimitsFor subgroup means with subgroup size n, known process mean μ and standard deviation σ, the standard deviation of the mean is σ/√n. Three-sigma limits are therefore: UCL = μ + 3σ/√n CL = μ LCL = μ − 3σ/√n For individual observations, n = 1. In practice, μ and σ are usually estimated from baseline data. Estimated limits are subject to sampling uncertainty, and the chart should not be recalculated after every signal without investigating the cause. If the process is stable and normal, the probability that one observation falls outside three-sigma limits is approximately 0.0027. Thus the false-alarm probability per independent plotted point is approximately 0.0027, and the corresponding in-control average run length is: ARL₀ = 1/α where α is the probability of a signal at each plotted point. For a three-sigma chart, ARL₀ ≈ 370 observations, under independence and correct limits. This result is often misinterpreted. An ARL of 370 does not mean that a signal occurs exactly every 370 observations. It is a geometric random variable’s mean; some signals occur early and others much later. 2.2 Average Run LengthAverage run length (ARL) is the expected number of plotted observations until a chart signals. For independent observations and a constant signal probability p: ARL = 1/p There are two important cases: - ARL₀: expected run length when the process is in control.
- ARL₁: expected run length after a specified shift or other assignable condition.
A useful chart must have a large ARL₀ and a small ARL₁ for practically important shifts. These objectives conflict: tighter limits detect shifts faster but generate more false alarms. For a two-sided Shewhart chart with limits at ±k standard errors, the one-point signal probability after a standardized mean shift δ is: p(δ) = 1 − Φ(k − δ) + Φ(−k − δ) where δ = (μ₁ − μ₀)/(σ/√n), μ₀ is the baseline mean, and μ₁ is the shifted mean. Hence ARL₁ = 1/p(δ), assuming independent subgroups and a persistent shift. Worked Example: ARL After a Mean ShiftA chart uses three-sigma limits, so k = 3. A subgroup mean shifts upward by 1.5 standard errors, giving δ = 1.5. The signal probability is: p = 1 − Φ(3 − 1.5) + Φ(−3 − 1.5) ≈ 1 − Φ(1.5) + Φ(−4.5) ≈ 0.0668 + 0.000003 ≈ 0.0668 Therefore: ARL₁ ≈ 1/0.0668 ≈ 15 subgroups The chart is much slower at detecting this moderate shift than a large shift. Western Electric or Nelson supplementary rules, cumulative-sum (CUSUM) charts, and exponentially weighted moving-average (EWMA) charts can improve sensitivity to small or sustained shifts, but they require careful control of false alarms and dependence among successive signals. 3. Process Capability and Expected NonconformanceA stable process is a prerequisite for meaningful capability analysis. Capability indices summarize the relationship between process spread, centering, and specification limits. The potential capability index is: Cp = (USL − LSL)/(6σ) Cp measures the width of the specification interval relative to six standard deviations. It ignores centering. The centered capability index is: Cpk = min[(USL − μ)/(3σ), (μ − LSL)/(3σ)] Cp and Cpk are dimensionless. They assume quantitative specifications, a stable process, and an approximately normal distribution unless a validated non-normal method is used. A process may have high Cp but low Cpk if its mean is close to one specification limit. Worked Example: CapabilitySuppose USL = 10.10 mm, LSL = 9.90 mm, μ = 10.04 mm, and σ = 0.02 mm. Cp = (10.10 − 9.90)/(6 × 0.02) = 0.20/0.12 = 1.67 The upper and lower components are: Cpu = (10.10 − 10.04)/(3 × 0.02) = 1.00 Cpl = (10.04 − 9.90)/(3 × 0.02) ≈ 2.33 Thus Cpk = 1.00. The process has adequate potential spread but is poorly centered toward the upper limit. Reducing variation alone is not the first priority; centering the process is likely to yield greater improvement. Capability indices do not establish compliance by themselves. Confidence intervals may be needed because μ and σ are estimated. Autocorrelation, stratification, non-normality, and mixture distributions can make conventional indices misleading. For non-normal data, engineers may use transformations, percentile-based indices, or distribution-free methods, but the method must match the physical process and decision purpose. 4. Acceptance Sampling and RiskAcceptance sampling is a decision procedure for accepting or rejecting a lot based on a sample. It is not a substitute for process control or prevention. Its value is greatest when inspection of every unit is costly, destructive, or impractical. For a sample of n units inspected with acceptance number c, a lot is accepted when the observed number of defectives is at most c. If the lot’s defective probability is p and sampling is treated as independent, the probability of acceptance is: Pa(p) = ∑[i=0 to c] C(n,i)pi(1 − p)^(n−i) This is the binomial operating characteristic (OC) curve. For sampling without replacement from a finite lot, the hypergeometric distribution is more appropriate. The producer’s risk α is the probability of rejecting a lot at an acceptable quality level (AQL). The consumer’s risk β is the probability of accepting a lot at a limiting or unacceptable quality level (LQL, RQL, or LTPD). A complete plan should specify both quality levels and their associated risks. Worked Example: Single Sampling PlanConsider n = 50 and c = 1. At p = 0.01, the probability of acceptance is: Pa = P(0) + P(1) = (0.99)50 + 50(0.01)(0.99)49 ≈ 0.6050 + 0.3056 ≈ 0.9106 At a one-percent defective rate, the plan accepts approximately 91.1% of lots. Consequently, its rejection probability is about 8.9%, which may represent producer’s risk if one percent is designated AQL. The plan’s adequacy cannot be judged from this point alone; its OC curve must be examined at both acceptable and unacceptable quality levels. When sampling from a lot of N units without replacement, the probability of observing i defectives in a sample of n from a lot containing D defectives is: P(X = i) = [C(D,i) C(N − D,n − i)]/C(N,n) The hypergeometric model becomes close to binomial when the sample is a small fraction of a very large lot, but this approximation should not be assumed for small lots or large sampling fractions. 5. Measurement Uncertainty and Decision RiskA measured value is not the true value. It is a result affected by repeatability, reproducibility, calibration, resolution, environmental conditions, operator technique, and model assumptions. If a measurement is written as: Y = X + E then Y is the observed result, X is the measurand’s underlying value, and E is measurement error. A basic variance model is: σ²Y = σ²X + σ²E when process variation and measurement error are independent. If covariance exists, the general relationship is: Var(X + E) = Var(X) + Var(E) + 2Cov(X,E) Ignoring measurement variation can exaggerate process capability and cause incorrect acceptance decisions. A common gauge capability screening measure is the precision-to-tolerance ratio: %P/T = 100 × (6σgauge)/(USL − LSL) where σ_gauge is the standard deviation attributable to the measurement system. This is a descriptive measure, not a universal pass/fail law; organizational or sector-specific criteria must be stated. For a combined standard uncertainty with independent components uᵢ and sensitivity coefficients cᵢ: uc = √[∑(cᵢuᵢ)²] An expanded uncertainty is commonly reported as: U = k uc where k is a coverage factor selected according to the desired coverage and degrees-of-freedom analysis. The result should be reported with the measurement value, units, coverage factor, and coverage statement. Decision rules matter. If a measured dimension lies close to a specification boundary, accepting whenever the point estimate is inside the limit may create substantial false-acceptance risk. Guard bands, conformity intervals, and explicit customer or regulatory rules can make this risk transparent. 6. Defect Prediction and YieldFor n independent opportunities, each with defect probability p, the number of defectives D follows a binomial distribution: P(D = d) = C(n,d)pd(1 − p)^(n−d) Its mean and variance are np and np(1 − p), respectively. The model requires a fixed number of trials, common p, and independence. In real processes, defect probabilities may vary by unit or be correlated; then a beta-binomial, hierarchical, or reliability model may be more appropriate. For rare defects across a large number of opportunities, the Poisson model is often useful: P(D = d) = e^(−λ) λd/d! where λ is the expected number of defects per defined unit. The probability of at least one defect is: P(D ≥ 1) = 1 − e^(−λ) For multiple independent process stages with yields Y₁, Y₂, …, Y_m, the rolled throughput yield (RTY) is: RTY = ∏[j=1 to m] Yⱼ This is the probability that a unit passes every stage without rework, assuming the stage outcomes are appropriately defined and independent. If rework loops or dependence are material, a process-flow or Markov model is preferable. Worked Example: Yield Loss Across StagesThree stages have first-pass yields of 0.98, 0.95, and 0.99. Then: RTY = 0.98 × 0.95 × 0.99 = 0.92169 Thus approximately 92.17% of units pass all three stages on the first attempt. The result shows why a seemingly small loss at each stage can produce a substantial total loss. Improving the 95% stage may generate more benefit than improving an already strong stage, but cost, criticality, and improvement feasibility must also be considered. 7. Yield Optimisation and Economic DecisionsProbability-based improvement should connect technical performance to cost and customer risk. A simplified expected-cost model is: E(C) = Cprevention + Cappraisal + Cfailure × P(failure) where prevention costs reduce the underlying defect probability, appraisal costs provide information, and failure costs include scrap, rework, warranty, liability, and reputation. The model is useful for comparison but may omit nonlinear effects and intangible consequences. Optimization may involve selecting process settings θ to maximize expected yield: maximise Y(θ) = P(LSL ≤ X(θ) ≤ USL) subject to safety, cost, capacity, environmental, and regulatory constraints. If X(θ) is normal with mean μ(θ) and standard deviation σ(θ), then: Y(θ) = Φ[(USL − μ(θ))/σ(θ)] − Φ[(LSL − μ(θ))/σ(θ)] The optimum is not always the setting with the highest yield. A robust setting may have slightly lower nominal yield but much lower sensitivity to noise factors, supplier variation, or equipment drift. Design of experiments, response-surface methods, robust parameter design, and Bayesian optimization can support such decisions, provided that data quality and extrapolation limits are respected. 8. Applied Case: Precision Filling LineThe following is an illustrative case, not a report of a particular company. BackgroundA pharmaceutical filling line targets 100.0 mL with specification limits of 99.0 and 101.0 mL. A subgroup of five fills is sampled every 30 minutes. The historical process standard deviation is 0.20 mL, and the process mean is initially 100.35 mL. ProblemAlthough the nominal variation appears small, the process produces excess upper-tail failures. Operators also report that the balance is recalibrated inconsistently, creating uncertainty about the true mean. AnalysisThe capability indices are: Cp = (101.0 − 99.0)/(6 × 0.20) = 1.67 Cpu = (101.0 − 100.35)/(3 × 0.20) = 1.08 Cpl = (100.35 − 99.0)/(3 × 0.20) = 2.25 Therefore Cpk = 1.08. The major weakness is centering, not spread. A three-sigma upper-tail probability is approximately 1 − Φ(3.25) ≈ 0.0006, while the lower-tail probability is negligible under the normal model. However, these estimates are conditional on a stable and correctly calibrated measurement system. The team conducts a gauge study, standardizes calibration, and obtains an estimated measurement standard deviation of 0.08 mL. Because measurement error is not negligible relative to the process variation, the team separates gauge and process components rather than treating all observed variation as process variation. A controlled adjustment moves the mean to 100.05 mL while preserving σ = 0.20 mL. The revised indices are: Cpu = (101.0 − 100.05)/(0.60) ≈ 1.58 Cpl = (100.05 − 99.0)/(0.60) = 1.75 Thus Cpk ≈ 1.58, a major improvement. The team then uses an individuals chart for continuous monitoring and a defect-count chart for confirmed fill failures. Acceptance sampling is retained only for incoming containers, not as a replacement for line control. Outcome and Learning PointsThe principal improvement came from correcting centering and measurement governance rather than simply tightening inspection. The case illustrates five lessons: capability requires stability; Cp can conceal poor centering; measurement error affects decisions; different data types require different charts; and prevention is generally more effective than sorting after production. 9. Limitations, Governance, and Contemporary PracticeProbability models are conditional representations, not reality itself. Important limitations include non-independence, autocorrelation, changing process parameters, rare-event data scarcity, selection bias, and unrecognized mixtures. A process may appear stable because the charting method is insensitive, or appear unstable because rational subgroups were poorly formed. Quality professionals should document data definitions, sampling frequency, measurement traceability, distributional assumptions, parameter-estimation methods, and decision rules. Statistical significance should not replace engineering significance: a tiny shift may be statistically detectable but economically irrelevant, while a modest shift may be unacceptable in a safety-critical application. AI and machine learning can improve defect prediction through anomaly detection, image classification, and predictive maintenance. However, probability estimates from AI systems require calibration, validation on representative data, monitoring for concept drift, and human oversight. Black-box scores should not be treated as certified probabilities without evidence. Training data may encode supplier, operator, or demographic bias, and automated rejection can create serious fairness, safety, and liability concerns. Contemporary best practice combines SPC with measurement-system analysis, risk-based sampling, digital traceability, Bayesian updating where prior knowledge is defensible, and process models that account for dependence. Bayesian inference is especially useful when data are limited, but prior assumptions must be disclosed and sensitivity-tested. In regulated environments, changes to sampling, algorithms, or decision thresholds require documented validation and change control. Chapter SummaryProbability enables quality engineers to quantify variation, distinguish common and special causes, and make decisions under uncertainty. Normal models support continuous measurements when their assumptions are credible; binomial and Poisson models support defect and opportunity counts; and the hypergeometric model is appropriate for finite-lot sampling without replacement. SPC uses signal probabilities to characterize false alarms and detection speed through ARL₀ and ARL₁. Capability indices compare process spread and centering with specifications but require a stable, appropriately modeled process. Acceptance sampling balances producer’s and consumer’s risks through an OC curve. Measurement uncertainty must be separated from process variation, especially near specification limits. Finally, yield optimization should integrate probability, process economics, robustness, and governance rather than relying on inspection alone. Key TermsProbability model: A mathematical representation of uncertain outcomes and their likelihoods. Common-cause variation: Inherent variation produced by the ordinary process system. Special-cause variation: Variation associated with a specific, identifiable disturbance. Statistical process control: Use of statistical methods to monitor and improve process stability. Control limit: A statistically calculated boundary used to identify unusual process behavior. Average run length: Expected number of plotted observations before a control-chart signal. ARL₀: Average run length when the process is in control. ARL₁: Average run length after a specified process change. Process capability: Relationship between process performance and specification requirements. Cp: Potential capability index based on specification width and process spread. Cpk: Capability index incorporating process centering. Acceptance sampling: Lot-decision procedure based on inspection of a sample. Operating characteristic curve: Relationship between lot quality and probability of acceptance. Producer’s risk: Probability of rejecting a lot at an acceptable quality level. Consumer’s risk: Probability of accepting a lot at an unacceptable quality level. Measurement uncertainty: Quantified doubt associated with a measurement result. Defect: An individual failure to meet a requirement. Defective: A unit containing one or more defects that makes it nonconforming. Rolled throughput yield: Probability that a unit passes all process stages without rework. Guard band: Decision margin used to control conformity-decision risk. Review QuestionsShort Answer Questions- Distinguish common-cause variation from special-cause variation.
- What does ARL₀ measure, and why is it not a guaranteed signal interval?
- Why can Cp be high while Cpk is low?
- Distinguish a defect from a defective unit.
- Why should measurement uncertainty be considered near a specification limit?
Long Answer Questions- Explain the assumptions behind a three-sigma Shewhart chart and discuss how violations of independence affect its ARL.
- Derive and interpret the binomial acceptance probability for a single-sampling plan.
- Compare binomial, Poisson, normal, and hypergeometric models in quality engineering.
- Explain how measurement-system variation influences capability analysis and conformity decisions.
- Discuss why rolled throughput yield is more informative than examining only the final inspection yield.
Analytical / Application Questions- A stable normal process has USL = 50.6, LSL = 49.4, μ = 50.2, and σ = 0.15. Calculate Cp and Cpk, identify the primary improvement priority, and estimate the upper-tail standardized distance.
- A sampling plan uses n = 40 and c = 0. Derive the probability of acceptance at p = 0.02 and explain the associated consumer or producer risk once the designated quality level is specified.
- A four-stage process has first-pass yields of 0.97, 0.96, 0.995, and 0.98. Calculate RTY, identify the largest multiplicative loss, and recommend what additional information is needed before selecting an improvement project.
Multiple Choice Questions with AnswersQuestion 1For an in-control three-sigma Shewhart chart with independent observations, the approximate ARL₀ is: A. 3 B. 37 C. 270 D. 370 Correct Answer: D. 370 Question 2If Cp = 1.80 and Cpk = 0.95, the most appropriate interpretation is that the process is: A. Well centered with excessive spread B. Potentially capable in spread but poorly centered C. Unstable by definition D. Non-normal by definition Correct Answer: B. Potentially capable in spread but poorly centered Question 3For a binomial model, which condition is required? A. The number of trials is random and unbounded B. Trials have a common probability and are independent C. Sampling must always be without replacement D. The measured variable must be continuous Correct Answer: B. Trials have a common probability and are independent Question 4A lot contains a finite population and sampling is performed without replacement. Which model is generally most appropriate? A. Normal B. Poisson C. Hypergeometric D. Exponential Correct Answer: C. Hypergeometric Question 5For a constant signal probability p at each independent observation, ARL is: A. p B. 1 − p C. 1/p D. p² Correct Answer: C. 1/p Question 6If three independent stages have first-pass yields 0.98, 0.95, and 0.99, their rolled throughput yield is approximately: A. 0.9217 B. 0.9500 C. 0.9700 D. 0.9980 Correct Answer: A. 0.9217 Question 7Which index explicitly accounts for process centering relative to both specification limits? A. Cp B. Cpk C. ARL₀ D. P/T Correct Answer: B. Cpk Question 8The probability of at least one event under a Poisson model with mean λ is: A. e^(−λ) B. λe^(−λ) C. 1 − e^(−λ) D. 1 − λ Correct Answer: C. 1 − e^(−λ) Question 9A three-sigma chart has an approximate per-point false-alarm probability of 0.0027. Its in-control ARL is approximately: A. 3.7 B. 27 C. 270 D. 370 Correct Answer: D. 370 Question 10Which action most directly reduces the risk of treating measurement error as process variation? A. Increase the specification width B. Conduct a measurement-system study C. Ignore readings near the limit D. Use a larger acceptance number Correct Answer: B. Conduct a measurement-system study
|