Introduction To Variability: Acceptance Sampling
Introduction To Variability: Acceptance Sampling
Introduction To Variability: Acceptance Sampling
Acceptance Sampling
Acceptance Sampling
Lot Sentencing: NO
Accept lot?
YES
• Suggested technique:
1. Assign a number to each unit, or use location of unit in lot
2. Generate / pick a random number for each unit / location in lot
3. Sort on the random number – reordering the lot / location pairs
4. Select first (or last) n items to make sample
Single Sampling Plans for
Attributes
• Quality characteristic is an attribute, i.e., conforming or
nonconforming
– N - Lot size
– n - sample size
– c - acceptance number
• d - # defectives ~ Binomial(p,n)
where
– p - fraction defective items in lot
– n - sample size
• Probability of acceptance:
c
n x
Pa P x c p 1 p
n x
x 0 x
Example
• Lot fraction defective is p = 0.005,
n = 89 and c = 2. Find probability of accepting lot.
x 0 x !( n x )!
2
89 !
.005 x
(. 995 )89 x
x 0 x !(89 x )!
0.9897
Example
• Lot fraction defective is p = 0.01,
n = 89 and c = 2. Find probability of accepting lot.
x 0 x !( n x )!
2
89 ! x
. 01 (. 99 )89 x
x 0 x !(89 x )!
0.9397
OC Curve
0.005 0.9897
0.010 0.9397
0.015 0.8502
0.020 0.7366
0.025 0.6153
0.030 0.4985
0.035 0.3936
OC Curve
Probability of Acceptance, Pa
1.0
0.8 n=89
0.6 c=2
Pa
0.4
0.2
0.0
0.00 0.02 0.04 0.06 0.08 0.10
Lot fraction defective, p
• OC curve displays the probability that a lot submitted with a certain fraction
defective will be either accepted or rejected given the current sampling plan
Ideal OC Curve
Probability of Acceptance, Pa
1.00
0.80
n=50, c=1
0.60
Pa n=100, c=2
0.40
n=200, c=4
0.20
n=1000, c=20
0.00
0.00 0.02 0.04 0.06 0.08 0.10
Lot fraction defective, p
Probability of Acceptance, Pa
1.0
0.8
n=89, c=2
0.6
Pa n=89, c=1
0.4
0.2 n=89, c=0
0.0
0.00 0.02 0.04 0.06 0.08 0.10
and
– a bad lot will be accepted
(Consumer’s Risk – )
Producer’s Risk -
• Producer wants as many lots accepted by consumer as possible so
– Producer “makes sure” the process produces a level of fraction defective
equal to or less than:
is the probability that a good lot will be rejected by the consumer even
though the lot really has a fraction defective p1
• That is,
x 3 x !(89 x )!
2
89 ! x
1 . 01 (. 99 )89 x
x 0 x !(89 x )!
0.0103
Consumer’s Risk -
• Consumer wants to make sure that no bad lots are accepted
– Consumer says, “I will not accept a lot if percent defective is greater than
or equal to p2”
is the probability a bad lot is accepted by the consumer when the lot
really has a fraction defective p2
• That is,
89
89 ! x
.05 (.95)89 x
x 3 x !(89 x )!
0.1721
Designing a Single-Sampling Plan with a Specified OC
Curve
• Specify:
• p1 = AQL (Acceptable Quality Level)
• Example: Suppose
– p1 = 0.01,
– α = 0.05,
– p2 = 0.06,
– β = 0.10.
Greek - Axis
n = 140
P2 = LTPD = .05
= .10
1 – = 1 – .05 = .95
c=3
x4 x !(140 x )!
3
140 ! x
1 . 01 (. 99 )140 x
x 0 x !(140 x )!
0.0528
Check – Consumer Risk
P( accept lot ) P( no. defectives 3| p .05, n 140)
140
140 ! x
.05 (.95)140 x
x 3 x !(140 x )!
0.0765
Rectifying Inspection Programs
Incoming Lots:
Fraction Defective
p0
Inspection
Activity
Rejected Lots:
Accepted
100%
Lots
Inspected
Fraction Fraction
Defective = 0 Defective
p0
Outgoing Lots:
Fraction Defective
p1 p0
Where to Use Rectifying
Inspection
• Used when manufacturer wishes to know average level
of quality that is likely to result at given stage of
manufacturing
• Example stages:
– Receiving inspection
– In-process inspection of semi-finished goods
– Final inspection of finished goods
Pa p N n
AOQ
N
• N - Lot size, n = # units in sample
• Assumes all known defective units replaced with good
ones, that is,
– If lot rejected, replace all bad units in lot
– If lot accepted, just replace the bad units in sample
Development of AOQ
• If lot accepted:
Number defective units in lot:
# units
fraction
p N n remaining
defective
in lot
• Expected number of defective units:
Lot # defective
Pa p N n Prob accepted units in lot
• Average fraction defective,
Average Outgoing Quality, AOQ:
Pa p N n
AOQ
N
Example for AOQ
Pa p N n
AOQ
N
.9397(.01)(10, 000 89)
10, 000
0.0093
Military Standard 105E
(MIL STD 105E)
(ANSI/ASQC Z1.4, ISO 2859)
• Tightened Inspection
– Instituted when vendor’s recent quality history has deteriorated
– Acceptance requirements for lots are more stringent
• Reduced Inspection
– Instituted when vendor’s recent quality history has been
exceptionally good
– Sample size is usually smaller than under normal inspection
Switching Rules
Start
AND conditions
- Production Steady
- 10 consecutive lots accepted 2 out of 5 consecutive lots
- Approved by responsible rejected
authority
OR conditions
- Lot rejected
- Irregular production
- Lot meets neither accept 5 consecutive
nor reject criteria lots accepted
- Other conditions warrant
return to normal inspection
Discontinue
Inspection
Procedure for
MIL STD 105E
• STEP 1: Choose AQL
– MIL STD 105E designed around Acceptable Quality
Level, AQL
• Recall that the Acceptable Quality Level, AQL, is
producer's largest acceptable fraction defective in process
Lot Size
= 2000
AQL
Plan K
Plan K
Plan K
Sample 50 units
Ac = 1, accept if defects ≤ 1.
Re = 3, reject entire lot if defects ≥ 3.