  # Sequential Testing: Testing the Mean of a Binomial Distribution

This tool provides the ability to plan a sequential lot acceptance test where each unit is classified into one of two categories, good or defective. It is based on the work of Abraham Wald (Ref. 2). The following shows the possible sampling outcomes and the preferences for test decision outcome. "true p" in the example column below is the true proportion defective in the lot if all units were to be inspected. See reference 2, Chapter 5, "Testing the Mean of a Binomial Distribution (Acceptance Inspection of a Lot Where Each Unit is Classified Into One of Two Categories)" for additional details. Calculator input parameters are as follows:

• Unacceptable proportion defective (p1). The probability of accepting the lot does not exceed the consumer's risk (β) whenever the true proportion defective (p) is greater than or equal to p1.
• Acceptable proportion defective (p0). The probability of rejecting the lot does not exceed the producer's risk (α) whenever the true proportion defective (p) is less than or equal to p0.
• Consumer’s risk (β). The consumer’s risk is the probability of accepting a lot with a true proportion defective equal to or greater than the unacceptable proportion defective (p1). β probability of lot acceptance for Case 1.
• Producer’s risk (α). The producer’s risk is the probability of rejecting a lot with a true proportion defective equal to or less than the acceptable proportion defective (p0). α probability of lot rejection for Case 3.
• True p. The true proportion defective in the lot if all units were to be inspected.

Tip: To experiment with the test methodology select "simulation" in the chart overlay pull down and vary input parameters (1-4) along with "true p" (input 5C).

## Calculation Inputs:

1. Unacceptable proportion defective, p1 (1 > p1 > p0):
2. Acceptable proportion defective, p0 (0 < p0 < p1):
3. Consumers risk (β)
4. Producers risk (α)

5. Optional:

5A. x axis scale factor Table

Chart overlay:

5B. Number of defects observed (# inspected, # defects observed):

Above input is:
a. comma separated entry, one per line: # inspected, # defects observed
b. copy/paste two columns from Excel: # inspected    # defects observed
Excel template

5C. Simulation true proportion defective (range: 0 to 1.0): Number of tests:

## Featured Reference: Reliability and Life Testing Handbook, Vol. 2

Toolkit Home  