Professional Documents
Culture Documents
Calculating Sample Size To Estimate, With Specified Precision, The Average For A Characteristic of A Lot or Process
Calculating Sample Size To Estimate, With Specified Precision, The Average For A Characteristic of A Lot or Process
1. Scope
e = E/µ, maximum acceptable difference expressed as a
1.1 This practice covers simple methods for calculating fraction of µ.
how many units to include in a random sample in order to f = degrees of freedom for a standard deviation estimate
estimate with a specified precision, a measure of quality for all (7.5).
the units of a lot of material, or produced by a process. This k = the total number of samples available from the same or
practice will clearly indicate the sample size required to similar lots.
estimate the average value of some property or the fraction of µ = lot or process mean or expected value of X, the result
nonconform- ing items produced by a production process of measuring all the units in the lot or process.
during the time interval covered by the random sample. If the µ0 = an advance estimate of µ.
process is not in a state of statistical control, the result will not N = size of the lot.
have predictive value for immediate (future) production. The n = size of the sample taken from a lot or process.
practice treats the common situation where the sampling units nj = size of sample j.
can be considered to exhibit a single (overall) source of nL = size of the sample from a finite lot (7.4).
variability; it does not treat multi-level sources of variability. p' = fraction of a lot or process whose units have the
nonconforming characteristic under investigation.
2. Referenced Documents p0 = an advance estimate of p'.
p = fraction nonconforming in the sample.
2.1 ASTM Standards:2 R = range of a set of sampling values. The largest minus the
E456 Terminology Relating to Quality and Statistics smallest observation.
Rj = range of sample j.
3. Terminology R¯ = k R /k , average of the range of k samples, all of the
3.1 Definitions—Unless otherwise noted, all statistical
(
j51
j
standard
average and the sample average. deviation σ from n observation, Xi, i = 1 to n.
k
s¯ Sj/k , average s from k samples all of the same size
(
j51
1
This practice is under the jurisdiction of ASTM Committee E11 on Quality
= (8.2.1).
and
Statistics and is the direct responsibility of Subcommittee E11.10 on Sampling / sp = pooled (weighted average) s from k samples, not all of
Statistics.
the same size (8.2).
Current edition approved Aug. 1, 2009. Published September 2009. Originally
approved in 1958. Last previous edition approved in 2007 as E122 – 07. DOI: sj = standard deviation of sample j.
10.1520/E0122-09E01. Vo = an advance estimate of V, equal to δo /µo.
2
For referenced ASTM standards, visit the ASTM website, www.astm.org, or v = s/X¯ , the coefficient of variation estimated from
contact ASTM Customer Service at service@astm.org. For Annual Book of ASTM the sample.
Standards volume information, refer to the standard’s Document Summary page on
the ASTM website. vp = pooled (weighted average) of v from k samples (8.3).
1
Copyright © ASTM International, 100 Barr Harbor Drive, PO Box C700, West Conshohocken, PA 19428-2959. United States
2
E122 − 09s1
When the advance estimate results from use 8.3.1 Example 2—Use
Table 1 is needed to
σ0 is based on f degrees of of Eq 6. of V, the estimated
freedom, the sample size in
Eq 1 may be replaced(by:
F convert the average range
into an unbiased estimate k
~n
( coefficient of variation:
7 8.3.1.1 Problem—To
of(σo.
1
2 / )
k 2 compute the
~ 3σ0/E ! 2 ~ 11 =2/f !
n5 8.2.3 Example 1—Use of
s¯.
s
5
2
1! G sample size needed
to
8.2.3.1 Problem—To 1!
NOTE 2—The standard error s
of a sample variance with f compute the sample size 2/
degrees of freedom, based on the needed to estimate the p j
estimate the
normal distribution, is =2σ 4 /f. average transverse strength
The factor
j j
average abrasion
of a lot of bricks when the j5 j
5
E122 − 09s1
e u
a
c l
o
r d
r a
e t
c a
t
i s
o e
n t
s
f
a (
c n
t j
o )
r
, (
T
c a
4
b
, l
e
d
e 1
3
p
e )
n .
d
s 3
o A
S
n T
M
t
h M
e a
n
u
s a
i l
z
e o
n
o P
f r
e
s
t e
h n
e t
a
t
i i
n o
d n
i
o
v f
i
d D
6
E122 − 09s1
a the estimated fraction
t
nonconforming, p, for each some other source. Try to
a picture how the other
sample. Then for the
weighted average use the observed values may be
a
n following equation: distributed. A few simple
d observations and questions
total number
nonconforming concerning the past behavior
C in all samples of the process, the usual
o p5
total number procedure of blending,
n
t of units in all mixing, stacking, storing,
r samples etc., and knowledge
o concerning the aging of
l 8.4.1 Example 3—Use of material and the usual
p: practice of withdrawing the
C
h
8.4.1.1 Problem—To material (last in, first out; or
a compute the size of sample last in, last out) will usually
r needed to estimate the elicit sufficient information
t fraction nonconforming in a to distinguish between one
lot of alloy steel track bolts form of distribution and
A
n
and nuts when the value of E another (Fig. 1). In case of
a is 0.04, and practical doubt, or in case the
l certainty is desired. specified precision E is a
y
8.4.1.2 Solution—The critical matter, the
s
i data in the following table rectangular distribution may
s from four previous lots were be used. The price of the
, used for an advance extra protection afforded by
estimate of p: the rectangular distribution
A
S is a larger sample, owing to
T the larger standard
M deviation thereof.
9.2.1 The standard
M deviation estimated from
N
L one of the formulas of Fig. 1
as based on the largest and
7 smallest values, may be
A used as an advance estimate
,
of σo in Eq 1. This method
of advance estimation is
2
0 acceptable and is often
0 preferable to doubtful
2 observed values of s, s¯, or
,
r¯.
9.2.2 Example 4—Use of
P
a σo from Fig. 1.
r 9.2.2.1 Problem (same as
t Example 1)—To compute
the sample size needed to
3 estimate the average
.
transverse strength of a lot
The use of the pooled 8.3.1.3 If a maximum of bricks when the value of
coefficient of variation for allowable error of 5 % were E is 50 psi.
Vo in Eq 2 gives the needed, the required sample 9.2.2.2 Solution—From
following for the required size would be 86 specimens. past experience the spread
size of sample to give a The data supplied by the of values of transverse
maximum sampling error prescribed sample will be strength for a lot of bricks
not more than 10 % of the useful for the study in hand has been about 1200
expected value: and also for the next Numb F
ming
1
n 5 @ ~ 3 3 245! /50# 2
p = 21/390 = 0.054 5 14.7 2 5 216.1 5
n = (3/0.04)2 (0.054) S
217 bricks (14)
o
(0.946)
= [(9 × 0.0511) ⁄ 0.0016] 9.2.2.4 The difference in m
sample size between 217 e
= 287.4 = 288
and 149 bricks (found in
If the value of E were Example 1) is the cost of
T
0.01 the required sample y
sketchy knowledge. p
size would be 4600. With a e
lot size of 2000, Eq 4 gives 9.3 For Eq 2—In s
nL = 1394 items. Although general, the knowledge that
this value of nL represents the use of Vo instead of σo is o
about 70 % of the lot, the preferable would be f
example illustrates the obtained from the analysis
sample size required to of actual data in which D
achieve the value of E with case the methods of i
practical certainty. Section 8 apply. s
t
9.4 For Eq 3—From r
9. Reduction of past experience, estimate i
Empirical approxi- mately the band b
o
Knowledge to a within which the fraction
u
t
Numerical Value for nonconforming is likely to i
σo (No Data from lie. Turn to Fig. 2 and o
o
Previous Samples of read off the value of σ 2 = n
the Same or Like s
p' (1 − p') for the middle of
Material Available) the possible range of p' and a
9.1 This section use it in Eq 8. In case the n
illustrates the use of the desired precision is a d
equations in Section 7 when critical matter, use the
there are no actual observed largest value of σ 2 within T
values for the computation the possible range of p'. h
e
of σo. i
9.2 For Eq 1—From past 10. Consideration of Cost r
experience, try to discover for Sampling and
what the smallest (a) and Testing S
t
largest (b) values of the 10.1 After the required a
characteristic are likely to size of sample to meet a n
be. If this is not known, prescribed precision is d
a
obtain this information from computed from Eq 1, Eq 2,
r
or Eq 3, the next step is to d
compute the cost of testing
this size of sample. If the D
cost is too great, it may be e
possible to relax the v
i
required precision a
t
i
o
n
s
8
E122 − 09s1
determination of the validity of any such
11. Selection of the Sample patent rights, and the risk of infringement of
such rights, are entirely their own
11.1 In order to make responsibility.
any estimate for a lot or for
This standard is subject to revision at any
a process, on the basis of a time by the responsible technical committee
sample, it is necessary to and must be reviewed every five years and
select the units in the if not revised, either reapproved or
withdrawn. Your comments are invited either
sample at random. An for revision of this standard or for additional
acceptable procedure to standards and should be addressed to
ensure a random selection is ASTM International Headquarters. Your
comments will receive careful consideration
the use random numbers. at a meeting of the responsible technical
Lack of predictability, such committee, which you may attend. If you
as a mechanical arm feel that your comments have not received a
fair hearing you should make your views
FIG. 2 Values of σ, or (σ)2, sweeping over a conveyor known to the ASTM Committee on
Corresponding to Values belt, does not yield a Standards, at the address shown below.
of ρ'
random sample.
This standard is copyrighted by ASTM
(or the equivalent, which is 11.2 In the use of International, 100 Barr Harbor Drive, PO Box
C700, West Conshohocken, PA 19428-2959,
to accept an increase in the random numbers, the United States. Individual reprints (single or
probability (Section 7) that material must first be multiple copies) of this standard may be
the sampling error may broken up in some manner obtained by contacting ASTM at the above
address or at 610-832-9585 (phone), 610-
exceed the maximum error into sampling units. 832-9555 (fax), or service@astm.org (e-
E ) and to reduce the size Moreover, each sampling mail); or through the ASTM website