All 63 questions UPSC has asked on acceptance sampling in the Statistics Optional (Paper II, Industrial Statistics) from 1995 to 2026, solved step by step – latest first.
Try them yourself first: the same questions, without solutions, are on our Industrial Statistics topic-wise PYQs page.
How we check these solutions
These are our own solutions, prepared with AI help. UPSC does not publish official answers. Every solution is checked a second way before it goes up, and says how:
- ✓ Checked by computer the numbers were worked out again independently in code (Python with NumPy/SciPy) and matched.
- ✓ Derivation checked step by step for derivations and approximations, every step was checked, and the result was also tested numerically.
- ✓ Answer checked step by step for descriptive questions, every point was checked against the standard theory.
Spotted a mistake or a neater method? Tell us in the comments below or through Report an error.
Jump to a question (year · question number):
2026 · 1b 2026 · 3a 2026 · 4a(i) 2025 · 1b 2025 · 2b(i) 2025 · 2b(ii) 2025 · 4c(ii) 2024 · 1c 2024 · 4c 2022 · 2c 2022 · 4c 2021 · 1a 2021 · 2c 2020 · 2a 2019 · 1b 2019 · 4c 2018 · 4c 2017 · 1c 2016 · 1d 2016 · 3c 2015 · 2a 2014 · 2a 2014 · 4b 2014 · 4c 2013 · 2a 2013 · 2b 2012 · 1a 2012 · 3b 2011 · 1c 2010 · 1c 2009 · 2c 2007 · 1b 2007 · 4a 2006 · 2a 2005 · 4a 2004 · 4a 2003 · 1c 2002 · 1c 2002 · 2b 2002 · 4a 2001 · 1b 2001 · 2b 2001 · 4b 2000 · 1b 2000 · 2a 2000 · 4b 1999 · 2a 1999 · 2b 1999 · 2c 1998 · 6a 1998 · 6b 1998 · 6c 1998 · 7a 1997 · 6a 1997 · 6b 1997 · 6c 1996 · 6a 1996 · 6b 1996 · 6c 1995 · 6a 1995 · 6b 1995 · 6c 1995 · 7a
Construct a single sampling plan for attributes, given the following data: A.Q.L. = 0·05 Producer’s risk = 0·05 Consumer’s risk = 0·10 LTPD = 0·20.
Solution
Requirements. The OC curve should pass (approximately) through
- : lots at the AQL are accepted 95% of the time;
- : lots at the LTPD are accepted only 10% of the time.
Method (Poisson approximation, Cameron’s table). With , . For each acceptance number , let and be the values of at which and . The plan must satisfy
| ratio | |||
|---|---|---|---|
| 2 | 0.818 | 5.322 | 6.51 |
| 3 | 1.366 | 6.681 | 4.89 |
| 4 | 1.970 | 7.994 | 4.06 |
| 5 | 2.613 | 9.275 | 3.55 |
The ratio 4 is matched most closely by (4.06).
Sample size.
- To hold the producer’s risk: .
- To hold the consumer’s risk: .
Both give about 40, so we take
Rule. From each lot, inspect a random sample of 40 items. Accept the lot if the number of defectives ; reject it if .
Check (binomial, large lots). So the producer’s risk is and the consumer’s risk is . Both requirements are met.
(Using exact binomial probabilities, the smallest plan meeting both risks is , ; the Poisson-based plan , is the usual textbook answer.)
✓ Checked by computer We checked in Python: Poisson ratios m₀.₁₀/m₀.₉₅ = 4.89 (c = 3), 4.06 (c = 4), 3.55 (c = 5); the plan n = 40, c = 4 gives binomial Pa(0.05) = 0.952 and Pa(0.20) = 0.076.
How will you draw the OC curve for a single sampling plan with sample size 5, if the acceptance number is , assuming the lot size to be large? Explain.
Solution
Plan. Single sampling plan with , : inspect 5 items; accept the lot if the number of defectives , otherwise reject.
Probability of acceptance. The lot is large, so the number of defectives in the sample is binomial (type B OC curve):
Steps to draw the OC curve.
- Choose a set of values of the lot fraction defective (here 0 to 1 in steps of 0.1).
- For each compute from the formula (or from binomial tables).
- Plot (y-axis) against (x-axis) and join the points with a smooth curve.
| 0 | 0.1 | 0.2 | 0.3 | 0.4 | 0.5 | 0.6 | 0.7 | 0.8 | 0.9 | 1 | |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 0.991 | 0.942 | 0.837 | 0.683 | 0.500 | 0.317 | 0.163 | 0.058 | 0.009 | 0 |
Explanation.
- at (a perfect lot is always accepted) and at .
- The curve falls as increases; with and it is symmetric, , with at .
- Because the sample is so small, the curve is very flat: a lot with 30% defectives is still accepted 84% of the time. The plan discriminates poorly between good and bad lots. A larger (with chosen accordingly) would make the curve steeper and closer to the ideal step shape.
- From the curve we can read the producer’s risk at any AQL () and the consumer’s risk at any LTPD ().
✓ Checked by computer We checked in Python: Pa(p) = (1−p)⁵ + 5p(1−p)⁴ + 10p²(1−p)³ at p = 0, 0.1, …, 1 (e.g. 0.9914, 0.9421, 0.8369, 0.6826, 0.5 at p = 0.1 to 0.5).
Discuss the theoretical basis of the sequential probability ratio test (SPRT) in acceptance sampling. Explain how acceptance and rejection numbers are chosen to satisfy and risks.
Solution
Theoretical basis. Acceptance sampling can be seen as testing with (producer’s risk) and (consumer’s risk). Wald’s sequential probability ratio test (SPRT) inspects items one at a time and, after each item, compares the likelihood ratio of the data so far with two constants. Among all tests with the same and , the SPRT needs (on average) the smallest number of observations at and .
Likelihood ratio. After items with defectives,
Decision rule. Choose constants :
- if : accept the lot;
- if : reject the lot;
- if : inspect another item.
Choosing and to meet and . On rejection, , i.e. . Summing over all paths that end in rejection, Similarly, on acceptance, , so . Wald’s approximation (ignoring the overshoot) takes which gives actual risks very close to (and at most slightly above in total) the stated ones.
Acceptance and rejection numbers. Taking logarithms, the test continues while Let . Solving for :
- After items, the lot is accepted as soon as (rounded down) and rejected as soon as (rounded up).
- On a chart of against , these are two parallel straight lines with common slope (which lies between and ), and intercepts and . The band between them is the continuation region.
- The OC curve passes (approximately) through and , as required.
✓ Derivation checked step by step Every step was checked: Wald’s SPRT for p₁ against p₂, with A ≈ (1 − β)/α and B ≈ β/(1 − α), giving the parallel acceptance and rejection lines d = −h₁ + sn and d = h₂ + sn.
What is meant by rectifying inspection? Explain the measures associated with rectifying inspection and derive the expressions of such measures in the case of a single sampling plan by attributes.
Solution
Rectifying inspection. Under rectifying (corrective) inspection, lots that are rejected by the sampling plan are not returned; they are screened 100%, and all defectives found are replaced by good items. Defectives found in the samples of accepted lots are also replaced. So the plan not only sorts lots but improves the outgoing quality, at the cost of extra inspection.
Measures associated with it.
- AOQ (average outgoing quality): the expected fraction defective in the lots after inspection, for incoming quality .
- AOQL (average outgoing quality limit): the maximum AOQ over all values of , the worst average quality that can go out.
- ATI (average total inspection): the expected number of items inspected per lot, including the screening of rejected lots. (Also the OC curve and the ASN, which for a single plan is just .)
Derivation for a single sampling plan . Let the lots have fraction defective , and let .
AOQ. Two outcomes:
- Lot accepted (probability ): the sampled items have been inspected and defectives replaced; the remaining items are not inspected and contain on average defectives.
- Lot rejected (probability ): all items are inspected and defectives replaced, so 0 defectives remain.
Expected number of defectives going out per lot . Dividing by , (If defectives in the sample are removed but not replaced, the denominator is , a small correction.)
AOQL. It is found by computing AOQ for a range of (or solving ). AOQ is small for good lots ( small) and also for very bad lots (they are rejected and screened), so it has a maximum in between. With the Poisson approximation, , where depends only on (e.g. for , for ).
ATI. Accepted lots: items inspected; rejected lots: all inspected. So It equals when and rises to as .
✓ Derivation checked step by step Every step was checked: under rectifying inspection AOQ = p·Pa·(N − n)/N and ATI = n + (1 − Pa)(N − n), and AOQL is the maximum of AOQ over p.
State the assumptions involved under sampling inspection plans by variables and describe the operating procedure of a single sampling plan by variables under the assumption of normal distribution for a quality characteristic.
Solution
Assumptions.
- The quality characteristic is measurable on a continuous scale.
- Its distribution within a lot is normal (or of a known form), so that the fraction defective can be computed from the mean and standard deviation.
- An item is defective if falls outside the specification limit(s) (upper , lower , or both).
- Items in the sample are drawn at random and independently.
- The standard deviation is either known (from past records) or estimated from the sample.
- A separate plan is needed for each characteristic.
Operating procedure (single specification limit; upper limit ). The plan is given by the sample size and the acceptability constant .
- Draw a random sample of items from the lot and measure on each.
- Compute the sample mean (and the sample standard deviation if is unknown).
- Compute the quality index
- Accept the lot if , i.e. (or ); reject it otherwise.
For a lower limit , use and accept if . For two limits with known , accept if both and (and is small enough relative to ).
and are chosen so that the OC curve passes through and ; for known , where is the upper- point of .
✓ Answer checked step by step Every point was checked against the standard assumptions and procedure of a single sampling plan by variables (k-method, known and unknown σ).
Establish the relationship between the fraction defective and the acceptance probability under a single sampling plan by variables when the quality characteristic follows a normal distribution with mean and variance , where is unknown, and when an upper specification limit is specified. Using the relationship, obtain the formula for finding the parameters of the sampling plan.
Solution
Set-up. , unknown; an item is defective if . The lot fraction defective is where is the upper- point of .
Plan. Take a sample of ; compute and ; accept the lot if
Relationship between and . For large , and are independent and approximately normal with So is approximately normal with Then This is the OC function: for each (hence ) it gives .
Finding and . Require and . Writing : Eliminating : Subtracting the two equations: , so and The value of is the same as in the known- plan; the sample size is larger by the factor , the price of not knowing .
Example. , , , : , , , ; , and (against if were known).
✓ Derivation checked step by step Every step was checked: with σ unknown, x̄ + ks is approximately normal with variance σ²(1/n + k²/(2n)), giving Pa ≈ Φ[(z_p − k)/√(1/n + k²/(2n))] and the formulas for k and n.
Describe the operating procedure of unit-by-unit sequential sampling plan by attributes. What is the unique feature of a sequential sampling plan?
Solution
Operating procedure. The plan is specified by and , which give the acceptance and rejection lines with , , , .
- Draw items from the lot one at a time, at random, and inspect each.
- After each item, update (number inspected) and (cumulative number of defectives).
- Compare with the lines:
- if : stop and accept the lot;
- if : stop and reject the lot;
- otherwise, inspect the next item.
- In practice, a table of acceptance numbers (largest integer ) and rejection numbers (smallest integer ) is prepared for each , or the path of is plotted on a chart with the two lines.
- Because there is no fixed upper limit, a truncation rule is usually added (e.g. stop at three times the single-sampling and decide by a simple rule).
Unique feature. The number of items inspected is not fixed in advance; it is a random variable that depends on the results. The decision is made as soon as the evidence is sufficient. Very good lots are accepted quickly and very bad lots are rejected quickly; only lots of intermediate quality need many items. For given , , , , the SPRT has the smallest average sample number of all sampling plans (typically 30–50% less than an equivalent single sampling plan).
✓ Answer checked step by step Every point was checked against the standard item-by-item sequential plan (Wald’s SPRT lines) and its distinctive feature.
Explain the following terms as used in sampling inspection plans: (i) Producer’s risk (ii) Average Outgoing Quality Limit.
Solution
(i) Producer’s risk (). It is the probability that a good lot (one with fraction defective at the acceptable quality level, = AQL) is rejected by the sampling plan:
- It is the Type I error of the plan, regarded as testing : the lot is of acceptable quality.
- It is borne by the producer, whose satisfactory lots are returned or screened. Plans are usually designed with .
- Example: for , and AQL 1%, .
(ii) Average Outgoing Quality Limit (AOQL). Under rectifying inspection (rejected lots are screened 100% and defectives replaced), the average outgoing quality for incoming quality is AOQ is small when is small (few defectives come in) and also when is large (most lots are rejected and screened). In between it reaches a maximum. This maximum value, is the worst average quality that will be passed on to the consumer in the long run, whatever the quality of incoming lots.
- It guarantees the consumer that, on average, outgoing quality will be no worse than the AOQL.
- Dodge–Romig AOQL tables give plans that achieve a stated AOQL with minimum average total inspection.
- Example: for , , , AOQ at is about 0.0086; the AOQL of this plan is about 0.014, reached near .
✓ Answer checked step by step Every point was checked against the standard definitions: producer’s risk α = 1 − Pa(AQL) and AOQL = max AOQ(p) = max p·Pa(p)(N − n)/N.
(i) Explain the terms ‘chance causes’ and ‘assignable causes’ of variation in quality control. Also provide some principal advantages of statistical quality control. (ii) Describe the procedure of obtaining OC curve for single sampling plan.
Solution
(This question is also listed under 1.1 Control charts. The worked solution is repeated here so that this page is complete.)
(i) Chance and assignable causes.
- Chance (common, random) causes are the many small, unavoidable sources of variation that are part of the process: slight differences in raw material, vibration, temperature, the operator’s natural variation. Each has a tiny effect; together they give a stable pattern of variation, usually close to normal. They cannot be removed economically without changing the process itself. A process with only chance causes is in statistical control.
- Assignable (special) causes are larger, identifiable sources: a worn tool, a wrong machine setting, a defective batch of material, an untrained operator. They produce variation outside the stable pattern, and they can be found and removed. Control charts are designed to separate these from chance causes.
Principal advantages of SQC.
- Better and more uniform quality, with fewer defectives and less rework and scrap.
- Lower inspection cost: sampling replaces 100% inspection.
- Early detection of trouble, before many defectives are made.
- A basis for judging process capability against specifications.
- Better relations with customers, who get product of known quality.
- It helps in setting realistic specifications and in deciding when to adjust the process, avoiding over-adjustment.
- It builds quality awareness among workers and management.
(ii) OC curve of a single sampling plan . The plan: take a random sample of items from a lot of size ; accept the lot if the number of defectives , else reject.
The OC curve plots , the probability of accepting a lot, against the lot fraction defective .
Procedure.
- Choose a set of values of : 0, 0.01, 0.02, … up to where is near 0.
- For each , compute
- Hypergeometric (exact, finite lot): (type A curve).
- Binomial (large lot, ; type B curve): .
- Poisson ( large, small): , using Poisson tables or Thorndike charts.
- Plot against and join the points.
Reading the curve.
- At the AQL , is the producer’s risk.
- At the LTPD , is the consumer’s risk.
- The steeper the curve, the better the plan discriminates between good and bad lots. The ideal curve is a step at the borderline quality.
For example, for , (Poisson): ; .
✓ Answer checked step by step Every point was checked against the standard theory of chance and assignable causes, and the OC function of a single sampling plan, Pa(p) = Σ C(n,d) pᵈ(1−p)ⁿ⁻ᵈ for d ≤ c.
A company uses the following acceptance-sampling procedure–A sample equal to 10% of the lot is taken. If 2% or less of the items in the sample are defective, the lot is accepted, otherwise it is rejected. If the submitted lot varies in size from 5000 units to 10000 units, what can you say about the protection by this plan? If 0.05 is the LTPD, does this scheme offer reasonable protection to the consumer?
Solution
The plan. Sample items and accept if the number of defectives :
- : , ;
- : , . So the “plan” is really a different plan for each lot size, and its OC curve changes with .
OC values (binomial; lots are large relative to the samples):
| 0.01 | 0.015 | 0.02 | 0.025 | 0.03 | 0.04 | 0.05 | |
|---|---|---|---|---|---|---|---|
| : | 0.987 | 0.864 | 0.583 | 0.294 | 0.115 | 0.010 | 0.0005 |
| : | 0.999 | 0.919 | 0.559 | 0.182 | 0.033 | 0.0003 | 0.0000 |
What this says about the protection.
- Protection is not constant. The two OC curves cross near . Larger lots are judged by a larger sample, so their OC curve is steeper: good lots () are accepted more often, bad lots () less often. A lot with 2.5% defectives is accepted 29% of the time if it has 5000 items, but only 18% if it has 10000. The same quality is treated differently depending only on the size of the lot, which is unfair to producer and consumer alike.
- The percentage rule gives no fixed risks. A sound plan should be chosen from the OC curve (fixed and for stated risks), not as a fixed percentage of the lot. The protection depends mainly on the absolute sample size , hardly on .
- Inspection cost. Samples of 500–1000 are very large; a much smaller plan could give the same protection at the LTPD.
Protection at the LTPD 0.05. is 0.0005 for and practically zero for . So the consumer’s risk is negligible: the scheme gives the consumer more than adequate protection; lots with 5% defectives will almost never be accepted. In fact, the plan protects the consumer well even at 3–4% defective. The cost is a heavy sampling burden, and lots near 2% defective (which may be acceptable) have a high chance of rejection. For example, a single plan with , gives a consumer’s risk of about 0.1 at .
✓ Checked by computer We checked in Python: N = 5000 gives (n, c) = (500, 10), N = 10000 gives (1000, 20); Pa at p = 0.02 is 0.583 and 0.559, at p = 0.015 it is 0.864 and 0.919; at the LTPD 0.05, Pa = 0.0005 and practically 0.
What are sequential sampling plans? Suggest a sequential sampling plan for which and .
Solution
Sequential sampling plans. In a sequential plan, items (or small groups) are drawn one after another, and after each inspection one of three decisions is taken: accept the lot, reject it, or continue sampling. The number inspected is not fixed in advance. Wald’s sequential probability ratio test gives the plan whose OC curve passes through and with the smallest average sample number.
Plan for , , , .
Acceptance and rejection lines ( = defectives in the first items):
In practice.
- Rejection: 2 defectives reject the lot if they occur within the first 15 items ( for ); 3 defectives within the first 50; 4 within the first 86; and so on.
- Acceptance: the lot can first be accepted, with no defectives, after items (); with 1 defective after 80 items; with 2 after 115; and so on.
Average sample number (Wald’s approximation): about 60 items at , 40 at , and a maximum of about 70 near . The smallest single sampling plan with the same risks is , , so the sequential plan saves roughly 35–65% of the inspection on average.
✓ Checked by computer We checked in Python: k = 1.8436, h₁ = 1.2211, h₂ = 1.5678, s = 0.02811; ASN ≈ 60 at p₁, 40 at p₂, about 70 at p = s.
Explain Single Sampling Plan with the help of an example. Also, write the importance of an Operating Characteristics Curve in a sampling plan.
Solution
Single sampling plan. A single sampling plan is defined by three numbers :
- : lot size;
- : sample size;
- : acceptance number.
Procedure. Draw a random sample of items from the lot and inspect them. Let be the number of defectives.
- If : accept the lot.
- If : reject the lot (return it to the supplier, or screen it 100% under rectifying inspection). Only one sample is taken, and the decision is always made on it.
Example. A firm receives lots of bearings. It uses the plan , : from each lot, 50 bearings are tested; if 0 or 1 is faulty, the lot is accepted; if 2 or more are faulty, it is rejected.
- For a lot with 1% defectives: .
- For a lot with 5% defectives: .
Importance of the OC curve. The OC curve plots the probability of acceptance against the lot fraction defective .
- Shows the protection given by a plan: how often lots of any quality will be accepted.
- Gives the risks: the producer’s risk and the consumer’s risk .
- Measures discrimination: the steeper the curve, the better the plan separates good lots from bad. The ideal curve is a vertical step at the borderline quality.
- Design of plans: and are chosen so that the curve passes through the two agreed points and .
- Comparison of plans: two plans with the same OC curve give the same protection, so we choose the one with the smaller ASN or ATI.
- It also shows the effect of changing or : increasing (with fixed) makes the curve steeper; increasing (with fixed) moves it to the right.
✓ Answer checked step by step Every point was checked against the standard single sampling procedure, a worked example, and the uses of the OC curve.
Explain the concepts of producer’s and consumer’s risks. It has been decided to sample 100 items at random from each large batch. We reject the batch if more than 2 defectives are found. If the acceptable quality level is 1% and the unacceptable quality level is 5%, then find the producer’s and consumer’s risks.
Solution
Producer’s risk. The probability that a lot of acceptable quality (at the AQL, ) is rejected: The producer suffers this risk: good lots are returned or screened.
Consumer’s risk. The probability that a lot of unacceptable quality (at the LTPD or rejectable quality level, ) is accepted: The consumer suffers this risk: bad lots are passed on.
The plan. , (reject if more than 2 defectives), large batches, so .
Producer’s risk ():
Consumer’s risk ():
(With the Poisson approximation, : and .)
So about 8% of acceptable batches will be rejected, and about 12% of batches at the unacceptable level will be accepted.
✓ Checked by computer We checked in Python (binomial): producer’s risk = 1 − P(d ≤ 2 | 0.01) = 0.0794, consumer’s risk = P(d ≤ 2 | 0.05) = 0.1183; Poisson gives 0.0803 and 0.1247.
What are sampling plans? Define consumer’s risk, producer’s risk and OC curve. In a double sampling plan with , , , and , explain how you would draw your conclusion.
Solution
Sampling plans. A sampling (inspection) plan is a rule that states how many items to inspect from a lot and how to decide, from the results, whether to accept or reject the lot. Examples: single, double, multiple and sequential plans, by attributes or by variables.
Consumer’s risk (): the probability that a lot of unacceptable quality (at the LTPD ) is accepted, .
Producer’s risk (): the probability that a lot of acceptable quality (at the AQL ) is rejected, .
OC curve: the graph of the probability of acceptance against the lot fraction defective . It shows the protection the plan gives against lots of every quality.
The double sampling plan , , , , .
- Take a first random sample of items; let be the number of defectives.
- If : accept the lot.
- If (8 or more): reject the lot.
- If : take a second sample.
- Second sample of items, with defectives.
- If : accept the lot.
- If : reject the lot.
- Under rectifying inspection, a rejected lot is inspected 100% (all 1000 items) and its defectives replaced.
Illustration. If the first sample shows 2 defectives, we accept at once. If it shows 5, we take 100 more: with 2 or fewer in the second sample (total ) we accept; with 3 or more we reject. If the first sample shows 9, we reject at once.
Performance (binomial):
| 0.02 | 0.05 | 0.08 | 0.10 | |
|---|---|---|---|---|
| 0.997 | 0.804 | 0.435 | 0.252 | |
| ASN | 52 | 74 | 103 | 113 |
For good lots the decision is usually made on the first 50 items; only doubtful lots need the second sample.
✓ Checked by computer We checked in Python: for this double plan, Pa = 0.997, 0.804, 0.435, 0.252 at p = 0.02, 0.05, 0.08, 0.10, with ASN 52 to 113.
Explain double sampling plan briefly. Write the formulae for obtaining ASN and ATI for double sampling plan.
Solution
Double sampling plan. It is defined by , with .
- Inspect a first sample of items; defectives.
- : accept the lot.
- : reject the lot.
- : take a second sample of .
- Second sample: defectives.
- : accept; otherwise reject. The idea is to give a lot a “second chance”: clearly good or clearly bad lots are decided on a small first sample, and doubtful lots are judged on the larger combined sample.
ASN. A second sample is taken with probability . So (With curtailed inspection, the expected number is smaller.)
ATI (rectifying inspection). Let
- Accepted on the first sample: items inspected.
- Accepted on the second sample: inspected.
- Rejected (at either stage): the whole lot is screened.
Here is binomial for large lots (Poisson for small , hypergeometric for small lots).
✓ Derivation checked step by step Every step was checked: ASN = n₁ + n₂·P(c₁ < d₁ ≤ c₂) and ATI = n₁P_a1 + (n₁ + n₂)P_a2 + N(1 − P_a).
Draw OC curve and ASN curve for the following two sampling inspection plans. Assume large lot sizes and take values of as with increment of 0.2:
| Sampling Plan No. | Sampling No. | Sample Size | Combined Sample Size | Acceptance No. | Rejection No. |
| 1 | 1st | 5 | 5 | 1 | 2 |
| 2 | 1st | 3 | 3 | 0 | 2 |
| 2 | 2nd | 6 | 9 | 1 | 2 |
Solution
Plan 1 (single): , accept if , reject if .
Plan 2 (double): first sample : accept if , reject if , else () take a second sample of ; on the combined 9 items accept if (i.e. ), reject if .
Values.
| 0 | 0.2 | 0.4 | 0.6 | 0.8 | 1.0 | |
|---|---|---|---|---|---|---|
| Plan 1 | 1 | 0.737 | 0.337 | 0.087 | 0.007 | 0 |
| Plan 2 | 1 | 0.613 | 0.236 | 0.065 | 0.008 | 0 |
| Plan 1 ASN | 5 | 5 | 5 | 5 | 5 | 5 |
| Plan 2 ASN | 3 | 5.30 | 5.59 | 4.73 | 3.58 | 3 |
Sample calculations at :
- Plan 1: .
- Plan 2: ; ASN .
Comments. Plan 2 is the stricter plan (its OC curve lies below Plan 1’s for up to about 0.7). Its ASN is lower than 5 for very good or very bad lots (below about and above ), and at most 5.67 (at ).
✓ Checked by computer We checked in Python: Plan 1 Pa = 1, 0.737, 0.337, 0.087, 0.007, 0; Plan 2 Pa = 1, 0.613, 0.236, 0.065, 0.008, 0, with ASN 3, 5.30, 5.59, 4.73, 3.58, 3 at p = 0, 0.2, …, 1.
In a single sampling plan (1000, 89, 2), compute the probability of acceptance of the lot if the lot fraction defective is 0.01. Also compute Average Outgoing Quality (AOQ) of the lot.
Solution
Plan. , , ; lot fraction defective (10 defectives in the lot).
Probability of acceptance. The sample is under 10% of the lot, so we use the binomial distribution: (Poisson approximation with : . The exact hypergeometric value, with 10 defectives in 1000, is 0.9484.)
So about 94% of lots with 1% defectives will be accepted.
Average outgoing quality (rejected lots screened 100%, defectives replaced): i.e. about 0.86% defective in the outgoing product (against 1% coming in).
The average total inspection at this quality is items per lot.
✓ Checked by computer We checked in Python: Pa = P(d ≤ 2 | n = 89, p = 0.01) = 0.9397 (binomial; Poisson 0.9388, hypergeometric 0.9484), AOQ = 0.01 × 0.9397 × 911/1000 = 0.00856.
For a single sampling plan, , compute the probability of acceptance of lots of 50 articles with 2% defective.
Solution
Plan. , , .
Lot quality. 2% of 50 articles is exactly defective article.
Probability of acceptance. The lot is small and the sample is large relative to it (), so we must use the hypergeometric distribution. The number of defectives in the sample, , can be only 0 or 1: Since , the lot is accepted in both cases:
Every such lot is accepted: with only one defective in the lot, the sample can never contain more than one.
(Had we used the binomial approximation with , we would get , which is wrong here because the lot is small and sampling is without replacement.)
✓ Checked by computer We checked in Python: a lot of 50 with 2% defective contains exactly 1 defective, so the sample can contain at most 1 and Pa = 1 (hypergeometric); the binomial approximation would wrongly give 0.965.
What are Average Sample Number (ASN) and Average Total Inspection (ATI)? Explain the method of their calculation for a single sampling plan.
Solution
Average Sample Number (ASN). The ASN is the expected number of items inspected per lot in order to reach a decision (accept or reject), as a function of the lot quality . It measures the sampling cost of a plan. For double, multiple and sequential plans it depends on , since the number of samples needed varies.
Average Total Inspection (ATI). Under rectifying inspection, rejected lots are screened 100%. The ATI is the expected total number of items inspected per lot, including the sample and the screening of rejected lots, as a function of . It measures the total inspection workload.
Calculation for a single sampling plan .
ASN. Exactly items are always inspected before a decision is made, whatever the result. So (With curtailed inspection, stopping as soon as defectives are found, the expected number is less than .)
ATI. Let (binomial; Poisson or hypergeometric as appropriate).
- If the lot is accepted (probability ): items are inspected.
- If the lot is rejected (probability ): all items are inspected.
Steps to compute an ATI curve: choose values of ; find from tables; compute ; plot against . It rises from at to as .
Example. , , , : , so ASN and ATI .
✓ Answer checked step by step Every point was checked: for a single plan, ASN = n and ATI = n + (1 − Pa)(N − n).
Describe the single and double sampling plans used in acceptance sampling. Define the operating characteristic function of a sampling plan.
Solution
Single sampling plan . From a lot of items, a random sample of is inspected. If the number of defectives (the acceptance number), the lot is accepted; if , it is rejected. The decision is always made on one sample.
- Simple to design, explain and administer.
- The sample size is fixed, which makes inspection planning easy.
Double sampling plan .
- Inspect a first sample of items, with defectives.
- : accept.
- : reject.
- : take a second sample of .
- If : accept; otherwise reject.
- Good and very bad lots are usually decided on the smaller first sample, so the average amount of inspection is less than that of a single plan with the same OC curve.
- The plan has a psychological appeal: a lot gets a “second chance”.
- It is more complex to administer, and the inspection load varies.
Operating characteristic (OC) function. For a sampling plan, the OC function is regarded as a function of . Its graph is the OC curve.
- Single plan: (type B; hypergeometric for type A).
- Double plan: . The OC function gives the producer’s risk and the consumer’s risk , and shows how well the plan discriminates between good and bad lots.
✓ Answer checked step by step Every point was checked against the standard single and double sampling procedures and the definition of the OC function.
State the single sampling plan for attributes. Explain Dodge-Romig system of determination of plan parameters for (i) LTPD plans and (ii) AOQL plans.
Solution
Single sampling plan for attributes. For a lot of items, inspect a random sample of ; if the number of defectives , accept the lot; otherwise reject it. Under rectifying inspection, rejected lots are screened 100% and defectives replaced.
Dodge–Romig system. Dodge and Romig (Bell Telephone Laboratories) designed tables of single and double sampling plans for rectifying inspection. Their principle: among all plans that give the required consumer protection, choose the one that minimises the average total inspection (ATI) at the producer’s process average . Entry to the tables is by lot size , process average , and either LTPD or AOQL.
(i) LTPD plans (lot-by-lot protection).
- Requirement: a lot with quality at the LTPD should have only a 10% chance of acceptance:
- Minimise the ATI at the process average:
- Procedure: for each , find the that satisfies the LTPD condition; compute ; choose the with the smallest ATI.
- The tables (for LTPD 0.5% to 10%) give , and the resulting AOQL. Used when each lot must be protected individually (e.g. lots go to different users).
(ii) AOQL plans (average protection).
- Requirement: the maximum average outgoing quality must not exceed the stated AOQL: With the Poisson approximation, , where depends only on (e.g. , , ).
- Minimise the ATI at the process average , as before.
- Procedure: for each , find from the AOQL condition; compute ; choose the plan with the minimum.
- The tables (for AOQL 0.1% to 10%) give , and the resulting LTPD. Used when the long-run average quality of the product is what matters (continuous supply to one user).
Use. Both tables require an estimate of the process average (from past inspection). If exceeds the table’s range, sampling is uneconomic and 100% inspection is recommended.
✓ Answer checked step by step Every point was checked against Dodge–Romig LTPD and AOQL plans: both minimise ATI at the process average, one subject to Pa(p_t) = 0.10 and the other to max AOQ = AOQL.
Explain the concept of sequential sampling plan for attributes and obtain the average sampling number function of a sequential sampling plan for testing the hypothesis against the alternative hypothesis in sampling from a population with density function .
Solution
Sequential sampling plan for attributes. Items are inspected one by one. After each item, the cumulative number of defectives is compared with two numbers that increase with : if the lot is accepted, if it is rejected, and otherwise the next item is inspected. The lines , come from Wald’s sequential probability ratio test (SPRT) of against . The sample size is a random variable, and the plan reaches a decision with the smallest expected number of items.
General SPRT. (We write the parameter as , to avoid confusion with the consumer’s risk ; the question’s are our .) To test against with observations from , let Continue while ; accept when and reject when , with , .
ASN function. Let be the (random) number of observations at which the test stops. The are i.i.d. with mean when is the true value.
Wald’s identity. Since is a stopping time, satisfies
Value of . At termination, is (approximately, ignoring the overshoot) either (accept ) or (reject ). Let = OC function = . Then
ASN. Hence
- At : , so .
- At : , so .
- At the value where , a second-order version of Wald’s identity, , gives .
For attributes ( if defective, ): with and the slope of the lines. With and :
✓ Derivation checked step by step Every step was checked: Wald’s identity E(Z_N) = E(N)E(z), with Z_N ≈ ln A on rejection and ln B on acceptance, gives E(N) ≈ [L(θ) ln B + (1 − L(θ)) ln A]/E_θ(z).
Explain the terms (i) Acceptance quality level (ii) LTPD (iii) Consumers’ risk (iv) Producers’ risk (v) OC curve.
Solution
(i) Acceptable (acceptance) quality level (AQL), . The maximum percentage (or fraction) defective that, for sampling purposes, is considered satisfactory as a process average. Lots at the AQL should be accepted with a high probability, usually . It reflects the quality the producer can reasonably maintain.
(ii) Lot tolerance percent defective (LTPD), (also called the rejectable or limiting quality level). The fraction defective that the consumer regards as unacceptable in an individual lot. Lots at the LTPD should be accepted with a low probability, usually .
(iii) Consumer’s risk, . The probability that a lot of quality as bad as the LTPD is accepted: It is the risk to the consumer of receiving bad lots (Type II error).
(iv) Producer’s risk, . The probability that a lot of quality as good as the AQL is rejected: It is the risk to the producer of having good lots rejected (Type I error).
(v) OC curve. The graph of the probability of acceptance of a sampling plan against the lot fraction defective . For a single plan , . It shows how the plan treats lots of every quality. A plan is usually designed so that its OC curve passes through the two points and . The steeper the curve between these points, the better the plan discriminates.
✓ Answer checked step by step Every point was checked against the standard definitions of AQL, LTPD, consumer’s and producer’s risk and the OC curve.
Suppose that the purchaser and the ender agree that a defective rate of 10% in a lot is satisfactory. For the sampling plan (, , ), determine the probability that a lot with this per cent (i.e. 10%) defective, will be accepted. Also determine the said probability if the sampling plan happens to be , , . Which of these two sampling plans seems better and why?
Solution
Note on the question. “Ender” should read “vendor”.
Plan 1: , , . A 10% defective lot has defectives. The number of defectives in the sample is hypergeometric:
Plan 2: , , . Now : (For a very large lot, the binomial gives .)
Which plan is better? Compare the OC curves at other qualities:
| Lot % defective | 10% | 15% | 20% | 25% |
|---|---|---|---|---|
| Plan 1 () | 0.947 | 0.860 | 0.751 | 0.634 |
| Plan 2 () | 0.923 | 0.839 | 0.740 | 0.633 |
- At the agreed satisfactory quality (10%), Plan 1 accepts more often (producer’s risk 5.3% against 7.7%).
- At poorer qualities, the two plans accept almost equally often, so the consumer is about equally protected.
- So Plan 1 discriminates slightly better: its OC curve is a little steeper. This is because the sample is 25% of the lot in Plan 1 but only 5% in Plan 2; sampling a larger fraction of a small lot (without replacement) gives a little more information.
In practice, however, both plans are poor: with only 5 items, lots with 25% defectives are still accepted about 63% of the time. A larger sample is needed for real protection. The comparison also shows that the protection depends mainly on and , and only slightly on .
✓ Checked by computer We checked in Python (hypergeometric): Pa = 0.9474 for N = 20 (D = 2) and 0.9231 for N = 100 (D = 10); at 20% and 25% defective the two plans give 0.751/0.740 and 0.634/0.633.
Explain Double sampling Plan and develop expression required for drawing OC curve in Double sampling Plan.
Solution
Double sampling plan , .
- Inspect a first random sample of items; defectives.
- If : accept the lot.
- If : reject the lot.
- If : inspect a second sample of items.
- If : accept; otherwise reject.
OC function. Let be the lot fraction defective. The lot can be accepted in two mutually exclusive ways.
(a) On the first sample:
(b) On the second sample: with , and then . The two samples are independent (for large lots), so
Hence
Distributions to use.
- Large lots (type B curve): , .
- Poisson approximation: , , with cumulative Poisson tables.
- Finite lots (type A): is hypergeometric from ; given , is hypergeometric from the remaining items with defectives.
Drawing the OC curve. Compute for a set of values of (from 0 up to where is near 0), plot against and join. It is often helpful to plot too, which shows how much acceptance happens on the first sample.
Example. , , , , : , , .
✓ Derivation checked step by step Every step was checked: Pa(p) = P(d₁ ≤ c₁) + Σ P(d₁ = j)·P(d₂ ≤ c₂ − j) over c₁ < j ≤ c₂, under binomial, Poisson and hypergeometric models.
Explain the procedure for drawing the 5-points A S N curve for the sequential sampling plan.
Solution
The sequential plan. For , , , , the item-by-item plan accepts when and rejects when , with
General ASN formula (Wald, ignoring overshoot): where is the OC function. We compute it at five convenient points, where is known without further calculation.
The five points.
| Point | ASN | ||
|---|---|---|---|
| 1 | 1 | ||
| 2 | |||
| 3 | |||
| 4 | |||
| 5 | 0 |
- At : no defectives ever appear, so the lot is accepted when , after items.
- At : every item is defective, so rejection comes when , after items.
- At , and the formula is ; the limit (from ) gives . This is close to the maximum of the ASN curve.
Procedure.
- Compute , , and from .
- Compute the ASN at the five points from the table.
- Plot ASN against and draw a smooth curve through the five points. The curve rises from at to a maximum near , and falls to at .
Example. , , , : , , . The five ASN values are 43.4, 59.7, 70.1, 40.4 and 1.6.
✓ Derivation checked step by step Every step was checked: ASN(p) = [(1 − L)h₂ − L h₁]/(p − s), giving h₁/s, [(1−α)h₁ − αh₂]/(s − p₁), h₁h₂/[s(1 − s)], [(1−β)h₂ − βh₁]/(p₂ − s) and h₂/(1 − s).
Describe single and double sampling plans used in acceptance sampling. Define the operating characteristic function of a sampling plan.
Solution
Single sampling plan . Inspect a random sample of items from the lot. Accept the lot if the number of defectives is at most the acceptance number ; otherwise reject it. One sample always decides.
Double sampling plan .
- Inspect a first sample of items, finding defectives. Accept if ; reject if ; otherwise draw a second sample.
- Inspect more items, finding defectives. Accept if ; otherwise reject. Clearly good and clearly bad lots are settled on the first (smaller) sample; doubtful lots get a second look. For the same protection, the average amount of inspection is usually smaller than for a single plan, but the administration is more complicated.
| Single | Double | |
|---|---|---|
| Samples | 1 | 1 or 2 |
| Number inspected | Fixed, | Variable; ASN |
| Average inspection for same OC | Larger | Smaller |
| Administration | Simple | More complex |
| Psychology | One chance | “Second chance” for the lot |
Operating characteristic function. For a given plan, the OC function is the probability of accepting a lot as a function of its fraction defective:
- Single plan: .
- Double plan: . Its graph, the OC curve, shows the protection given by the plan; at the AQL it gives , at the LTPD it gives .
✓ Answer checked step by step Every point was checked against the standard single and double sampling procedures and the definition of the OC function.
Consider an acceptance sampling plan where 50 items sampled from a huge lot will be examined and the lot will be accepted it at most two of the sampled items are found defective – otherwise the lot will be rejected. Evaluate the acceptance probability as a function of the proportion of defectives in the lot and sketch the Operating Characteristic (OC) curve. (Only a rough sketch is required and no graph paper is necessary)
Solution
Acceptance probability. The lot is huge, so the number of defectives in the sample of 50 is binomial . The lot is accepted if : For small , the Poisson approximation with is convenient: .
Values.
| 0 | 0.01 | 0.02 | 0.03 | 0.04 | 0.05 | 0.06 | 0.08 | 0.10 | 0.15 | 0.20 | |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 0.986 | 0.922 | 0.811 | 0.677 | 0.541 | 0.416 | 0.226 | 0.112 | 0.014 | 0.001 |
OC curve (sketch).
Features.
- at ; the curve stays high (above 0.9) up to about 2% defective.
- It falls steeply between 3% and 8%: at about .
- Beyond about 15% defective, lots are almost never accepted.
- So the plan gives good protection against lots with more than about 8–10% defectives (consumer’s risk about 0.1 at ), while accepting lots with 1–2% defectives most of the time.
✓ Checked by computer We checked in Python: Pa(p) = (1−p)⁵⁰ + 50p(1−p)⁴⁹ + 1225p²(1−p)⁴⁸, e.g. 0.986, 0.922, 0.811, 0.677, 0.541, 0.416, 0.226, 0.112, 0.014 at p = 0.01 to 0.15.
State the procedure for double sampling attributes plan for lot disposition. Also derive its OC and ASN functions.
Solution
Procedure (double sampling by attributes, for lot disposition). The plan is with .
- Draw a random sample of from the lot and count defectives .
- If : accept the lot. If : reject it.
- If : draw a second sample of from the rest of the lot and count .
- If : accept; else reject.
- (Rectifying inspection: rejected lots are screened 100% and defectives replaced.)
OC function. Let and be the (binomial, Poisson or hypergeometric) probabilities for lot quality .
- Acceptance on the first sample: .
- Acceptance on the second sample: .
ASN function. The second sample is needed only if , which has probability So the expected number of items inspected (complete inspection of both samples) is
With curtailed inspection of the second sample (stop as soon as the total exceeds ): if , the second sample is stopped once defectives are found. Then where is the probability of at most defectives in items. (The second term uses the identity for the trial at which the -th defective appears.) This is smaller than for poor lots.
✓ Derivation checked step by step Every step was checked: OC = P(d₁ ≤ c₁) + Σ P(d₁ = j)P(d₂ ≤ c₂ − j) and ASN = n₁ + n₂P(c₁ < d₁ ≤ c₂), with the curtailed-inspection refinement.
What is rectifying inspection plan? Obtain the expressions for AOQ and ATI, with reference to a single sampling plan for attributes.
Solution
Rectifying inspection plan. A sampling plan in which lots rejected by the plan are not returned to the supplier but are inspected 100%, and every defective found (in the sample, and in rejected lots) is replaced by a good item. The plan therefore improves the quality of the product that goes out. It is used when the producer itself inspects before despatch, or when the consumer must use every lot.
Single sampling plan . Let lots have fraction defective , and
AOQ (average outgoing quality).
- With probability the lot is accepted. The inspected items are now free of defectives; the other items carry on average defectives into the outgoing lot.
- With probability the lot is rejected and screened; it goes out with no defectives. The maximum of AOQ over is the AOQL.
ATI (average total inspection).
- Lot accepted: items inspected.
- Lot rejected: all items inspected.
Example. , , , : , AOQ , ATI .
✓ Derivation checked step by step Every step was checked: AOQ = p·Pa(N − n)/N and ATI = n + (1 − Pa)(N − n) for a single sampling plan with rectifying inspection.
What do you mean by acceptance sampling plans? Between a single sampling plan with , and a double sampling plan with , , , , can it be said that the second inspection scheme is more economical than the first? Give reasons justifying your answer.
Solution
Acceptance sampling plans. Rules for deciding, from the inspection of a sample, whether to accept or reject a lot. They control the risks of rejecting good lots (producer’s risk) and accepting bad lots (consumer’s risk), and are used where 100% inspection is too costly, too slow or destructive.
The two plans.
- Single: , : accept if .
- Double: , ; , . Accept if ; reject if ; if or 2, take 10 more and accept if .
To compare their economy fairly, we must check that they give about the same protection (OC curve), and then compare the average amount of inspection (ASN).
Comparison (binomial):
| 0.01 | 0.02 | 0.05 | 0.10 | 0.15 | 0.20 | 0.30 | |
|---|---|---|---|---|---|---|---|
| Single | 0.999 | 0.993 | 0.925 | 0.677 | 0.405 | 0.206 | 0.035 |
| Double | 0.999 | 0.994 | 0.931 | 0.701 | 0.440 | 0.241 | 0.053 |
| Double ASN | 11.0 | 11.8 | 13.9 | 15.8 | 16.2 | 15.7 | 13.5 |
| Single ASN | 20 | 20 | 20 | 20 | 20 | 20 | 20 |
For the double plan: , and .
Conclusion. Yes, the double sampling scheme is more economical.
- The OC curves are almost the same (the double plan is very slightly more lenient towards poor lots), so the two plans give practically the same protection to producer and consumer.
- The double plan inspects on average only 11–16 items per lot, against 20 for the single plan, a saving of 20–45%. For good lots (small ) most decisions are made on the first 10 items.
- The saving would be larger still with curtailed inspection of the second sample. The single plan is simpler to administer, and its inspection load is constant, but in terms of inspection cost for the same protection the double plan is better.
✓ Checked by computer We checked in Python: the two OC curves nearly coincide (Pa 0.925 vs 0.931 at p = 0.05, 0.677 vs 0.701 at 0.10), and the double plan’s ASN is 11 to 16 against 20.
Explain the construction and use of sequential sampling plans for attributes.
Solution
Construction. The plan is to have an OC curve passing through and .
- Likelihood ratio. After inspecting items one at a time and finding defectives,
- Wald’s limits. Continue while , with and .
- Lines. Taking logs and solving for :
- Table or chart. Prepare a table of acceptance numbers and rejection numbers for , or draw the two parallel lines on a chart of cumulative defectives against items inspected.
- Truncation. Fix a maximum number of items (often about three times the equivalent single-sampling ) at which a decision is forced.
Use.
- Inspect items one at a time (or in small groups for group-sequential plans), recording , or plotting the path on the chart.
- As soon as the path touches or crosses the lower (acceptance) line, accept the lot; if it touches the upper (rejection) line, reject it.
- Otherwise continue to the next item.
Properties and use in practice.
- The OC curve is approximately , where , with parameter .
- The ASN is the smallest of all plans with the same OC points, typically 30–50% below a single plan.
- It is especially useful when inspection is costly or destructive (e.g. testing of explosives or expensive components), and when items come off the line one at a time.
- Drawbacks: the number inspected is uncertain, which makes planning of inspection staff harder; record keeping is heavier; and occasionally a very long run is needed (hence truncation).
✓ Answer checked step by step Every point was checked against Wald’s SPRT construction of sequential attribute plans and their use.
Distinguish between multiple and sequential sampling plans. Derive the OC function and ASN of a double sampling plan under corrective sampling scheme.
Solution
Multiple vs sequential sampling plans.
| Multiple sampling | Sequential sampling | |
|---|---|---|
| Unit of sampling | Groups of fixed size | Usually one item at a time (or small groups) |
| Number of stages | Fixed maximum (e.g. 7 in MIL-STD-105) | No fixed maximum (unless truncated) |
| Acceptance/rejection numbers | Given for each stage in a table | Given by two straight lines , |
| Basis | Designed from tables (Dodge–Romig, MIL-STD) | Wald’s SPRT |
| Decision forced | At the last stage | Only by truncation |
| ASN | Smaller than single/double | Smallest for the specified risks |
| Administration | Moderately complex | More complex; uncertain workload |
A multiple plan can be regarded as a truncated, group-sequential plan.
Double sampling plan under a corrective (rectifying) scheme. Plan ; rejected lots are screened 100% and defectives replaced. Let be the lot fraction defective.
OC function. The lot is accepted either on the first sample () or on the combined sample ( and ): with and for large lots. (The corrective scheme does not change the OC function; it changes the outgoing quality and the total inspection.)
ASN. A second sample is taken only when :
Under the corrective scheme we also have the outgoing quality and total inspection: where and are the probabilities of acceptance on the first and second samples.
✓ Derivation checked step by step Every step was checked: the multiple vs sequential distinction, and the double-plan OC = P(d₁ ≤ c₁) + ΣP(d₁ = j)P(d₂ ≤ c₂ − j) and ASN = n₁ + n₂P(c₁ < d₁ ≤ c₂) under rectifying inspection.
Describe a double sampling plan for attributes. Derive the expressions for OC, ASN & ATI of this plan.
Solution
The plan. A double sampling plan for attributes is , .
- Take a first sample of items; defectives.
- Accept if ; reject if .
- If , take a second sample.
- Second sample of ; defectives. Accept if ; reject otherwise.
- Rejected lots are screened 100% (rectifying inspection) when ATI is of interest.
Let the lot fraction defective be ; for large lots, and , independent. Write and .
OC function.
ASN. The probability that a second sample is needed is . So
ATI. Count the items inspected in each case:
- accepted on the first sample (prob. ): ;
- accepted on the second (prob. ): ;
- rejected at either stage (prob. ): .
Example. , , : , , , ASN , ATI .
✓ Derivation checked step by step Every step was checked: OC = P_a1 + P_a2, ASN = n₁ + n₂P(c₁ < d₁ ≤ c₂), ATI = n₁P_a1 + (n₁ + n₂)P_a2 + N(1 − P_a).
Explain the construction and use of sampling plans for stipulated producer’s and consumer’s risks. How do we choose the best sampling plan?
Solution
Plans for stipulated risks. The producer and consumer agree on
- the AQL with producer’s risk (usually 0.05), and
- the LTPD with consumer’s risk (usually 0.10). The plan must have an OC curve passing (approximately) through and :
Construction (single sampling, Poisson approximation).
- Compute the operating ratio .
- From Cameron’s table (or Poisson tables) find, for , the values and of at which and .
- Choose the smallest for which .
- Take (to hold exactly) or (to hold exactly), or a value in between.
- Check the actual risks with binomial (or hypergeometric) probabilities and adjust if needed. For double, multiple and sequential plans, similar tables (e.g. Grubbs’s tables for double plans, Wald’s formulas for sequential) are used.
Use. Each lot is sampled according to the plan and accepted or rejected by its rule. The OC curve, AOQ and ATI curves describe its behaviour.
Example. , , , : ; gives ratio 4.06; .
Choosing the best plan. Many plans (single, double, sequential, and several pairs) meet the stipulated risks. Among them we choose by:
- Average sample number (ASN): for the same OC curve, prefer the plan with the smallest expected inspection. Sequential < multiple < double < single, typically.
- Average total inspection (ATI): under rectifying inspection, choose the plan with minimum ATI at the process average (the Dodge–Romig criterion).
- AOQL: if outgoing quality matters, the plan with the smallest AOQL for the same cost.
- Discrimination: the steepest OC curve between and .
- Administrative simplicity and cost: single plans are easiest; sequential plans need trained inspectors and give an uncertain workload. Destructive or costly tests favour sequential plans.
- Psychological factors: double plans appeal because lots get a “second chance”. The best plan balances inspection cost, the costs of wrong decisions, and ease of operation.
✓ Answer checked step by step Every point was checked against the standard design of a plan through (p₁, 1 − α) and (p₂, β) (Cameron’s ratio method) and the criteria for choosing among plans.
What do you understand by sampling inspection plan for variables? Explain how it differences from the sampling inspection plan for attributes. State the use of Dodge-Romig tables.
Solution
Sampling inspection plans for variables. In a variables plan, the quality characteristic is measured on each sampled item (e.g. length, strength), rather than just classified as good or bad. The lot is accepted or rejected from the sample mean and standard deviation, assuming a known distribution (usually normal).
- Rule (upper limit ): compute (and if is unknown); accept if (or ).
- and are chosen so that the OC curve passes through and ; e.g. with known, , .
- Standard tables: MIL-STD-414, IS 2500 (Part 2).
Difference from attributes plans.
| Attributes plan | Variables plan | |
|---|---|---|
| Data | Each item: defective or not; count | Measurement on each item |
| Decision rule | ||
| Distribution assumed | None beyond random sampling | Normal (or known form) |
| Sample size for same protection | Larger | Smaller (often 30–70% less) |
| Characteristics covered | Many at once by one plan | One plan per characteristic |
| Cost per item | Low (go/no-go gauges) | Higher (measurement, computation) |
| Information | Only whether out of spec | How far from spec; useful for process improvement |
| Robustness | High | Sensitive to non-normality |
Use of Dodge–Romig tables. The Dodge–Romig tables give single and double sampling plans by attributes for rectifying inspection, which minimise the average total inspection (ATI) at the process average, subject to:
- a stated LTPD with consumer’s risk 0.10 (lot-by-lot protection), or
- a stated AOQL (average protection). To use them: estimate the process average from past data; enter the table for the chosen LTPD or AOQL with the lot size and ; read off and (or ), together with the corresponding AOQL or LTPD. They are widely used for incoming and final inspection where rejected lots are screened.
✓ Answer checked step by step Every point was checked against the standard comparison of variables and attributes sampling plans and the use of Dodge–Romig tables.
Derive the OC function of a single sampling inspection plan. Define AQL and LTPD corresponding to a lot. Explain how to choose a plan with specified values of AQL and LWD.
Solution
Note on the question. “LWD” is read as LTPD (lot tolerance percent defective), the second point used with the AQL to choose a plan.
OC function of a single sampling plan . A lot of size contains defectives. A random sample of is drawn without replacement; is the number of defectives in it. The lot is accepted if .
Exact (type A, finite lot): is hypergeometric:
Large lots (type B): as with fixed, the hypergeometric tends to the binomial:
Small , large : Poisson approximation with :
AQL. The acceptable quality level is the maximum fraction defective that is considered satisfactory as a process average; lots at this quality should be accepted with high probability (usually 0.95).
LTPD. The lot tolerance percent defective is the fraction defective regarded as bad; lots at this quality should be accepted with low probability (usually 0.10).
Choosing a plan with specified AQL and LTPD. We need such that
- With the Poisson approximation, these say and . Let and be the corresponding values of ; then
- Using Cameron’s table of for , pick the whose ratio is closest to (and not above) .
- Take or (or a compromise), depending on which risk should be held exactly.
- Verify with binomial or hypergeometric probabilities. Example: , , , gives , .
✓ Derivation checked step by step Every step was checked: the hypergeometric and binomial OC functions of a single plan, and the choice of (n, c) through (AQL, 1 − α) and (LTPD, β).
Explain the concepts of (i) producers risk, (ii) consumer’s risk. (iii) average outgoing quality limit (AOQL) and (iv) average total inspection (ATI). Give significance of AOQL and ATI in acceptance sampling plans.
Solution
(i) Producer’s risk (). The probability that a lot of acceptable quality (fraction defective equal to the AQL, ) is rejected by the plan: . The producer bears it, since good lots are sent back or screened. Usually fixed at 0.05.
(ii) Consumer’s risk (). The probability that a lot of unacceptable quality (fraction defective equal to the LTPD, ) is accepted: . The consumer bears it, since bad lots get through. Usually fixed at 0.10.
(iii) Average outgoing quality limit (AOQL). Under rectifying inspection (rejected lots screened 100%, defectives replaced), the average outgoing quality is As increases from 0, AOQ first increases (more defectives come in) and then decreases (more lots are rejected and cleaned). Its maximum value is the AOQL: the worst long-run average quality that can go out, whatever the incoming quality.
(iv) Average total inspection (ATI). The expected number of items inspected per lot under rectifying inspection, including 100% screening of rejected lots:
Significance of AOQL.
- It gives the consumer a guarantee on average quality: whatever the producer’s process average, the outgoing product will on average contain no more than AOQL defectives.
- It is the basis of Dodge–Romig AOQL plans, used when continuous supply to one user matters more than lot-by-lot protection.
- It allows plans to be compared on the protection they provide to the user of the product.
Significance of ATI.
- It measures the inspection workload and hence the cost of a rectifying plan.
- Among plans giving the required protection (LTPD or AOQL), the one with the minimum ATI at the process average is the most economical; this is the Dodge–Romig criterion.
- The ATI curve shows how inspection costs rise as the producer’s quality worsens, which gives the producer an incentive to improve.
✓ Answer checked step by step Every point was checked against the standard definitions: α = 1 − Pa(p₁), β = Pa(p₂), AOQ = p·Pa(N − n)/N with its maximum the AOQL, and ATI = n + (1 − Pa)(N − n).
Derive single sampling inspection plan for variables when the upper specification limit is specified and the operating characteristic curve passes through two fixed points: (AQL, ) and (LTPD, ). You may assume that the lot quality characteristic is normally distributed and the standard deviation is known.
Solution
Set-up. The quality characteristic with known. An item is defective if (upper specification limit). The lot fraction defective is where is the upper -point of (). A larger means a larger .
Plan . Take a random sample of items, compute ; accept the lot if
OC function. Since ,
Conditions. The OC curve is to pass through (AQL) and (LTPD), :
Solving. Subtract (2) from (1): From (1) and (2): and . Eliminating (multiply the first by , the second by and add): is rounded up to an integer, and is then recomputed (e.g. from (1)) to hold one risk exactly.
Example. , , , : , , , . Accept the lot if , based on 15 items. (An attributes plan with the same risks needs about 110 items.)
✓ Derivation checked step by step Every step was checked: Pa = Φ[√n(z_p − k)] for the rule x̄ + kσ ≤ U, giving n = [(z_α + z_β)/(z_{p₁} − z_{p₂})]² and k = (z_α z_{p₂} + z_β z_{p₁})/(z_α + z_β).
Explain the concept of sequential sampling inspection plan for attributes, In testing and (where p is proportion of defective items in a lot), determine acceptance and rejection lines.
Solution
Concept. In a sequential sampling plan for attributes, items are inspected one at a time. After each item, the evidence (the number of defectives so far, , out of ) is used to decide whether to accept the lot, reject it, or inspect one more item. The plan is Wald’s SPRT applied to the lot fraction defective; it reaches a decision with the smallest average number of items among all plans with the same risks. Good lots are accepted early, bad lots are rejected early.
Hypotheses. (good quality) against (bad quality), , with risks and .
Likelihood ratio after items with defectives:
Rule. Continue while , with and . Taking logs: Collect the terms in :
Acceptance line (from ): Rejection line (from ): Here
Decision. Accept the lot as soon as ; reject it as soon as ; otherwise continue. The two lines are parallel with slope , and .
✓ Derivation checked step by step Every step was checked: the SPRT for p₀ against p₁ gives acceptance line d = −h₁ + sn and rejection line d = h₂ + sn, with the constants in terms of α, β, p₀, p₁.
Derive an unknown sigma variable sampling plan when there is only an upper specification limit on the quality characteristic in acceptance sampling.
Solution
Set-up. with both and unknown; there is only an upper specification limit , and an item is defective if . The lot fraction defective is We want a plan with and .
Plan. Take items; compute and . Accept the lot if
OC function. For moderately large , and are independent, , and is approximately . So is approximately normal with Hence
Determining and . The two conditions give Dividing one by the other: , so (the same as with known). Subtracting them: , so
Remarks.
- The unknown- plan needs times as many items as the known- plan (often 2–3 times), but it is still much smaller than an attributes plan with the same OC curve.
- The exact OC function uses the non-central distribution, since is non-central ; the formula above (Wallis’s approximation) is adequate for practical design.
- Example: , , , gives and .
✓ Derivation checked step by step Every step was checked: the rule x̄ + ks ≤ U, the large-sample normal approximation to x̄ + ks, and the resulting k = (z_α z_{p₂} + z_β z_{p₁})/(z_α + z_β), n = (1 + k²/2)[(z_α + z_β)/(z_{p₁} − z_{p₂})]².
Describe the double sampling attributes plan for lot disposition. Derive its OC and ASN functions. What is curtailed inspection?
Solution
The double sampling attributes plan , , is used to decide on a lot.
- Inspect a random sample of items; let be the number of defectives.
- If , accept the lot; if , reject it.
- If , inspect a second random sample of items, with defectives.
- If , accept the lot; otherwise reject it.
OC function. With the lot fraction defective and , the binomial (or Poisson, hypergeometric) probabilities: The two terms are the probabilities of the two disjoint ways of accepting, and the independence of the two samples (large lot) gives the product in the second term.
ASN function. The second sample is drawn only when : It equals at and at , and is largest for lots of intermediate quality.
Curtailed inspection. Inspection of a sample is stopped as soon as the decision is certain, rather than completing the sample. In a double plan this is usually applied to the second sample: once the cumulative number of defectives exceeds , the lot is rejected at once and the rest of the second sample is not inspected. (Semi-curtailed inspection stops only for rejection; fully curtailed inspection also stops for acceptance when the remaining items cannot change the outcome.) Curtailment does not change the OC curve, but it reduces the ASN, especially for poor lots; it is useful when inspection is costly. With curtailment, the expected number inspected in the second sample, when , is , where is the item at which the -th defective appears.
✓ Derivation checked step by step Every step was checked: OC = P(d₁ ≤ c₁) + Σ P(d₁ = j)P(d₂ ≤ c₂ − j), ASN = n₁ + n₂P(c₁ < d₁ ≤ c₂), and the definition of curtailed inspection.
Explain the concepts of AOQ and ATI for rectifying inspection by attributes. What is AOQL?
Solution
Under rectifying inspection (also called corrective inspection), lots rejected by the sampling plan are screened 100%, and all defectives found (in the samples and in rejected lots) are replaced by good items.
AOQ (average outgoing quality). The average fraction defective in the product after inspection, when incoming lots have fraction defective . For a single plan with acceptance probability :
- accepted lots (prob. ) still contain the defectives of the uninspected items, on average;
- rejected lots (prob. ) go out clean. AOQ is near 0 for good incoming quality (few defectives) and also for very poor quality (most lots are rejected and cleaned).
ATI (average total inspection). The average number of items inspected per lot, counting both the sample and the screening of rejected lots: It increases from (when ) to (when ), and measures the cost of the scheme.
AOQL (average outgoing quality limit). The maximum value of the AOQ over all possible incoming qualities: It is the worst average quality that the consumer can receive in the long run, whatever the incoming quality, so it is a guarantee of average outgoing quality. Dodge–Romig AOQL tables give plans with a specified AOQL and minimum ATI.
Example. , , : AOQ at is 0.0086 and ATI is 144; the AOQL is about 0.014, at .
✓ Answer checked step by step Every point was checked: AOQ = p·Pa(N − n)/N, ATI = n + (1 − Pa)(N − n), and AOQL = max over p of AOQ.
Given , , and (usual notations), obtain the item by item sequential sampling plan for attributes.
Solution
Requirement. The plan’s OC curve should pass through and : lots of quality accepted with probability , lots of quality with probability . We use Wald’s SPRT of against .
Likelihood ratio. After items with defectives:
Boundaries. Accept if , reject if , continue otherwise, with Wald’s approximations
Lines. Taking logarithms,
- ;
- ; where
The item-by-item plan.
- Inspect items one at a time; after the -th, let = cumulative defectives.
- Accept the lot if .
- Reject the lot if .
- Otherwise inspect the next item. In practice the acceptance numbers and rejection numbers are tabulated, or the lines are drawn on a chart of against .
Properties.
- The lines are parallel, with slope ().
- The earliest acceptance (with no defectives) is at ; the earliest rejection (all items defective) at .
- OC: , where is related to by ; this gives () and ().
- ASN: .
Example. , , , : , , .
✓ Derivation checked step by step Every step was checked: Wald’s SPRT for p₁ against p₂ with A = (1 − β)/α, B = β/(1 − α) gives d ≤ −h₁ + sn (accept) and d ≥ h₂ + sn (reject).
Explain the terms AOQ and ATI. For a double Sampling attributes plan with rectifying inspection derive the expressions for the AOQ and the ATI.
Solution
AOQ and ATI. Under rectifying inspection, rejected lots are inspected 100% and all defectives found are replaced by good items.
- AOQ (average outgoing quality) is the expected fraction defective in the outgoing product, as a function of incoming quality . Its maximum over is the AOQL.
- ATI (average total inspection) is the expected number of items inspected per lot, including the screening of rejected lots.
Double sampling plan . Let
Outcomes for a lot of fraction defective :
| Outcome | Probability | Items inspected | Defectives left in the lot |
|---|---|---|---|
| Accepted on first sample | on average | ||
| Accepted on second sample | on average | ||
| Rejected (either stage) | 0 |
(In accepted lots, defectives found in the samples are replaced, so only the uninspected items carry defectives.)
AOQ. Expected defectives in an outgoing lot, divided by : If , .
ATI. Example. , , : , ; AOQ ; ATI .
✓ Derivation checked step by step Every step was checked: for a double plan with rectifying inspection, AOQ = p[P_a1(N − n₁) + P_a2(N − n₁ − n₂)]/N and ATI = n₁P_a1 + (n₁ + n₂)P_a2 + N(1 − P_a).
Write a brief note on MIL-STD-414 tables.
Solution
MIL-STD-414 (US Department of Defense, 1957), “Sampling Procedures and Tables for Inspection by Variables for Percent Defective”, is the standard system of acceptance sampling plans by variables. It is the variables counterpart of MIL-STD-105 (attributes), and was later adopted as ANSI/ASQ Z1.9 (and is similar to IS 2500 Part 2 and ISO 3951).
Main features.
- AQL-based. Plans are indexed by the acceptable quality level (from 0.04% to 15%) and give high acceptance probability to lots at the AQL. The consumer is protected through the switching rules.
- Assumption: the quality characteristic is normally distributed, and items outside the specification limits are defective.
- Sample size code letters (B to Q) depend on the lot size and the inspection level (I to V; IV is normal).
- Three ways of measuring variability:
- variability known ( method);
- variability unknown, standard deviation method ();
- variability unknown, range method (average range of subgroups of 5).
- Two acceptance procedures (forms):
- Form 1 (-method): compute (or ) and accept if . For one-sided specifications only.
- Form 2 (-method): use to estimate the lot percent defective (from tables of the beta/normal distribution), and accept if , the maximum allowable percent defective. Used for one-sided and two-sided specifications (for two-sided, ).
- Normal, tightened and reduced inspection, with switching rules based on recent lot history, as in MIL-STD-105.
- OC curves are provided for each plan, so the consumer’s protection can be read off.
- Section D gives procedures for estimating the process average and for deciding when to tighten or reduce inspection.
Advantages. Much smaller samples than attributes plans for the same protection; information on how close the product is to the limits. Limitations: depends on normality; one plan per characteristic; more computation.
✓ Answer checked step by step Every point was checked against the content and structure of MIL-STD-414 (variables sampling by AQL, with known/unknown σ and the k- and M-methods).
Discuss the relative advantages of double sampling plans over single sampling plans.
Solution
Double sampling decides on a first, smaller sample when the evidence is clear, and draws a second sample only when the first result is doubtful. Compared with a single plan having (nearly) the same OC curve, it has these relative advantages:
- Smaller average sample size (ASN). Very good lots are accepted and very bad lots rejected on the first sample, which is usually much smaller than . For lots of typical quality, the average inspection is often 10–50% less. This matters when inspection is costly or destructive.
- Same protection. It can be designed to have practically the same OC curve as a given single plan, so producer’s and consumer’s risks are unchanged.
- Psychological advantage. A lot is not rejected on the evidence of one small sample when the result is borderline; the supplier gets a “second chance”. This makes the plan more acceptable to both parties.
- Flexibility. With four parameters, the OC curve can be shaped more closely to the requirements than with two.
- Lower ATI under rectifying inspection at good process averages, because fewer items are inspected per accepted lot.
- Curtailed inspection of the second sample further reduces the amount of inspection.
Disadvantages (for balance).
- More complicated to design, explain and administer; inspectors need more training.
- The amount of inspection varies from lot to lot, making it harder to plan staff and facilities.
- For lots of intermediate quality, the total inspected () may exceed the single plan’s ; the ASN may exceed near the indifference quality.
- Drawing the second sample may be inconvenient (lot already moved, items already packed).
- More record-keeping is needed.
✓ Answer checked step by step Every point was checked against the standard comparison of double and single sampling plans.
Explain the concepts of producer’s and consumer’s risks, AOQL and LTPD.
Solution
Producer’s risk (). The probability that a lot of acceptable quality, with fraction defective at the AQL , will be rejected by the sampling plan: It is the Type I error of the plan; the producer loses because good lots are returned or screened. Plans are usually designed with .
Consumer’s risk (). The probability that a lot of bad quality, with fraction defective at the LTPD , will be accepted: It is the Type II error; the consumer loses because bad lots get through. Usually .
AOQL (average outgoing quality limit). Under rectifying inspection (rejected lots screened 100% and defectives replaced), the average outgoing quality depends on the incoming quality . It rises and then falls as increases. Its maximum value is the AOQL. It is an upper bound on the long-run average fraction defective that the consumer will receive, whatever the quality submitted. It provides average protection.
LTPD (lot tolerance percent defective). The fraction (or percent) defective in a lot that the consumer regards as the borderline of bad quality, and wishes to accept only rarely (with probability , usually 0.10). It gives lot-by-lot protection: any individual lot of this quality has only a 10% chance of acceptance.
Example. For the plan , : with AQL 1% and LTPD 5%, and .
✓ Answer checked step by step Every point was checked against the standard definitions of producer’s and consumer’s risks, AOQL and LTPD.
Describe the construction and use of Dodge-Romig tables.
Solution
What they are. The Dodge–Romig sampling inspection tables (H. F. Dodge and H. G. Romig, Bell Telephone Laboratories, 1929–1944) give single and double sampling plans by attributes for rectifying inspection. There are four sets: single and double plans for (a) a given LTPD and (b) a given AOQL.
Construction. Principle: among all plans that give the required protection, choose the one that minimises the average total inspection (ATI) at the producer’s process average . This keeps the inspection cost lowest when the producer is turning out its usual quality.
LTPD tables (consumer’s risk 0.10):
- For given , LTPD and , and for each , find such that
- For each such compute .
- Choose the with the smallest ATI. The table lists , and the resulting AOQL, for LTPD from 0.5% to 10%, lot sizes in classes, and process averages in classes.
AOQL tables:
- For each , find the smallest such that .
- Choose the with minimum . The table lists , and the resulting LTPD, for AOQL from 0.1% to 10%.
Double sampling tables are built the same way, with and the double-plan formulas for and ATI.
Use.
- Decide which protection is wanted: LTPD (each lot must be good, e.g. lots go to different users) or AOQL (the long-run average quality must be good, e.g. continuous supply).
- Estimate the process average from past inspection results (e.g. the first samples of the last 25 lots).
- Enter the appropriate table with and (in the column for the chosen LTPD or AOQL), and read off and (or the double plan), with the associated AOQL or LTPD.
- Apply the plan: accept lots with ; screen rejected lots 100% and replace defectives.
- Keep updating ; if it exceeds the largest class in the table (i.e. exceeds the LTPD or about the AOQL), sampling is uneconomic and 100% inspection should be used.
✓ Answer checked step by step Every point was checked against the construction (min ATI at the process average subject to LTPD or AOQL) and use of the Dodge–Romig tables.
Explain single and double sampling inspection plans for attributes. What are the statistical advantages of double sampling plan?
Solution
Single sampling plan : inspect one random sample of items from the lot; accept if the number of defectives , otherwise reject. Its OC function is , and exactly items are inspected.
Double sampling plan : inspect ; accept if , reject if ; otherwise inspect more and accept if , else reject. Its OC function is and its ASN is .
Statistical advantages of double sampling.
- Smaller average sample number for the same OC curve. A double plan can be matched to a single plan’s OC curve (same , , AQL, LTPD) while inspecting fewer items on average, because clear-cut lots are decided on the small first sample. For good process averages the saving is often 25–50%.
- Better use of information. The decision to take more data is made only when the first sample is inconclusive, which is a step towards the optimal (sequential) procedure.
- Greater flexibility in shaping the OC curve, since there are four parameters instead of two.
- Lower ATI at good quality levels under rectifying inspection.
- Curtailed inspection reduces the ASN still more.
- Also a practical (non-statistical) advantage: lots get a “second chance”, which producers find fairer.
(The cost is more complex administration and a variable inspection load; near the indifference quality the ASN can exceed the single-plan .)
✓ Answer checked step by step Every point was checked against the standard single and double sampling procedures and the statistical advantages of double sampling (lower ASN for the same OC).
Given lot size (N), LTPD , consumer’s risk and process average [?], derive the most economical single sampling plan for acceptance purposes.
Solution
Note on the question. “[?]” marks a missing word in the source; the question is read as: given , , and , derive the most economical single sampling plan (the Dodge–Romig LTPD plan).
Aim. Find such that
- Consumer protection: a lot at the LTPD is accepted with probability exactly (at most) :
- Economy: the average amount of inspection is least when the producer is working at its process average . Under rectifying inspection,
Derivation of the plan.
- For each acceptance number , condition (1) determines the sample size (the smallest with ). As increases, increases.
- Substituting in (2) gives .
- Two effects pull in opposite directions: a larger means a larger sample (more inspection in every lot), but a higher (fewer good lots rejected and screened). So first decreases and then increases with .
- The most economical plan is the that minimises :
Computation with approximations. If is large and small, use the Poisson approximation: , where solves (for : , , , , …). Then Compute for and stop when it begins to rise.
Example. , , , :
- : , , ;
- : , , ;
- : , , ;
- : , , ;
- : , , ;
- : , , . The minimum is at , : this is the most economical plan.
These calculations are exactly what the Dodge–Romig LTPD tables tabulate.
✓ Derivation checked step by step Every step was checked: minimise ATI(p̄) = n + 1 − Pa(p̄) over (n, c) subject to Pa(p_t) = P_c, with n_c found for each c from the LTPD condition.
Define AOQL and describe how to obtain the same for the double sampling plan.
Solution
AOQL. Under rectifying inspection (rejected lots screened 100%, defectives replaced), the average outgoing quality depends on the incoming fraction defective . The average outgoing quality limit is its maximum over all : It is the worst long-run average quality that can go out, whatever the incoming quality.
For a double sampling plan :
- Acceptance probabilities at each stage, for a given :
- AOQ. Lots accepted on the first sample leave uninspected items; those accepted on the second leave ; rejected lots leave none. So When the samples are small relative to , .
- Maximise. Compute AOQ for a range of (0 to a value where is near 0), plot the AOQ curve, and read off its highest point. Analytically, set and solve numerically.
- With the Poisson approximation and large, AOQ is a function of only (for fixed ), so , where ; tables of for common double plans make this quick.
Example. , : computing AOQ over gives a maximum of about 0.039 at . So whatever the incoming quality, the outgoing product will average no more than about 3.9% defective.
✓ Answer checked step by step Every step was checked: AOQ(p) = p[P_a1(N − n₁) + P_a2(N − n₁ − n₂)]/N, maximised over p; for (50, 3; 100, 7) with N = 1000 the AOQL is about 0.039 at p ≈ 0.057.
Write a note on sequential sampling inspection plans for attributes.
Solution
Idea. A sequential sampling plan inspects items one at a time (or in small groups) and, after each item, decides to accept the lot, reject it, or continue inspecting. The number of items inspected is not fixed in advance; the decision is reached as soon as the evidence is strong enough. The theory is Wald’s sequential probability ratio test (SPRT), developed during World War II for inspection of military supplies.
Design. For quality levels (AQL, risk ) and (LTPD, risk ): These are two parallel lines on a chart of cumulative defectives against items inspected ; the path of is plotted and the lot is decided when the path crosses a line.
Properties.
- OC curve: passes (approximately) through and ; with , .
- ASN: ; a five-point curve uses . It is the smallest of all plans with the same OC points, typically 30–50% below an equivalent single plan.
- Truncation: a maximum sample size (often three times the single-plan ) is set, with a rule for the final decision.
Merits. Least average inspection; very good for costly or destructive tests (ammunition, aircraft components); gives quick decisions on very good or very bad lots; easy graphical operation.
Limitations. The number inspected per lot is uncertain, which complicates scheduling; occasionally many items are needed for lots near ; items must be drawn one at a time, which may be awkward; record-keeping and training are heavier. Group-sequential and multiple plans (as in MIL-STD-105) are practical compromises.
✓ Answer checked step by step Every point was checked against the standard theory of sequential sampling plans by attributes (Wald’s SPRT, lines, OC, ASN, merits and limitations).
Distinguish between type A and type B OC curves with reference to a single sample attribute inspection plan. How are they constructed?
Solution
Type A OC curve.
- Gives the probability of accepting an isolated lot of finite size as a function of the actual fraction defective in that lot, .
- Sampling is without replacement from a finite lot, so the number of defectives in the sample is hypergeometric:
- Defined only at the discrete values ; it is a step-like set of points, joined for convenience.
- Depends on as well as on and . For small lots it is steeper than the type B curve.
Type B OC curve.
- Gives the probability of accepting a lot drawn from a process (or a very large lot) whose fraction defective is , as a function of the process fraction defective.
- Each item is defective independently with probability , so the number of defectives in the sample is binomial: for small and large , Poisson: .
- A continuous, smooth curve, depending only on and , not on .
Construction (both). For a set of values of , compute from the appropriate distribution (tables of the hypergeometric, binomial or Poisson; Thorndike chart for Poisson), plot against and join the points.
Relationship. When the lot is large relative to the sample (), the hypergeometric is close to the binomial, and the type A and B curves practically coincide. Type A is used for isolated lots; type B for a continuing series of lots from a stable process (the usual case in acceptance sampling).
Example. , , : type A with gives 0.947; with , 0.923; type B gives 0.919.
✓ Answer checked step by step Every point was checked: type A curves use the hypergeometric distribution for an isolated finite lot; type B use the binomial (or Poisson) for lots from a continuing process.
Obtain a variable sampling plan with double specification limits and with specified values of , , and (usual notations) when the quality characteristic is normally distributed with a known standard deviation.
Solution
Set-up. , known; lower and upper specification limits and . The lot fraction defective is It is smallest when is at the centre , where .
Preliminary check. If (the process is too variable to meet the AQL even when perfectly centred), lots are rejected without sampling: no choice of can make them acceptable. This is a check on : we need .
Plan. Take items; compute . Accept if reject otherwise.
OC function. Since ,
Determining and for given , , , . When is reasonably large (at least about 6), a lot with a sizeable fraction defective has nearly all its defectives in one tail (the one towards which has moved), and the other term in is negligible. Then, for a shift towards , , i.e. , and Requiring and : By symmetry, the same and apply to the lower limit.
Refinement when is small. Both tails contribute. We then choose and so that the exact , computed for the mean giving fraction defective (nearest to the centre on one side) and giving , satisfies the two conditions; this is solved numerically, starting from the one-sided values above. Equivalently (MIL-STD-414 -method), estimate from and accept if .
Example. , , , : , ; accept if . (This requires , and the check needs .)
✓ Derivation checked step by step Every step was checked: for double limits with known σ, the rule L + kσ ≤ x̄ ≤ U − kσ, Pa(μ) = Φ[√n(U − kσ − μ)/σ] − Φ[√n(L + kσ − μ)/σ], and n, k from the dominant tail.
What is a sequential sampling plan? Also obtain the formula for the ATE for an item by item SPR plan when rejected lots are inspected one hundred percent.
Solution
Sequential sampling plan. A plan in which items are inspected one by one and, after each, a decision is made to accept, reject or continue. For an item-by-item sequential probability ratio (SPR) plan with OC points and : with , , , . The number of items inspected is a random variable; its mean is the ASN.
Note on the question. “ATE” is read as ATI (average total inspection).
ATI when rejected lots are inspected 100%. Let be the OC function and the (random) number inspected before a decision.
- If the lot is accepted (probability ): only the sampled items are inspected.
- If the lot is rejected (probability ): the sampled items and then all remaining items are inspected, in all.
So Using the approximation (Wald), with
Particular values.
- : , , so .
- : .
- : .
- : , .
(A more exact version uses the conditional ASN given acceptance, , obtained from Wald’s identity applied separately to the accepting paths; the approximation above is the one normally used.)
✓ Derivation checked step by step Every step was checked: ATI = L(p)·E(n | accept) + [1 − L(p)]N ≈ N − L(p)(N − ASN), with Wald’s ASN = [(1 − L)h₂ − L h₁]/(p − s).
Describe the working of a double sampling plan for product control. What are the advantages of this plan as compared to a single sampling plan?
Solution
Working of a double sampling plan. The plan is specified by , with .
- A random sample of items is taken from the lot of , and the number of defectives is counted.
- If , the lot is accepted at once. If , it is rejected at once.
- If , the result is doubtful, and a second random sample of items is taken; defectives are found.
- If the total , the lot is accepted; if , it is rejected.
- Under rectifying inspection, rejected lots are inspected 100% and defectives replaced.
Example. , , , , : 0–3 defectives in the first 50 → accept; 8 or more → reject; 4–7 → inspect 100 more and accept only if the total is at most 7.
OC and ASN. ; .
Advantages compared with a single sampling plan.
- Less inspection on average. For the same OC curve, the ASN is smaller, because lots that are clearly good or clearly bad are settled on the small first sample.
- Same protection to producer and consumer can be obtained.
- Psychological appeal: no lot is rejected on the borderline evidence of one sample; it gets a second chance.
- Greater flexibility in designing the OC curve (four parameters).
- Lower average total inspection at good quality under rectifying inspection.
- Curtailed inspection of the second sample gives further savings.
(Its drawbacks: more complicated administration and record-keeping, a variable inspection load, and for lots of intermediate quality the total inspection may exceed that of a single plan.)
✓ Answer checked step by step Every point was checked against the standard working of a double sampling plan and its advantages over single sampling.
Define the concepts of AOQ and ATI in rectifying inspection. Derive expressions for these under a double sampling plan.
Solution
(This is the same question as Q45 (2000, 2a) above. The worked solution is repeated here so that each question is complete.)
AOQ and ATI. Under rectifying inspection, rejected lots are inspected 100% and all defectives found are replaced by good items.
- AOQ (average outgoing quality) is the expected fraction defective in the outgoing product, as a function of incoming quality . Its maximum over is the AOQL.
- ATI (average total inspection) is the expected number of items inspected per lot, including the screening of rejected lots.
Double sampling plan . Let
Outcomes for a lot of fraction defective :
| Outcome | Probability | Items inspected | Defectives left in the lot |
|---|---|---|---|
| Accepted on first sample | on average | ||
| Accepted on second sample | on average | ||
| Rejected (either stage) | 0 |
(In accepted lots, defectives found in the samples are replaced, so only the uninspected items carry defectives.)
AOQ. Expected defectives in an outgoing lot, divided by : If , .
ATI. Example. , , : , ; AOQ ; ATI .
✓ Derivation checked step by step Every step was checked: for a double plan with rectifying inspection, AOQ = p[P_a1(N − n₁) + P_a2(N − n₁ − n₂)]/N and ATI = n₁P_a1 + (n₁ + n₂)P_a2 + N(1 − P_a).
Devise a known sigma variables sampling plan when there is a two-sided specification on the quality characteristic.
Solution
(This is the same question as Q55 (1997, 6b) above. The worked solution is repeated here so that each question is complete.)
Set-up. , known; lower and upper specification limits and . The lot fraction defective is It is smallest when is at the centre , where .
Preliminary check. If (the process is too variable to meet the AQL even when perfectly centred), lots are rejected without sampling: no choice of can make them acceptable. This is a check on : we need .
Plan. Take items; compute . Accept if reject otherwise.
OC function. Since ,
Determining and for given , , , . When is reasonably large (at least about 6), a lot with a sizeable fraction defective has nearly all its defectives in one tail (the one towards which has moved), and the other term in is negligible. Then, for a shift towards , , i.e. , and Requiring and : By symmetry, the same and apply to the lower limit.
Refinement when is small. Both tails contribute. We then choose and so that the exact , computed for the mean giving fraction defective (nearest to the centre on one side) and giving , satisfies the two conditions; this is solved numerically, starting from the one-sided values above. Equivalently (MIL-STD-414 -method), estimate from and accept if .
Example. , , , : , ; accept if . (This requires , and the check needs .)
✓ Derivation checked step by step Every step was checked: for double limits with known σ, the rule L + kσ ≤ x̄ ≤ U − kσ, Pa(μ) = Φ[√n(U − kσ − μ)/σ] − Φ[√n(L + kσ − μ)/σ], and n, k from the dominant tail.
Explain the concepts: OC curve, AOQ and consumer’s risk.
Solution
OC curve. The operating characteristic curve of a sampling plan is the graph of the probability of accepting a lot, , against the lot (or process) fraction defective .
- For a single plan and large lots: .
- It starts at 1 for and falls to 0 as .
- It shows the protection given by the plan to both parties, and its steepness shows how well it discriminates between good and bad lots. The ideal OC curve is a vertical step at the borderline quality: all lots better than it accepted, all worse rejected.
- Plans are designed so that the OC curve passes through and .
AOQ (average outgoing quality). Under rectifying inspection (rejected lots screened 100%, defectives replaced), the AOQ is the average fraction defective of the outgoing product, for incoming quality : The AOQ curve rises from 0, reaches a maximum (the AOQL), and falls again, because very poor lots are mostly rejected and cleaned. The AOQL bounds the long-run average outgoing quality.
Consumer’s risk (). The probability that a lot of quality as bad as the LTPD () will be accepted by the plan: It is the risk the consumer runs of receiving a bad lot (the Type II error of the plan), and is usually fixed at 0.10. It is read directly from the OC curve at .
Example. For , and LTPD 5%, .
✓ Answer checked step by step Every point was checked against the standard definitions of the OC curve, AOQ and consumer’s risk.
Derive the equations to the acceptance and rejection lines for a sequential sampling plan by attributes whose OC curve passes through the specified points and .
Solution
(This is the same question as Q44 (2000, 1b) above. The worked solution is repeated here so that each question is complete.)
Requirement. The plan’s OC curve should pass through and : lots of quality accepted with probability , lots of quality with probability . We use Wald’s SPRT of against .
Likelihood ratio. After items with defectives:
Boundaries. Accept if , reject if , continue otherwise, with Wald’s approximations
Lines. Taking logarithms,
- ;
- ; where
The item-by-item plan.
- Inspect items one at a time; after the -th, let = cumulative defectives.
- Accept the lot if .
- Reject the lot if .
- Otherwise inspect the next item. In practice the acceptance numbers and rejection numbers are tabulated, or the lines are drawn on a chart of against .
Properties.
- The lines are parallel, with slope ().
- The earliest acceptance (with no defectives) is at ; the earliest rejection (all items defective) at .
- OC: , where is related to by ; this gives () and ().
- ASN: .
Example. , , , : , , .
✓ Derivation checked step by step Every step was checked: Wald’s SPRT for p₁ against p₂ with A = (1 − β)/α, B = β/(1 − α) gives d ≤ −h₁ + sn (accept) and d ≥ h₂ + sn (reject).
Describe a double sampling plan fully.
Solution
Definition. A double sampling plan allows a decision on a lot after one or two samples. It is specified by
- : lot size;
- , : size of the first sample and acceptance number for it;
- , : size of the second sample and acceptance number for the combined samples ().
Procedure.
- Inspect items; defectives.
- : accept the lot. : reject the lot.
- : inspect further items; defectives.
- : accept; otherwise reject.
- Under rectifying inspection, rejected lots are screened 100% and defectives replaced. (Curtailed inspection: stop the second sample as soon as .)
Measures of performance (lot fraction defective ; binomial, Poisson or hypergeometric probabilities):
- OC function:
- ASN: .
- AOQ: ; its maximum is the AOQL.
- ATI: .
- Producer’s risk and consumer’s risk .
Design. Plans are chosen so that the OC curve passes through and , often with or (Grubbs’s tables), or to minimise ATI for a given LTPD or AOQL (Dodge–Romig tables), or from MIL-STD-105 / IS 2500.
Example. , , : , ASN , AOQ , ATI .
Merits. Smaller average inspection than a single plan with the same OC; a “second chance” for lots; flexible OC shape. Demerits. More complex administration; variable inspection load; for intermediate quality, more inspection than the equivalent single plan.
✓ Answer checked step by step Every point was checked against the full description of a double sampling plan: procedure, OC, ASN, AOQ, ATI and merits.
Discuss the relative merits of attributes and variables sampling plans.
Solution
Attributes plans classify each sampled item as defective or not (or count defects) and decide by the number of defectives: accept if . Variables plans measure the characteristic on each sampled item and decide from and (or ): accept if .
Merits of variables plans.
- Smaller samples for the same protection. Measurements carry more information than a good/bad classification. For the same OC curve, a variables plan typically needs 30–70% fewer items (e.g. 15 against about 110 for AQL 1%, LTPD 6%, , with known).
- Very valuable for destructive or costly tests, where every item saved matters.
- More information about the process: how far the product is from the limits, whether the mean or the spread is at fault; useful for process improvement and for giving early warning before items actually become defective.
- A lot can be rejected for being close to the limit even when no defective is found in the sample.
Demerits of variables plans.
- Depend on the assumption of normality (or a known distribution); if it fails, the actual risks differ from the nominal ones.
- A separate plan for each characteristic; with many characteristics they become expensive.
- Measurement is slower and costlier than go/no-go gauging, and computation is needed.
- Harder for inspectors to understand; a lot may be rejected although no defective was found, which can cause disputes with suppliers.
Merits of attributes plans.
- No distributional assumption beyond random sampling; robust.
- One plan covers many characteristics (an item is defective if it fails any).
- Simple and cheap inspection with gauges or visual checks; easy to administer and explain.
- Well-developed tables (Dodge–Romig, MIL-STD-105, IS 2500 Part 1).
Demerits of attributes plans.
- Larger samples for the same protection.
- Less information; no indication of how close items are to the limits.
Choice. Variables plans are preferred when the characteristic is critical, measurable and approximately normal, and inspection is costly or destructive; attributes plans when many characteristics are inspected together, when only go/no-go information is available, or when simplicity matters.
✓ Answer checked step by step Every point was checked against the standard comparison of attributes and variables acceptance sampling plans.
More on Industrial Statistics
- All Statistics PYQ solutions, topic by topic
- Industrial Statistics topic-wise PYQs (questions only, for practice)
- Statistics PYQ analysis: which units carry the marks year by year
- Year-wise question papers
- Statistics booklist
Questions: UPSC Civil Services (Main) Examination, Statistics Paper II, 1995–2026. Solutions: Optional Province. Found an error? Tell us.

