# Deriving the Success Run Theorem The success run theorem is one of the most common statistical rationales for sample sizes used for attribute data. Credit: Mathieu Turle on Unsplash.

Having zero failures out of 22 samples, we can be 90% confident that the process is at least 90% reliable (or at least 90% of the population is conforming).

p(rejecting the lot) = 1 – p(22 conforming products in a row) = 1 – 0.10 = 0.90 = 90%

Quality Digest does not charge readers for its content. We believe that industry news is important for you to do your job, and Quality Digest supports businesses of all types.

n * ln(R) = ln(1 – C)

It goes in the form of:

Using the multiplication rule of probability:

Or R^n = 1 – C

Or:

Published: Monday, August 28, 2023 – 12:03

Let’s assume that q is the conforming rate (probability of finding a good part).

The derivation is straightforward and we can use the multiplication rule of probability to derive it. Let’s assume that we have a lot of infinite size, and we are testing random samples out of the lot. The infinite size of the lot ensures independence of the samples. If the lot was finite and small, then the probability of finding good (i.e., conforming) or bad (nonconforming) parts will change from sample to sample if we’re not replacing the tested sample back into the lot.

The formula for the success run theorem is given as:

First published July 4, 2023, in Harish’s Notebook.

منبع: https://www.qualitydigest.com/inside/lean-article/deriving-success-run-theorem-082823.html

Let’s calculate the probability of finding 22 conforming products in a row. In other words, we’re testing 22 random samples, and we want to determine the probability of finding 22 good parts. This is also the probability of not finding any bad product in the 22 random samples. For ease of explanation, let’s assume that q = 0.9, or 90%. This rate of conforming product can also be notated as the reliability, R.

p(22 conforming products in a row) = 0.9 x 0.9 x 0.9 …
x 0.9 = 0.9 ^22 = 0.10 = 10%

Any statistical statement we make should reflect our lack of knowledge of the “true” value/nature of the parameter we’re interested in.

Having zero failures out of 59 samples, we can be 95% confident that the process is at least 95% reliable (or at least of 95% of the population is conforming).

If we find zero rejects in the 22 samples, we’re also going to accept the lot. Therefore, this is also the probability of accepting the lot.

n = ln(1 – C)/ ln(R), where n is the sample size, nl is the natural logarithm, C is the confidence level, and R is reliability.

Or n = ln(1 – C)/ln(R)

Using a similar approach, we can derive a one-sided, nonparametric tolerance interval. If we test 22 samples, we can say with 90% confidence level that at least 90% of the population is above the smallest value of the samples tested.

Lean

## Deriving the Success Run Theorem

### Any statistical statement we make should reflect our lack of knowledge

The complement of this is the probability of not finding 22 conforming products in a row, or the probability of finding at least one nonconforming product in the 22 samples. This is also the probability of rejecting the lot.