ISO 28596:2022 – Sampling Procedures for Inspection by Attributes — Two-Stage Sampling Plans for Auditing and for Inspection Under Prior Information

Standard for two-stage attribute sampling plans leveraging prior lot quality information for reduced inspection

Introduction to Two-Stage Sampling with Prior Information

ISO 28596:2022 provides a framework for two-stage attribute sampling plans that exploit prior information about the quality of submitted lots. This standard is particularly valuable in audit situations and for inspection of infrequent lots where historical data exists but is insufficient for full switching rules. The two-stage approach allows the inspector to examine a first sample and decide to accept, reject, or take a second sample, with the second sample size potentially reduced when prior information suggests high quality.

The standard introduces the concept of “prior effective sample size” — the amount of historical data treated as equivalent to inspected units. For example, if a supplier has submitted 50 previous lots with only 2 nonconforming items across all lots, the prior effective sample size might be set at 200 units with 2 nonconforming.

Two-Stage Plan Structure and Decision Rules

In the two-stage plan, the first sample (n₁) is drawn and inspected. If the number of nonconforming items in n₁ is ≤ Ac₁ (acceptance number for stage 1), the lot is accepted. If ≥ Re₁ (rejection number for stage 1), the lot is rejected. If between Ac₁ and Re₁, a second sample (n₂) is drawn. The lot is accepted if the total nonconforming in n₁+n₂ ≤ Ac₂. The prior information influences the selection of n₁ and n₂ — stronger prior evidence of quality allows smaller sample sizes.

Prior Quality Level Prior Confidence n₁ (Stage 1) n₂ (Stage 2) Total Max
Excellent (< 0.1% NC) High 13 17 30
Good (0.1% – 0.5% NC) Medium 20 25 45
Fair (0.5% – 1.0% NC) Low 32 38 70
Unknown None 50 50 100
The efficiency advantage of two-stage sampling over single-stage is most pronounced when quality is either very good or very bad. In such cases, a decision is reached after the first stage 70-80% of the time, reducing average inspection by 30-40% compared to the equivalent single-stage plan.

Prior Information Quantification and Update Rules

ISO 28596 provides methods for quantifying prior information from three sources: historical inspection data, supplier certification status, and process capability evidence. The prior distribution is updated using Bayesian principles after each inspection result. The standard includes pretabulated plans for beta-binomial prior distributions with parameters α and β representing prior conforming and nonconforming counts. After each lot inspection, the prior is updated: α’ = α + (number of conforming units) and β’ = β + (number of nonconforming units).

Care must be taken not to double-count prior information. If both historical inspection data and process capability data are used, the prior effective sample size should be adjusted to avoid over-representing the information. The standard suggests using the smaller of the two effective sample sizes when combining independent prior sources.

Engineering Application in Auditing and Quality Systems

For internal auditing of quality system records, two-stage sampling with prior information is particularly effective. The auditor can use prior audit findings as the prior distribution, reducing sample sizes for areas with consistently good performance while maintaining thorough coverage. The standard recommends an initial prior with β/α equivalent to the historical nonconformance rate, with a total prior weight equivalent to 3-5 audit cycles.

Two-stage plans with strong priors should not be used for the initial qualification of new suppliers with no track record. The standard recommends classical (non-Bayesian) sampling for the first 5 lots from a new supplier before transitioning to prior-informed plans.

Bayesian Foundation and Prior Distribution Selection

The two-stage sampling plans in ISO 28596 are built on a Bayesian statistical foundation that formally incorporates prior information through a beta-binomial prior distribution. The prior distribution is parameterized by two shape parameters, α (representing the number of equivalent prior conforming units) and β (representing the number of equivalent prior nonconforming units). The ratio β/(α+β) represents the prior estimate of the fraction nonconforming, while the sum α+β represents the strength of the prior evidence in terms of equivalent sample size. The standard provides guidance on selecting appropriate prior parameters from three sources: historical inspection data (where α+β equals the total number of previously inspected units), supplier quality certification data (where the equivalent sample size is adjusted based on the certification level), and process capability evidence (where α+β = 30 × (Cpk)² as a rule of thumb). When multiple independent prior sources are available, the standard recommends combining them conservatively using the minimum equivalent sample size to avoid overconfidence. For suppliers with no prior history, the standard specifies a non-informative prior (Jeffreys prior: α = 0.5, β = 0.5) that produces sampling plans equivalent to classical non-Bayesian plans, ensuring that the system defaults to traditional sampling when no prior information exists.

The beta-binomial prior framework elegantly handles the dynamic updating of quality knowledge: after each lot inspection, the prior is updated to a posterior using the simple addition α’ = α + (conforming units) and β’ = β + (nonconforming units). This means that the system continuously learns from new data, with the prior becoming stronger (higher equivalent sample size) as more data accumulates, automatically reducing sample sizes for consistently high-quality suppliers without requiring arbitrary switching rules.

Practical Implementation and Software Requirements

Successful implementation of ISO 28596 two-stage sampling requires computational support that exceeds the capabilities of traditional paper-based sampling tables. The standard recommends dedicated software that: calculates optimal first and second stage sample sizes based on the current prior parameters, maintains the prior database across lots and time, generates random sampling plans for audit applications where unpredictability is desired, and provides OC curve visualization for risk communication with stakeholders. For integration with ERP systems, the standard defines a data exchange format for transmitting prior parameters and sampling plan specifications between the quality management module and the production planning system. The software must also handle special cases: lot sizes smaller than the calculated sample size (in which case 100% inspection is required), highly variable lot sizes (where sample sizes should be adjusted proportionally), and multiple characteristics per lot (where the most restrictive sampling plan governs the overall inspection decision). Implementation typically requires 3-6 months for system design, software development, parallel-run validation, and staff training before the prior-informed plans can be used for actual acceptance decisions.

A critical caveat: two-stage plans with strong priors must not be used for initial qualification of new suppliers with no track record. The standard recommends running at least 5 lots under classical non-Bayesian sampling (non-informative prior) before transitioning to prior-informed plans. This conservative approach ensures that the supplier’s quality level is adequately characterized before sampling reductions are applied, preventing premature acceptance of a potentially poor-quality supplier based on insufficient evidence.

FAQ

Q: What is the difference between ISO 28596 and ISO 2859-1?
A: ISO 28596 uses prior information to optimize sample sizes dynamically, while ISO 2859-1 uses fixed sample sizes based solely on lot size and AQL. ISO 28596 is more efficient when quality history is available.
Q: Can ISO 28596 be used for variables inspection?
A: No, the standard is specifically for attributes inspection (conforming/nonconforming). Variables inspection with prior information is covered in separate standards.
Q: How are the OC curves affected by the prior?
A: The prior essentially shifts the OC curve: strong favorable priors increase the probability of acceptance for good lots and decrease it for bad lots, improving discrimination.

Leave a Reply

Your email address will not be published. Required fields are marked *