7.
Product and Process Comparisons
7.2.
Comparisons based on data from one process
7.2.4.
Does the proportion of defectives meet requirements?
7.2.4.2.
|
Confidence intervals for small sample sizes
|
|
|
Exact binomial confidence limits
|
If the sample size, N, is small,
confidence limits that are approximated using the normal
distribution may not be accurate enough for some applications. An
"exact" method based on the binomial distribution is discussed on
this page.
|
|
Constrution of exact two-sided confidence intervals based on
the binomial distribution
|
To construct a two-sided confidence interval at the
100(1 - )% confidence
level for the true proportion defective p where
Nd defects are found in a sample of
size N follow the steps below.
- Solve the equation
for pU to obtain the upper
100(1- )% limit for
p.
- Next solve the equation
for pL to obtain the lower
100(1 - )%
limit for p.
|
|
Note
|
The interval {pL, pU} is an exact
100(1 - )%
confidence interval for p. However, it is not symmetric
about the observed proportion defective,
.
|
|
Example of calculation of upper limit for binomial confidence
intervals using EXCEL
|
The equations above that determine pL and
pU can easily be solved using functions built
into EXCEL. Take as an example the situation where twenty units
are sampled from a continuous production line and four items are
found to be defective. The proportion defective is estimated to be
= 4/20 = 0.20.
The calculation of a 90% confidence interval for the true proportion
defective, p, is demonstrated using EXCEL spreadsheets.
|
|
Upper confidence limit from EXCEL
|
To solve for pU:
- Open an EXCEL spreadsheet and put the starting value of 0.5
in the A1 cell.
- Put =BINOMDIST(Nd, N, A1, TRUE)
in B1, where Nd = 4 and N = 20.
- Open the Tools menu and click on GOAL SEEK. The GOAL SEEK
box requires 3 entries.
- B1 in the "Set Cell" box
/2
= 0.05 in the "To Value" box
- A1 in the "By Changing Cell" box.
The picture below shows the steps in the procedure.
|