Skip to the content

Topics Covered

Single Sampling Plan Binomial \(P_a\) Poisson Approximation AOQ Computation ATI Computation Graphical AOQL Lot-Quality Approach Average-Quality Approach
On this page
  1. 1. The Single Sampling Plan
  2. 2. Probability of Acceptance — Binomial Method
  3. 3. Probability of Acceptance — Poisson Approximation
  4. 4. Computation of AOQ and ATI
  5. 5. Graphical Determination of AOQL
  6. 6. Determination of a Single Sampling Plan
  7. 7. Double Sampling Plan
  8. Key Take-aways

1. The Single Sampling Plan

DEFINITION

A single sampling plan is specified by two numbers: the sample size \(n\) and the acceptance number \(c\). The procedure is:

  1. Draw a random sample of \(n\) items from the lot of size \(N\).
  2. Inspect all \(n\) items and count the number of defectives \(d\).
  3. If \(d \le c\), accept the lot; if \(d > c\), reject the lot.

Example notation: \(n = 150\), \(c = 3\) means inspect 150 items; accept if 3 or fewer are defective.

2. Probability of Acceptance — Binomial Method

When sampling from a large lot (or with replacement), the number of defectives \(X\) in the sample follows a Binomial distribution:

\[ P(X = x) = \binom{n}{x}\, p^x\, (1-p)^{n-x}, \qquad x = 0, 1, 2, \ldots, n. \]

The probability of acceptance is:

\[ P_a = P(X \le c) = \sum_{x=0}^{c} \binom{n}{x}\, p^x\, (1-p)^{n-x}. \]
EXAMPLE 1 — Binomial \(P_a\) calculation

Plan: \(n = 20\), \(c = 1\). Find \(P_a\) for \(p = 0.05\).

\(P(X = 0) = (0.95)^{20} = 0.3585\).

\(P(X = 1) = \binom{20}{1}(0.05)^1(0.95)^{19} = 20 \times 0.05 \times 0.3774 = 0.3774\).

\(P_a = 0.3585 + 0.3774 = 0.7359\).

Interpretation: a lot with 5% defectives has about a 73.6% chance of being accepted under this plan.

EXAMPLE 2 — Building an OC curve with the Binomial

Same plan: \(n = 20\), \(c = 1\). Compute \(P_a\) for several values of \(p\):

\(p\)\(P_a = P(X \le 1)\)
0.010.983
0.030.880
0.050.736
0.100.392
0.150.176
0.200.069

Plotting these points gives the OC curve. It drops from near 1 to near 0 as \(p\) increases from 0 to 0.20.

3. Probability of Acceptance — Poisson Approximation

WHEN TO USE

When \(n\) is large (\(n \ge 50\)) and \(p\) is small (\(p \le 0.10\)), the Binomial is well approximated by the Poisson distribution with parameter \(\lambda = np\). This greatly simplifies computation, especially before computers were widely available.

\[ P_a = \sum_{x=0}^{c} \frac{e^{-\lambda}\,\lambda^x}{x!}, \qquad \lambda = np. \]
EXAMPLE 1 — Poisson approximation

Plan: \(n = 100\), \(c = 3\). Find \(P_a\) for \(p = 0.02\). \(\lambda = 100 \times 0.02 = 2.0\).

\(P_a = e^{-2}\left(\frac{2^0}{0!} + \frac{2^1}{1!} + \frac{2^2}{2!} + \frac{2^3}{3!}\right) = e^{-2}(1 + 2 + 2 + 1.333) = 0.1353 \times 6.333 = 0.857\).

For \(p = 0.05\): \(\lambda = 5.0\). \(P_a = e^{-5}(1 + 5 + 12.5 + 20.833) = 0.0067 \times 39.333 = 0.265\).

EXAMPLE 2 — Comparing Binomial and Poisson

Plan: \(n = 50\), \(c = 2\), \(p = 0.04\).

Binomial: \(P_a = \sum_{x=0}^{2}\binom{50}{x}(0.04)^x(0.96)^{50-x} = 0.130 + 0.271 + 0.276 = 0.677\).

Poisson: \(\lambda = 2.0\). \(P_a = e^{-2}(1 + 2 + 2) = 0.1353 \times 5 = 0.677\).

The Poisson approximation is excellent in this case.

4. Computation of AOQ and ATI

4.1 AOQ Formula

Assuming rejected lots are 100% inspected and all defectives are replaced:

\[ \text{AOQ} = \frac{P_a \cdot p \cdot (N - n)}{N} \approx P_a \cdot p \quad \text{(when } N \gg n\text{)}. \]

4.2 ATI Formula

\[ \text{ATI} = n + (1 - P_a)(N - n). \]
EXAMPLE 1 — Full AOQ and ATI computation

Plan: \(n = 80\), \(c = 2\), \(N = 3000\). Compute for \(p = 0.03\).

\(\lambda = 80 \times 0.03 = 2.4\). \(P_a = e^{-2.4}(1 + 2.4 + 2.88) = 0.0907 \times 6.28 = 0.570\).

AOQ = 0.570 × 0.03 × (3000 − 80)/3000 = 0.570 × 0.03 × 0.973 = 0.0166 = 1.66%.

ATI = 80 + (1 − 0.570)(3000 − 80) = 80 + 0.430 × 2920 = 80 + 1255.6 = 1335.6.

EXAMPLE 2 — AOQ table for multiple \(p\) values

Plan: \(n = 80\), \(c = 2\), \(N = 3000\). AOQ ≈ \(P_a \cdot p\) (large \(N\)):

\(p\)\(\lambda\)\(P_a\)AOQ
0.010.80.9530.0095
0.021.60.7830.0157
0.032.40.5700.0171
0.043.20.3800.0152
0.054.00.2380.0119
0.064.80.1430.0086

AOQ rises, peaks near \(p = 0.03\), then falls — the characteristic AOQ curve shape. AOQL ≈ 1.71%.

5. Graphical Determination of AOQL

PROCEDURE

Plot AOQ (y-axis) against the lot fraction defective \(p\) (x-axis). The curve rises, reaches a peak, and then declines. The y-value at the peak is the AOQL, and the corresponding x-value is the incoming quality level at which outgoing quality is worst.

Steps

  1. Choose a range of \(p\) values (e.g., 0 to 0.10 in steps of 0.01).
  2. For each \(p\), compute \(P_a\) (using Binomial or Poisson).
  3. Compute \(\text{AOQ} = P_a \cdot p \cdot (N-n)/N\).
  4. Plot AOQ vs \(p\).
  5. Read the peak value — that is the AOQL.
AOQ Curve — plan n = 80, c = 2, N = 3000 2.5%2.0%1.5% 1.0%0.5%0 AOQ = Pₐ·p AOQL ≈ 1.7% 0.020.040.06 0.080.100.12 Incoming lot fraction defective p →
Fig 5.1 — The AOQ curve. When incoming quality is very good (small \(p\)) little gets through; when it is very bad, most lots are rejected and rectified — so outgoing quality is worst at an intermediate \(p\). The height of that peak is the AOQL (≈ 1.7 % here), the worst average outgoing quality the plan can ever produce.
EXAMPLE 1 — Graphical AOQL for \(n = 100\), \(c = 3\)

From the AOQ values in Unit 4 (reproduced), the curve peaks at approximately \(p = 0.03\) with AOQ ≈ 0.0194. Reading from the graph: AOQL ≈ 1.94%. This means that regardless of the supplier's quality, the average outgoing quality will not exceed 1.94% defective.

EXAMPLE 2 — Effect of changing \(c\) on AOQL

For \(n = 100\), using AOQL ≈ \(y_c/n\) with the Dodge–Romig constants (\(y_1 = 0.840\), \(y_3 = 1.946\), \(y_5 = 3.17\)): with \(c = 1\), AOQL ≈ 0.84%; with \(c = 3\), AOQL ≈ 1.94%; with \(c = 5\), AOQL ≈ 3.17%. Increasing the acceptance number raises AOQL (worse outgoing quality guarantee) but reduces the number of lots rejected — a trade-off between quality assurance and inspection cost.

6. Determination of a Single Sampling Plan

6.1 Lot Quality Approach

IDEA

The lot quality approach designs a plan that satisfies two specified points on the OC curve:

Procedure (Poisson Approximation)

We need \(n\) and \(c\) such that:

\[ \sum_{x=0}^{c} \frac{e^{-n p_1}(n p_1)^x}{x!} = 1 - \alpha, \qquad \sum_{x=0}^{c} \frac{e^{-n p_2}(n p_2)^x}{x!} = \beta. \]

Steps

  1. Compute the ratio \(R = p_2 / p_1\).
  2. Using standard tables (or trial-and-error), find the acceptance number \(c\) such that the ratio of the Poisson parameters matches the required ratio.
  3. Once \(c\) is determined, compute \(n\) from either equation: \(n p_1 = \lambda_1\) or \(n p_2 = \lambda_2\).
EXAMPLE 1 — Lot quality approach

Given: AQL = \(p_1 = 0.01\), \(\alpha = 0.05\), LTPD = \(p_2 = 0.05\), \(\beta = 0.10\).

Required ratio \(R = p_2/p_1 = 0.05/0.01 = 5.0\).

From the Poisson unity (Cameron) table, \(\lambda_1 = np\) gives \(P_a = 0.95\) and \(\lambda_2 = np\) gives \(P_a = 0.10\):

\(c\)\(\lambda_1\) (\(P_a=0.95\))\(\lambda_2\) (\(P_a=0.10\))\(\lambda_2/\lambda_1\)
20.8185.3226.51
31.3666.6814.89
41.9707.9944.06

The target ratio 5.0 falls between \(c = 2\) (6.51) and \(c = 3\) (4.89); \(c = 3\) is the closest, so take \(c = 3\).

Then fix \(n\) from the producer's point: \(n = \lambda_1/p_1 = 1.366/0.01 = 136.6 \approx 137\). (Consumer check: \(\lambda_2/p_2 = 6.681/0.05 = 133.6\), consistent.) Plan: \(n = 137\), \(c = 3\).

EXAMPLE 2 — Lot quality approach (different specifications)

Given: AQL = \(p_1 = 0.02\), \(\alpha = 0.05\), LTPD = \(p_2 = 0.08\), \(\beta = 0.10\). Required ratio \(R = 0.08/0.02 = 4.0\).

From the Cameron table: \(c = 4\) gives \(\lambda_1 = 1.970\), \(\lambda_2 = 7.994\), ratio ≈ 4.06 (essentially 4.0); \(c = 5\) gives ratio ≈ 3.55 (too low). So take \(c = 4\).

\(n = \lambda_1/p_1 = 1.970/0.02 = 98.5 \approx 99\). (Consumer check: \(\lambda_2/p_2 = 7.994/0.08 = 99.9\), consistent.) Plan: \(n = 99\), \(c = 4\).

6.2 Average Quality Approach

IDEA

The average quality approach designs a plan that ensures the AOQL does not exceed a specified value \(p_L\). It does not require specifying both AQL and LTPD — instead, the focus is on the worst-case average outgoing quality the consumer will receive.

Procedure

  1. Specify the desired AOQL value \(p_L\).
  2. Choose an acceptance number \(c\) (often 0, 1, 2, 3 for simplicity).
  3. Using the relationship between AOQL and the plan parameters (from standard tables or the Dodge–Romig tables), determine \(n\) such that the maximum of the AOQ curve equals \(p_L\).
  4. The key relationship: for a given \(c\), the product \(n \times \text{AOQL}\) is approximately a constant \(y_c\) (tabulated by Dodge and Romig):
\[ n \approx \frac{y_c}{p_L} \cdot \frac{1}{1 - n/N}, \]

where \(y_c\) is a constant that depends on \(c\) (e.g., \(y_0 = 0.368\), \(y_1 = 0.840\), \(y_2 = 1.372\), \(y_3 = 1.946\)).

EXAMPLE 1 — Average quality approach

Desired AOQL = 2%, lot size \(N = 5000\). Choose \(c = 2\). Then \(y_2 = 1.372\).

Approximation: \(n \approx y_2 / p_L = 1.372 / 0.02 = 68.6 \approx 69\).

With \(n/N = 69/5000 = 0.0138\), the correction factor is negligible. Plan: \(n = 69\), \(c = 2\), AOQL ≈ 2%.

EXAMPLE 2 — Comparing \(c = 0\) and \(c = 2\) for same AOQL

AOQL = 3%, \(N = 3000\).

For \(c = 0\): \(y_0 = 0.368\). \(n = 0.368/0.03 = 12.3 \approx 13\). Plan: \(n = 13\), \(c = 0\).

For \(c = 2\): \(y_2 = 1.372\). \(n = 1.372/0.03 = 45.7 \approx 46\). Plan: \(n = 46\), \(c = 2\).

The \(c = 0\) plan has a much smaller sample but a very steep OC curve (almost no lots accepted if \(p\) is even slightly above zero). The \(c = 2\) plan is more forgiving — it accepts good-quality lots with high probability but requires a larger sample. The choice depends on the cost of inspection versus the cost of rejecting good lots.

7. Double Sampling Plan

A double sampling plan allows a second sample before deciding on a lot. It is defined by \((n_1, c_1, r_1;\ n_2, c_2)\):

  1. Draw a first sample of \(n_1\); let \(d_1\) be the number of defectives.
  2. If \(d_1 \le c_1\), accept the lot; if \(d_1 \ge r_1\), reject it.
  3. If \(c_1 < d_1 < r_1\), draw a second sample of \(n_2\); accept if the combined defectives \(d_1 + d_2 \le c_2\), otherwise reject.

A clear first sample often decides the lot on a small \(n_1\), so on average fewer items are inspected than under a single plan of equal protection. This average is the Average Sample Number:

\[ \text{ASN} = n_1 + n_2\,P(\text{second sample needed}),\qquad P(\text{2nd}) = P(c_1 < d_1 < r_1). \]
EXAMPLE

Plan \((n_1 = 50, c_1 = 1, r_1 = 4;\ n_2 = 50, c_2 = 4)\) at \(p = 0.05\) (so \(m_1 = n_1 p = 2.5\), Poisson). Probability of needing a second sample \(= P(2 \le d_1 \le 3) = 0.470\), so

\(\text{ASN} = 50 + 50(0.470) = 73.5\) items — on average below the 100 that a comparable single plan of \(n = 50 + 50\) would always inspect. A note on sequential sampling: taking this idea to the limit (deciding after each item) minimises ASN further.

Key Take-aways