Acceptance Sampling Powerpoint
Acceptance Sampling Powerpoint
Knowing How to Do It
Getting Better Every Day
Acceptance Sampling
I
plan
How to use (and understand) ANSI/ASQ Z1.4
How to use ANSI/ASQ Z1.9
Assessing Inspection Economics
Acceptance Sampling Webinar
20101129
What is Sampling
Sampling refers to the practice of evaluating
(inspecting) a portion -the sample - of a lot the
population for the purpose of inferring information
about the lot.
Statistically speaking, the properties of the sample
distribution are used to infer the properties of the
population (lot) distribution.
An accept/reject decision is normally made based on
the results of the sample
Sampling is an Audit practice
Acceptance Sampling Webinar
20101129
Why Sample?
Economy
Less inspection labor
Less time
Less handling damage
Provides check on process control
Fewer errors ???
i.e. inspection accuracy
rejected items)
Does not guarantee elimination of defectives any
AQL permits defectives
Sampling Caveats
Size of sample is more important than percentage of lot
Only random samples are statistically valid
Access to samples does not guarantee randomness
Acceptance sampling can place focus on wrong place
Supplier should provide evidence of quality
Focus should be on process control
Representative Sample?
There is no such thing as a single
representative sample
Why?
Draw repeated samples of 5 from a normally
distributed population.
Record the X-bar (mean) and s (std.dev) for each
sample
What is the result?
Acceptance Sampling Webinar
20101129
Distribution of Means
10
11
Stratified Sampling
Random samples are selected from a homogeneous lot.
13
14
Percent Defective
Acceptance Sampling Webinar
20101129
15
16
Sampling Terms
AQL Acceptable Quality Level: The worst quality
17
designated by n
Lot Size number of items in the lot (population)
usually designated by N
Acceptance Sampling Webinar
20101129
18
Sampling Risks
Producers Risk : calling the population bad
19
20
Acceptance Sampling
II
21
22
Hyper-geometric
23
Hyper-geometric (cont)
= (DCk
Cn-k) / NCn
Nq
24
Hypergeometric Calculator
25
Hypergeometric Calculator
Example: p=0.02, k=0, N=100,
n=10
26
Hypergeometric Calculator
Example: p=0.02, k=0, N=100, n=10
27
Hypergeometric Calculator
Example: p=0.02, k=0, N=100, n=10
P (k=0) = 0.809091
P (k=1) = 0.181818
P (k=2) = 0.009091
----------------------P(k2) = 1.0
28
29
Poisson
Construct the following Table, using the Poisson Cumulative Table
p
np
P (k 2)
0%
1%
2%
3%
4%
etc.
31
Poisson Calculator
Example: p=0.02, n=10, c=0
32
Poisson Calculator
Example: p=0.02, n=10, c=0
Mean = np
33
Poisson Calculator
Example: p=0.02, n=10, c=0
TRUE for cumulative, i.e. k; FALSE for probability mass function, i.e.p(x=k)
34
35
36
Pa
AOQ = p * Pa
1%
2%
3%
etc
Graph the results: Pa and AOQ vs p.
Acceptance Sampling Webinar
20101129
38
39
40
Acceptance Sampling
III
41
Questions
1. What if this AOQ is not adequate?
2. What if you would like to add a 2nd sample when the
Example
OC curve after 1st Sample:
p=0.02, n=30, N=500, c (Ac)=0, Re=2
42
D=Np
N=
500
500
500
500
n=
30
60
60
60
Nq=N-Np
P(k=0)
P(k=0)
P(k=1)
0
1
P(k 1)
1
0.00
500
0.01
495
0.73
0.53
0.36
0.89
0.02
10
490
0.54
0.28
0.38
0.66
0.03
15
485
0.39
0.14
0.30
0.44
0.04
20
480
0.28
0.07
0.21
0.28
0.05
25
475
0.20
0.04
0.14
0.17
0.06
30
470
0.15
0.02
0.08
0.10
0.07
35
465
0.11
0.01
0.05
0.06
43
44
ANSI/ASQC Z1.4-1993
Mil-Std 105
45
ANSI/ASQC Z1.4-1993
Exercises
46
47
n=125,
48
49
50
ANSI/ASQC Z1.4-1993
What happens when AQL = . 1% isnt good
enough
AQL = 0.1% => 1000 ppm
Is Z1.4 Adequate?
How would you decide?
If not, what would you do?
Construct O-C curve for n=1000, c=0 (Poisson). Use
100ppm < p < 5000 ppm (see slides 38 & 39)
Acceptance Sampling Webinar
20101129
51
ANSI/ASQC Z1.9-1993
Mil-Std 414
52
ANSI/ASQC Z1.9-1993
Mil-Std 414
53
ANSI/ASQC Z1.9-1993
Exercise (From QCI, CQE Primer, pVI-37)
54
55
56
ANSI/ASQC Z1.9-1993
What is k
k is a critical statistic (term used in hypothesis testing).
It defines the maximum area of the distribution which can be
above the USL.
When Qcalc > k, there is less of distribution above Qcalc than above
k and lot is accepted. (Compare to Z table)
Increasing (USL - X-bar) increases Pa
57
ANSI/ASQC Z1.9-1993
Exercise Solution
accepted
58
59
ANSI/ASQC Z1.9-1993
Another Exercise
Same information as before
AQL = 0.1
Find Code Letter, n, k
Accept or Reject Lot?
60
61
Inspection Economics
Average Total Inspection: The average number
of devices inspected per lot by the defined sampling
plan
ATI = n Pa + N(1- Pa)
which assumes each rejected lot is 100% inspected.
Average Fraction Inspected:
AFI = ATI/N
Average Outgoing Quality:
AOQ = AQL (1 AFI)
Acceptance Sampling Webinar
20101129
62
Inspection Economics
Exercise (from Grant & Leavenworth, p395)
63
Inspection Economics
Exercise Solution
N
1000
1000
1000
100
170
240
Pa
0.59
0.8
0.92
n Pa
59
136
220.8
N(1- Pa)
410
200
80
ATI
460
336
300.8
AFI
0.460
0.336
0.301
AOQ
0.0027 0.00332
.00349
64
Inspection Economics
Comparison of Cost Alternatives
No Inspection
NpD
100% Inspection
NC
Sampling
nC + (N-n)pDPa + (N-n)(1-Pa)C
D = Cost if defective passes; C = Inspection cost/item
Acceptance Sampling Webinar
20101129
65
Inspection Economics
66
Resources
American Society for Quality
Quality Press
www.asq.org
ASQ/NC A&T partnership quality courses
CQIA, CMI, CQT, CQA, CQMgr, CQE, CSSBB
Quality Progress Magazine
And others
Web-Sites
www.stattrek.com excellent basic stat site
http://mathworld.wolfram.com/ - greaqt math and stat site
Acceptance Sampling Webinar
20101129
67