Aceptance Sampling
Aceptance Sampling
9 ACCEPTANCE
SAMPLING
Objectives
After studying this chapter you should
9.0
Introduction
167
Activity 1
Think of three examples where testing would be destructive.
(Hint: tests involving measuring the lifetime of items are usually
destructive.)
9.1
Acceptance sampling
attributes
Operating characteristics
For any particular plan the operating characteristic is a graph of
the probability of accepting a batch against the proportion nonconforming in the batch. Provided the sample is small compared
to the size of the batch and the sampling is random, the probability
of each member of the sample being non-conforming may be
taken to be constant. In this case the number of non-conforming
items in a batch will follow a binomial distribution.
One possible acceptance sampling plan is to take a sample of size
50 and to reject the batch if 3 or more non-conforming items are
found. If two or less non-conforming items are found the batch
will be accepted. This plan is often denoted by n = 50 , r = 3 . For
a batch containing a given proportion of non-conforming items
168
the probability of the sample containing two or less nonconforming items may be read directly from tables of the binomial
distribution ( or may be calculated). For example, if the batch
contained 4% non-conforming items, the probability of any
particular item in the sample being classified non-conforming is
0.04 and the probability of the batch containing two or less nonconforming items and therefore being accepted is 0.6767. The
table below shows the probability of acceptance for a range of
other cases.
Operating characteristics for n = 50, r = 3
Proportion non-conforming
in batch
Probability of
accepting
0.00
1.000
0.01
0.986
0.02
0.922
0.04
0.677
0.06
0.416
0.08
0.226
0.10
0.112
0.15
0.014
0.20
0.001
P (accept)
0.5
0.1
0.2
proportion non-conforming
P (accept)
0.5
Activity 2
0
0.04
proportion non-conforming
The larger the sample size the steeper the graph. That is, the larger
the sample size, the better the plan discriminates between good
batches (i.e. batches with a small proportion of non-conforming
169
items) and bad batches (i.e. batches with a large proportion of nonconforming items). Note that, provided the batch is large enough
for the binomial distribution to give a good approximation to the
probabilities, it is the number of items inspected which determines
how good the sampling plan is. The proportion of the batch
inspected is not important. Provided the sampling is random it will
be better to test say 100 items from a batch of 5000 than to test 10
items from a batch of 500.
Example
A manufacturer receives large batches of components daily and
decides to institute an acceptance sampling scheme. Three possible
plans are considered, each of which requires a sample of 30
components to be tested:
Plan A:
Plan B:
Accept the batch if not more than one nonconforming component is found, otherwise reject.
Plan C:
2% non-conforming
(ii) 8% non-conforming.
(b) Without further calculation sketch on the same axes the
operating characteristic of each plan.
(c) Which plan would be most appropriate in each of the
circumstances listed below?
(i)
1 0.02 = 0.98 .
The probability of no non-conforming components in the
sample is
0.9830 = 0.545
and this is the probability of the batch being accepted if
Plan A is used.
Plan B: 0.296
Plan C: 0.565
0.02
C
B
A
0.08
proportion non-conforming
171
Example
(a) An acceptance sampling scheme consists of inspecting 25
items and rejecting the batch if two or more non-conforming
items are found. Find the probability of accepting a batch
containing 15% non-conforming. Find also the probability
of accepting batches containing 2, 4, 6, 8, 10 and 20% nonconforming.
(b) The manufacturer requires a plan with a probability of not
more than 0.05 of rejecting a batch containing 3% nonconforming. If the sample size remains 25, what should the
criterion be for rejecting the batch if the manufacturer's risk
is to be just met?
(c) It is decided to increase the number of items inspected to 50.
What should the criterion be for accepting a batch if the
consumer's risk of accepting a batch containing 15% nonconforming is to be as near as possible to 10%? Plot the
operating characteristic for this plan on the same axes as the
first. Does this plan satisfy the manufacturer's risk specified
in (b)?
(d) Discuss the factors to be considered when deciding which of
the plans to use.
(AEB)
Solution
(a) The batch will be accepted if 0 or 1 non-conforming items
are found in a sample of 25 from a batch containing 15%.
This may be calculated using the binomial distribution
n = 25, p = 0.15 or read from tables. The probability is
0.8525 + 25 0.15 0.8524 = 0.0931
172
P(accept)
0.02
0.911
0.04
0.736
0.06
0.553
0.08
0.395
0.10
0.271
0.20
0.027
P (accept)
1
0.02
0.08
proportion non-conforming
P(r or less)
0.467
0.828
0.962
0.994
P(r or less)
0.003
0.014
0.046
0.112
0.219
0.997
0.04
0.951
0.07
0.729
0.10
0.431
0.15
0.112
0.20
0.018
P (accept)
n = 50, r = 5
0.5
n = 25, r = 2
0.1
0.2
proportion non-conforming
173
Exercise 9A
1. An acceptance sampling scheme consists of
taking a sample of 20 from a large batch of
items and accepting the batch if the sample
contains 2 or less non-conforming items. Draw
the operating characteristic for this scheme.
2. An engine component is defined to be defective
if its length (in 0.001mm) is outside the range
19950 to 20050.
(a) An acceptance sampling scheme consists of
taking a sample of size 50 from each batch
and accepting the batch if the sample contains
2 or fewer defectives. If the sample contains
3 or more defectives the batch is rejected.
Find the probability of accepting batches
containing 2%,5%,10% and 15% defective
and draw the operating characteristic.
(b) The customer complains that the plan in (a)
has far too high a risk of accepting batches
containing a large proportion of defectives.
As far as she is concerned a batch containing
1 in 1000 defectives is bad but she will agree
that a batch containing 1 in 10000 defectives
is good.
174
(i)
9.2
n = 30; a = 1, r = 3 ,
n = 30; a = 4, r = 5.
The acceptance number is a,i.e. the batch will be accepted if up to
a non-conforming items are found. The rejection number is r, i.e.
the batch will be rejected if r or more non-conforming items are
found.
Note that the acceptance and rejection numbers refer to all items
that have been inspected, not just to the most recent sample. There
is no reason why the first and second sample need be of the same
size, but in practice this is nearly always the case.
The idea behind double sampling plans is that a very good batch
or a very bad batch may be detected with a relatively small sample
but for an intermediate batch it is desirable to take a larger sample
before deciding whether to accept or reject.
Example
A firm is to introduce an acceptance sampling scheme. Three
alternative plans are considered.
Plan A
Take a sample of 50 and accept the batch if no nonconforming items are found, otherwise reject.
Plan B
Plan C
Take a sample of 40 and accept the batch if no nonconforming items are found. Reject the batch if 2 or
more are found. If one is found, then take a further
sample of size 40. If a total of 2 or fewer (out of 80)
is found, accept the batch, otherwise reject.
1% non-conforming
(ii)
10% non-conforming.
Solution
(a)
Plan A:
accept 0.
P(accept) = (1 p) .
50
2
for p = 0.01 , P (accept) = 0.986 ;
for p = 0.1 , P (accept) = 0.112
Plan C:
accept 0 in first sample (in which case no
second sample will be taken) or 1 in first sample and 0 in
second sample or 1 in first sample and 1 in second sample.
There are no other ways of accepting the batch - if 2 or more
are found in the first sample the batch is immediately
rejected and if 1 is found in the first sample and 2 or more in
the second (giving a total of 3 or more) the batch is rejected.
The samples are of equal size and the batch is large so the
probability of acceptance may be expressed as
P( 0 ) + P(1) P( 0 ) + P(1) P(1)
P( 0 ) = (1 p)
40
P(1) = 40 p (1 p ) .
39
P (accept)
B
0.5
(b)
(c)
For Plan C, if the first sample contains 0 or 2 or more nonconforming, a decision as to whether to accept or reject the
batch is made immediately. A second sample is only taken if0
the first sample contains exactly 1 non-conforming item.
The average number of items inspected is
40 + 40 P(1)
176
C
A
0.01
0.1
0.2
proportion non-conforming
Activity 3
The three plans in the previous example are to be considered for
use in a situation where it is expected that most batches
submitted will contain about 1% non-conforming but that
occasionally batches will contain about 10% non-conforming.
Decide which of the three plans would be most suitable in each of
the following cases:
(i)
(ii) it is important that batches containing 10% nonconforming should be rejected as frequently as
possible;
(iii) a balance should be struck between the risk of accepting
batches containing 10% non-conforming and the risk of
rejecting batches containing 1% non-conforming.
Example
The following acceptance sampling plans have similar operating
characteristics.
Plan 1
Plan 2
177
n = 50
n = 80
0.1299
0.0382
0.4005
0.1654
0.6767
0.3748
0.8609
0.6016
0.9510
0.7836
0.9856
0.8988
0.9964
0.9588
0.9992
0.9852
Use Plan 1;
2nd sample
0
1
2
178
Hence the expected cost of the double sampling plan is less than
that of the single sampling plan no matter whether two separate
samples of 50 are taken as required, or a single sample of 100 is
taken. This calculation, of course, applies only to the case where
batches containing 4% non-conforming are submitted. However,
the conclusion is probably true for all other possible batches. The
double sampling plan is, however, more complex to operate.
Activity 4
For Plan 2 in the Example above, calculate the expected number of
items inspected if the proportion non-conforming in the submitted
batch is 0.00, 0.02, 0.04, 0.06, 0.08, 0.10 and 0.15. Draw a
graph of this expected number against the proportion nonconforming.
179
Is this graph consistent with the statement that, for plans with
similar operating characteristics, the expected number inspected
will be less for a double sampling plan than for a single
sampling plan?
Exercise 9B
1. (i) An acceptance sampling scheme consists of
taking a sample of size 20 and accepting the
batch if no non-conforming items are found.
If 2 or more non-conforming items are found
the batch is rejected. If 1 non-conforming
item is found a further sample of 20 is taken
and the batch is accepted if a total of 2 or
fewer (out of 40) non-conforming items are
found. Otherwise it is rejected. This plan is
denoted
n = 20, a = 0, r = 2
n = 20, a = 2, r = 3 .
180
n = 30 n = 50
1.0000 1.0000
0.7854 0.9231
0.4465 0.7206
0.1878 0.4595
0.0608 0.2396
9.3
Acceptance sampling by
variable
Operating characteristic
A component for use in the manufacture of office machinery will
fail to function if the temperature becomes too high. A batch of
these components has a mean failure temperature of 95.6C. The
standard deviation is 2.4C. The company receiving this batch
operates the following acceptance sampling scheme - test a
sample of size 16 and reject the batch if the mean failure
temperature is less than 95.0C.
It is reasonable to assume normal distribution since we are
concerned with the mean of a reasonably large sample. The batch
will be accepted if the sample mean exceeds 95.0C.
z=
0.8413
95 95.6
= 1
2. 4
16
181
( k ) /
93.2
3.0
0.001
93.8
2.0
0.023
94.4
1.0
0.159
94.7
0.5
0.308
95.0
0.0
0.500
95.3
0.5
0.691
95.6
1.0
0.841
96.2
2.0
0.977
96.8
3.0
0.999
P(accept)
P (accept)
0.8
0.6
0.4
0.2
0
93
94
95
96
97
oC
P (accept)
1
% impurity
P (accept)
Activity 5
Think of an example where acceptance sampling by variables
could be applied and the value of the variable should be
(i)
as large as possible,
Example
(a) Before cement is delivered to a civil engineering site, a
number of small bricks are made from it. Five are chosen at
random and measured for compressive strength (measured in
183
(51 ) / 5.5
P(accept)
44
2.846
0.002
46
2.033
0.021
48
1.220
0.111
50
0.407
0.342
52
0.407
0.658
54
1.220
0.889
56
2.033
0.979
58
2.846
0.998
(51 52.5)
5.5
0.8
0.6
0.4
0.2
0
40
45
< 1.645
n > 36. 4
The minimum value of n to satisfy the manufacturer's
requirement is 37.
184
0.05
1.645
50
55
60
( 49. 4 47)
5.5
> 1.282
0.1
n > 2.94
n > 8.63
(52.5 49. 4)
5.5
0.9546
= 1.691
1.691
Exercise 9C
1. An acceptance sampling plan consists of
weighing a sample of 6 loaves of bread and
accepting the batch if the sample mean is greater
than 900g. Draw the operating characteristic if
the standard deviation is known from past
experience to be 12g.
2. An acceptance sampling plan consists of
measuring the percentage of fat in a sample of 8
prepackaged portions of boiled ham. The batch
is rejected if the mean proportion exceeds 42%.
If the standard deviation is estimated to be 3%,
draw the operating characteristic.
3. The quality of a certain chemical is measured by
the time it takes to react. (The shorter the time,
the better the quality). This time is known to be
normally distributed with a standard deviation of
8 seconds. Nine samples are taken from each
batch and the batch accepted if the mean reaction
time is less than 33.5 seconds.
185
9.4
Miscellaneous Exercises
n = 20, a = 0, r = 2
n = 20, a = 2, r = 3
(i) What is the probability of a batch
containing 10% non-conforming being
accepted?
(ii) What is the average number of items
inspected when batches containing 10%
non-conforming are submitted?
186
187
188