Choose an acceptance-sampling plan by testing two promises together: how often it rejects a lot at your stated good-quality point, and how often it accepts one at your stated bad-quality point. Specify both risk limits before searching for a sample size. Then choose an integer sample size and acceptance number that actually satisfy them under the sampling model.
“Inspect sixty-five” is only half an instruction. “Inspect sixty-five randomly selected units and accept if no more than two are nonconforming” defines a decision rule. Whether that rule is suitable depends on the lot, the test and the risks you agreed to carry.
Write two risk points before choosing a plan
NIST's acceptance-sampling definitions distinguish producer's risk, rejecting at the designated acceptable-quality point, from consumer's risk, accepting at the designated poor-quality point. Neither risk disappears because the spreadsheet produces a neat sample size.
Here is an original fictional decision. A buyer receives one defined lot of 2,000 plain paper promotional inserts. Inspection checks one specified cosmetic printing requirement. Each unit is classified as conforming or nonconforming, regardless of how many printing flaws appear on that unit.
The teaching model assumes a nondestructive test with perfect classification and a simple random sample without replacement. Every possible set of the chosen size has equal selection probability. It makes no finding about other product requirements.
The buyer and supplier supply these two hypothetical quality points and limits:
- Twenty nonconforming units in the lot, or 1%: the plan must accept at least 95% of such lots. Its false-reject probability at this point must be no more than 5%.
- One hundred sixty nonconforming units, or 8%: the plan must accept no more than 10% of such lots.
Those are invented negotiation inputs, not universal acceptable quality levels or recommended tolerances. The actual shipment's defective count is unknown. Twenty and 160 are hypotheses used to evaluate a procedure, not inspection findings.
Define n and c without changing what they count
Let n be the number of distinct units inspected and c the largest observed nonconforming-unit count that permits acceptance. The lot fails the rule when that count exceeds c.
For n = 65 and c = 2, zero, one or two nonconforming units lead to acceptance under the rule; three lead to rejection. One insert with three separate cosmetic flaws still counts as one nonconforming unit here. A defects-per-unit scheme would be another model.
NIST's two-point operating-characteristic discussion describes designing a plan against two chosen acceptance probabilities. Its binomial approach uses a large-lot approximation. For this finite lot, we instead count possible samples exactly.
Acceptance is a disposition under an agreed rule. It does not establish that the unexamined inserts meet every requirement, authorize a contractual change or decide whether the product's actual risks justify sampling at all.
Calculate the two probabilities
Suppose, temporarily, that exactly D of the 2,000 units are nonconforming. There are C(2,000, n) possible samples, where C means the number of combinations.
To observe exactly k nonconforming units, choose k from the D nonconforming units and n − k from the remaining 2,000 − D. Divide that product by the total number of possible samples.
For a rule accepting through c, add those probabilities for k = 0 through c, excluding impossible counts:
Acceptance probability = Σ C(D, k) × C(2,000 − D, n − k) ÷ C(2,000, n).
This is the finite, without-replacement hypergeometric calculation. NIST's hypergeometric reference provides the underlying cumulative-distribution definition. The numbers here come from the original insert example, not a copied sampling table.
Evaluate it once with D = 20 and again with D = 160. A plan earns consideration only if it satisfies both constraints. Passing one is insufficient.
Compare plans before rounding
These probabilities assume the stated hypothetical lot counts. Each row is a separate prospective plan, not another opportunity to sample the same shipment until it passes.
| Plan: n, c | Accept when D = 20 | Accept when D = 160 | Meets both limits? |
|---|---|---|---|
| 5, 0 | 95.0942% | 65.8795% | No |
| 28, 0 | 75.3266% | 9.5247% | No |
| 64, 2 | 97.5848% | 10.1188% | No |
| 65, 2 | 97.4840% | 9.5358% | Yes |
| 66, 2 | 97.3809% | 8.9832% | Yes |
The five-unit zero-acceptance plan protects the good-quality point but accepts the poor-quality point far too often. The twenty-eight-unit zero-acceptance plan reverses the problem: its poor-quality acceptance risk passes, but it rejects roughly a quarter of the good-point lots.
For n = 65, c = 2, the good-point rejection probability is 1 − 0.97483992495 = 0.02516007505, approximately 2.5160%. Poor-point acceptance is approximately 9.5358%. Both meet their respective limits.
The n = 64, c = 2 candidate fails because 10.1188% exceeds 10%. Displaying that as “about 10%” cannot turn failure into compliance. Compare the unrounded values, then round for presentation.
Find the smallest plan with a bounded search
For this particular single-sample model, enumerate n from one upward. At each n, test every integer c from zero through n. Compute both exact probabilities and retain a pair only when good-point acceptance is at least 0.95 and poor-point acceptance is at most 0.10.
Complete enumeration through n = 65 finds just one qualifying pair: (65, 2). Every smaller sample size fails for every possible acceptance number. Thus sixty-five is the smallest sample size satisfying these supplied constraints in this specified family.
That is a mathematical minimum, not a commercial optimum. It does not compare double sampling, sequential designs, measurement improvements or different quality requirements. Nor does it show that the chosen risk limits are appropriate for this product.
Keep the search inputs, exact probability method and rejected candidates. A saved answer without its lot size or assumptions is hard to review when someone proposes using it for a different shipment.
The two points do not create a quality cliff
A lot between the two chosen points does not inherit either endpoint's label. With eighty nonconforming inserts in 2,000, or 4%, the sixty-five-unit, c = 2 plan accepts with approximately 51.2983% probability. That result comes from evaluating the same formula at D = 80.
There is no abrupt switch at a single defect percentage. The operating-characteristic curve describes acceptance probability across hypothetical quality levels. Inspecting only the two design points verifies the two stated constraints; it does not describe every point between them as satisfactory.
At the extremes, an entirely conforming lot always passes this perfect-classification model, while an entirely nonconforming lot always fails a sixty-five-unit sample with c = 2. Those are useful calculation checks, not realistic claims that measurement mistakes never happen.
If the buyer objects to a roughly one-half acceptance chance at the intermediate point, change the requirements explicitly and redesign. Calling 4% “closer to good” does not change the rule. Likewise, a supplier concerned about rejection at another quality point should request that point's calculation rather than treating the 1% promise as a blanket guarantee.
Check what an approximation changes
A binomial approximation holds the defective probability constant across draws. At n = 65, c = 2, it gives approximately 97.2407% acceptance at a 1% defective rate and 9.9099% at an 8% rate.
Both approximated results also pass these fictional limits. There is no pass/fail reversal to dramatize here. The reason to retain the finite calculation is that it matches the stipulated sampling design, not that an approximation must always produce a different decision.
For a changed lot size, changed sampling method or a close threshold, recompute rather than reusing these percentages. Sampling with replacement, taking the easiest cartons or using an unreliable test changes the calculation's foundation.
Separate the plan from the observation
Suppose the agreed sixty-five-unit inspection later finds two nonconforming units. The supplied rule accepts the lot. The observation is two among sixty-five; it is not proof that exactly twenty or 160 units in the complete shipment are nonconforming.
The risk calculations answer what the procedure would do if a lot had a specified defective count. They do not answer the probability that this actual accepted lot contains 160 defective units. That reverse question requires more information than the two design points provide.
Do not raise c after observing three failures, replace failed selected units or discard an unfavorable sample and start again. Each changes the procedure whose risks were evaluated.
Make the chosen inspection executable
The fictional inspection takes three minutes per selected unit: 65 × 3 = 195 minutes, or 3.25 hours. All setup, selection, handling, documentation and disposition recording add 1.25 hours. Complete planned work therefore takes 4.5 paid hours.
A qualified inspector has six hours available without displacing accepted work. The complete labor cost is $32 per hour, giving $144. A further $51 covers all necessary nonlabor inspection costs. Total review cost is $195 against a separate $210 allocation, leaving $15 and 1.5 available hours.
That allocation covers this inspection only. Purchase and ordinary operating commitments are protected elsewhere. It supplies no unfunded founder labor or promise of customer revenue.
A rejection needs a separate disposition. Testing the remaining 1,935 units at three minutes each would require 96.75 hours of testing alone, before additional supporting work. The spare 1.5 hours and $15 plainly do not fund that proposal. Agree who can authorize sorting, return, replacement or other action before rejection creates an urgent improvisation.
Keep a plan that someone can execute
- Identify the lot and requirement. Preserve the unit definition, specification and inspection method.
- Record both risk points. State defective counts, lot size and acceptable probabilities without implying the actual lot's count is known.
- Fix the selection and rule. Record n, c, the random-selection process and what happens to inaccessible units.
- Verify the mathematics. Retain unrounded probabilities, model assumptions and the search scope supporting any minimum claim.
- Fund execution and assign disposition. Separate routine inspection resources from what rejection would require.
- Preserve the actual result. Keep selected-unit references, observations, deviations and authorized action together.
The clean-sample guide explains interpreting a result under a preselected rule. The p-chart guide addresses monitoring a process over time. Here the decision comes earlier: choosing the lot rule's two risk commitments.
Explore Infinite Upside
For Vijay Sheth’s personal accounts, read Infinite Upside: Building Wealth With Room to Live, published by Sheth Capital, Inc.
Choose an edition
Choose an edition