A factory receives 5,000 26 MHz oscillators and checks 80. All pass frequency offset, start-up and waveform. The supplier writes that the lot defect rate is below 0.5%, and the buyer considers halving future samples because there were no failures. Zero means the inspection found no nonconforming unit in this sample. To see how well the plan distinguishes lots at different quality levels, calculate their probabilities of acceptance.
Define what counts as one nonconforming oscillator
Start with reproducible tests. If the drawing calls for room-temperature frequency offset, cold start-up and output level, specify the acceptance statistic for each and which require separate disposition. If counting nonconforming units, one oscillator failing both frequency and output level still counts as one unit. Keep the two defects in its inspection record. Multiple power cycles help detect intermittent failure in one part. They do not create additional independent units. Distinguish untested, unresolved and confirmed nonconforming results and specify how to handle uncertain ones.
Before sampling, define a lot by order code and frequency, screening or programming state, and which lots or process conditions can be grouped. Picking 80 consecutive units from an accessible reel location can miss defects confined to another reel or a particular programming period. Use an agreed lot definition and a representative selection across boxes, reels and positions. Choose a sampling scheme appropriate to that definition. If selection probabilities differ materially between reels, the simple binomial probability may no longer apply.
Compare how three plans allocate risk
The NIST Engineering Statistics Handbook section on sampling OC curves describes the single-sampling model. Inspect n units and accept when the number of nonconforming units is at most c. In the binomial approximation, where the lot is much larger than the sample, sampling is representative and inspection classifies correctly, let p be the nonconforming fraction. For c = 0 the acceptance probability is (1 − p)n. For a positive c, sum the probabilities of finding zero through c. The table illustrates the model for discussing quality and risk. Use the applicable contractual or standards tables for actual orders.
| Sample n and acceptance number c | Acceptance at 0.5% nonconforming | Acceptance at 5% nonconforming |
|---|---|---|
| 80, accept up to 0 | 67.0% | 1.65% |
| 80, accept up to 1 | 93.9% | 8.61% |
| 125, accept up to 2 | 97.5% | 4.77% |
With 80 inspections, lowering the acceptance number from one to zero reduces false acceptance at the illustrative worse quality level, while more lots at the better quality level are held or rejected. Inspecting 125 and allowing up to two may give a more suitable balance at these two points in the model. Specify the desired acceptance probability at acceptable quality and the maximum tolerable acceptance at poorer quality before weighing test cost, cycle time and line disruption. Two plans with similar average inspection effort can have different OC curves. “80 from 5,000” omits the acceptance number and risk points needed to judge protection.
Use a without-replacement model when inspecting much of the lot
Suppose an engineering lot has 200 parts, exactly 10 of which are nonconforming. Select 80 randomly without replacement and accept up to one. From the NIST hypergeometric distribution definition, acceptance probability is [C(10,0)C(190,80) + C(10,1)C(190,79)]/C(200,80), about 4.24%. C denotes a combination count. Applying the large-lot binomial result would give 8.61%, nearly twice as much. Use actual lot size for small pilot lots, tail lots or partial-reel returns. If every unit is inspected, disposition follows the full inspection.
Detection capability is another input to these probabilities. When a lot's real fault occurs only at low temperature or minimum voltage, a fast room-temperature screen observes too few nonconforming units. The OC curve does not correct for that. Where risk costs differ, the technical agreement can define several plans. Routine electrical requirements can use lot sampling, while a known serious cold-start issue can be screened on a capable setup with a defined stop criterion. When a pilot test program changes, verify how its classification relates to real failures before retaining the old sample count.
If the question is instead “assuming the lot is 0.5% nonconforming, how can we have at least a 95% chance to find one?”, then with a large lot, correct classification and c = 0, require 0.995n ≤ 0.05. Taking logs gives n ≥ ln(0.05)/ln(0.995), or 598 after rounding up. Raising the sample from 80 to 598 improves detection at that quality level and increases inspection time and sensitivity to ordinary variation. If the plan also requires high acceptance at a better quality level, calculate the second risk point. Detection probability at a given defect rate cannot be read as the probability of knowing this lot’s true rate after the test.
Include classification error in an example. Suppose the true nonconforming rate is 1%. The station detects 90% of those units and wrongly rejects 0.5% of good units. The observed nonconforming proportion is 1% × 90% + 99% × 0.5% = 1.395%. At a 1% defect rate, the ideal 80-unit zero-acceptance plan accepts about 44.8% of lots. With those classification errors it accepts about 32.5% under the independent model. Real test errors can make acceptance too strict or miss borderline units. Verify classification against known devices before reducing the sample.
For marginal readings or found defects, apply the same agreed review plan. Replacing the first failed samples and sampling again until a pass changes the actual probability of acceptance. The order should define who handles quarantine, limited release, resubmission after full screening and return. Retain original unit identifiers and both parties’ results. A zero-failure report should state the sample size, inspections and the lot disposition. Use data and a method appropriate to estimating lot defect rate or longer-term supplier quality when those are needed.
