54
Views
0
CrossRef citations to date
0
Altmetric
Research Article

Replacing a 'Striped-Box' with the Normal Approximation

Abstract

A simple procedure is presented for obtaining the sample size and acceptance number for a single sample acceptance sampling plan, given the probability of lot acceptance for lots having proportion defective equal to p1, and the probability of lot rejection for lots having proportion defective equal to p2. The procedure gives a practical illustration of the use of the normal approximation to the binomial distribution that is appropriate for courses on statistical quality control as well as on introductory statistics.

1. Introduction

1 The most basic acceptance sampling plan considered in courses on statistical quality control can be described as follows. A large lot of items is to be inspected in order to ascertain its quality. A random sample of n items is selected, and D, the number of defectives (or nonconforming items) in the sample is counted. If D exceeds c, the acceptance number, then the lot is rejected. Otherwise, it is accepted. This is the so-called single-sampling plan.

2 Because of the simplicity and practicality of such plans, they are also appropriate for discussion or exercises in introductory courses on statistics, especially those designed for mathematics or statistics majors. They are useful as examples of binomial and hypergeometric models. In addition, the designing of such plans (that is, deciding upon n and c) provides nice nontrivial examples of the use of the normal approximation to the binomial distribution, highlighting the importance of the continuity correction, which is often one of the more difficult topics to motivate in an introductory course. Strangely, the approach taken toward designing such plans described in popular quality control textbooks avoids mention of the normal approximation to the binomial, even if the approximation is described in the ‘statistical background’ chapter. Instead, a ‘black-box’ method based on something called a binomial nomograph is described (see, e.g., CitationMontgomery 1996), and an opportunity to demonstrate the normal approximation in a practical setting is missed.

3 Such plans are usually designed (that is, n and c are chosen) to satisfy the competing interests of the lot producer and the lot consumer. The lot producer would like the probability of lot acceptance (1–α) to be high when the proportion of nonconforming units (p1) is low. The consumer requires the probability of lot acceptance (β) to be low when the proportion of nonconforming units (p2) is high. In the quality control textbook by Montgomery (1996, p. 620), it is stated that n and c should be taken to satisfy 1 α = d = 0 c ( n d ) p 1 d ( 1 p 1 ) n d . (1)

and β = d = 0 c ( n d ) p 2 d ( 1 p 2 ) n d . (2)

Montgomery goes on to say that the nonlinear Equationequations (1) and Equation(2) have no simple, direct solution. A binomial nomograph is then exhibited for use in obtaining solutions to these equations. The nomograph is a nonregular grid for which a relatively simple, but apparently magical, set of rules can be followed to obtain n and c, for given α,β, p1, and p2. An equivalently magical procedure is provided by Mitra (1998, p. 438-441), in which case a table of CitationGrubbs (1949) has been used to obtain sampling plans.

Figure 1. A Binomial Nomograph from Montgomery (1996, p. 620) (used with permission).

Figure 1. A Binomial Nomograph from Montgomery (1996, p. 620) (used with permission).

4 The goal of the present note is to make some remarks about the above equations and procedure and to present an alternative, simpler procedure for designing single-sampling plans. The idea is that the normal approximation to the binomial distribution leads to approximations for n and c, given and . A key motivation is to replace the black-box nature of the above nomograph procedure with a procedure that can be relatively easily understood. Such a procedure could be demonstrated in either an introductory statistics course or in a quality control course.

2. Some Remarks and the Normal Approximation Solution

5 The first thing to observe is that the nonlinear equations will usually not have an integer-valued solution. Thus, the nomograph will not usually provide a true solution, but it will yield an approximate solution. This will be accomplished by choosing the nearest grid point on the nomograph to the real-valued solution that the nomograph provides. One problem with this technique is that the resulting sampling design may sometimes result in probabilities of acceptance that are too low at p1 and/or too high at p2. What is really sought is a sampling design that satisfies (or comes close to satisfying) the inequalities 1 α d = 0 c ( n d ) p 1 d ( 1 p 1 ) n d (3)

and β d = 0 c ( n d ) p 2 d ( 1 p 2 ) n d . (4)

Usually, one would want to use the smallest value of n satisfying both inequalities. Using the normal approximation to the binomial distribution with the continuity correction, we have P ( D c ) = P ( D < c + 0.5 ) P ( Z < c + .5 n p n p ( 1 p ) ) (5)

where Z is a standard normal random variable. Thus, inequality (3) implies c + .5 n p 1 n p 1 ( 1 p 1 ) z α (6)

where P ( Z > z α ) = α , and inequality (4) implies c + .5 n p 2 n p 2 ( 1 p 2 ) z β . (7)

Thus, c z α n p 1 ( 1 p 1 ) + n p 1 .5 (8)

and c z β n p 2 ( 1 p 2 ) + n p 2 .5. (9)

A quadratic inequality in n can then be obtained by subtracting the first inequality from the second. The relevant solution satisfies n z α p 1 ( 1 p 1 ) + z β p 2 ( 1 p 2 ) p 2 p 1 . (10)

One possible value of n to try is the smallest integer satisfying the above inequality. The value of c may then be chosen as the smallest integer satisfying (8). However, the previously chosen value of n may not satisfy (9) for this particular value of c, so the value of n may need to be revised accordingly. This time, (9) may be viewed as a quadratic inequality in n , and the relevant solution set is given by n z β p 2 ( 1 p 2 ) + z β 2 p 2 ( 1 p 2 ) + 4 ( c + .5 ) p 2 2 p 2 (11)

The value of n should then be taken as the smallest integer satisfying (11). In some circumstances, one may wish to revise c, using the newly revised value of n and inequality (8), but this is usually not necessary.

6 gives an indication of the quality of the sampling plans obtained using the normal approximation (with continuity correction) for some typical situations. The nominal values of α,β, and p1 are fixed at .05, .1, and .01, respectively. The table provides the sampling plans for the tabulated values of p2, and also gives the true binomial probabilities α = P ( D > c ) (at p1) and β = P ( D c ) (at p2). These are listed in the fourth and fifth columns, respectively.

Table 1. Some Continuity Corrected Single-Sampling Plans for Various Values of p2, With p1 = 0.01, α= 0.05 (Nominal), and β= 0.1 (Nominal), Together With Actual Probabilities of Lot Rejection (at p1) and Acceptance (at p2)

7 It should be noted that, because the normal approximation is used, the required inequalities are sometimes mildly violated, especially (3); however, the violations are usually no worse than those for the Grubbs’ table or the nomograph. The sixth and seventh columns of indicates the relative size of these errors. That is, e r r o r i n α = max ( 0.05 α 0.05 , 0 )

and e r r o r i n β = max ( β 0.1 0.1 , 0 )

8 The method is surprisingly accurate even for cases where n turns out to have a small value. This is consistent with observations made by CitationKupper and Hafner (1989) about finding sample sizes for hypothesis tests when both test size and power at a particular alternative are specified.

3. Discussion

9 In practice, one could check P ( D c ) for both values of p to ensure that the sampling plan is satisfactory. If it is not, one could experiment with slightly larger values of n (together with the corresponding c values) to obtain plans that conform more closely to the nominal values of α and β.

10 It is also possible to try to correct the approximation using Cornish-Fisher expansions (e.g., CitationHall 1992). For example, one can show that c n p 1 .5 + z α n p 1 ( 1 p 1 ) ( 1 2 p 1 ) ( 1 z α 2 ) / 6 + O ( n 1 / 2 ) (12)

and c n p 1 .5 + z β n p 2 ( 1 p 2 ) ( 1 2 p 2 ) ( 1 z β 2 ) / 6 + O ( n 1 / 2 ) . (13)

Then, a sampling plan can be obtained by solving another quadratic inequality for n . The resulting plans obey inequalities (3) and (4) more often than the uncorrected plans. lists the corrected plans that correspond to the ones in , together with the actual probabilities of rejection at p1 and acceptance at p2. Although not listed in the table, there are some plans found by this procedure that violate inequality (3).

Table 2. Cornish-Fisher Corrected Single-Sampling Plans for Various Values of p2, With p1 = 0.01,α= 0.05 (Nominal), and β= 0.1 (Nominal), Together With Actual Probabilities of Lot Rejection (at p1) and Acceptance (at p2)

11 One might argue that when using the Cornish-Fisher correction, the simplicity and directness of the method are sacrificed. For most practical purposes, the normal approximation is probably adequate, and it is certainly easier for an undergraduate student to understand. On the other hand, it might not hurt for a senior undergraduate to see that there are relatively simple ways to improve on the normal approximation.

12 The continuity correction itself seems to be necessary in order to provide accurate results. If the correction is ignored, the above inequalities are violated fairly often, and sometimes by a substantial margin, as can be seen from . That table corresponds exactly to , except that c z α n p 1 ( 1 p 1 ) + n p 1

is used in place of (8) and n z β p 2 ( 1 p 2 ) + z β 2 p 2 ( 1 p 2 ) + 4 ( c ) p 2 2 p 2

is used in place of (11). Inequality (10) is still used to obtain the initial estimate of n.

Table 3. Uncorrected Single-Sampling Plans for Various Values of p2, With p1 = 0.01, α= 0.05 (Nominal), and β= 0.1 (Nominal), Together With Actual Probabilities of Lot Rejection (at p1) and Acceptance (at p2)

13 It should be noted that the nomograph is unable to provide sampling plans outside a certain range. For example, if α= .001, β= .1, p1 = .01, and p2 = .02, then the nomograph cannot be used to obtain a plan, but the normal approximation method gives the sampling plan: n = 2416 and c = 39 and P ( D c ) = 0.0018 i f p = .01

and P ( D c ) = 0.097 i f p = .02.

Also, the nomograph will not yield any sampling plans when p < .01. The Grubbs’ table will not provide any sampling plans where c exceeds 15. The normal approximation is much more widely applicable.

14 Finally, there is the important pedagogical value of the above approach. Not only is this a relatively simple way to replace a black-box (or striped-box) solution, but it is also a useful application of the normal approximation to the binomial distribution.

Acknowledgments

The helpful comments and suggestions of three anonymous referees have led to a substantial improvement in the paper and are gratefully acknowledged. This work was supported by a research grant from the Natural Sciences and Engineering Research Council of Canada (NSERC) and was completed during a visit to the Centre for Mathematics and Its Applications at the Australian National University in Canberra, Australia.

References

  • Grubbs, F. E. (1949), “On Designing Single Sampling Plans,” Annals of Mathematical Statistics, 20, 256.
  • Hall, P. (1992), The Bootstrap and Edgeworth Expansion, New York: Springer-Verlag.
  • Kupper, L. L., and Hafner, K. B. (1989), ”How Appropriate Are Popular Sample Size Formulas?” The American Statistician, 43, 101–105.
  • Mitra, A. (1998), Fundamentals of Quality Control and Improvement (2nd ed.), Upper Saddle River, New Jersey:Prentice Hall.
  • Montgomery, D. C. (1996), Introduction to Statistical Quality Control (3rd ed.), New York: Wiley.

Reprints and Corporate Permissions

Please note: Selecting permissions does not provide access to the full text of the article, please see our help page How do I view content?

To request a reprint or corporate permissions for this article, please click on the relevant link below:

Academic Permissions

Please note: Selecting permissions does not provide access to the full text of the article, please see our help page How do I view content?

Obtain permissions instantly via Rightslink by clicking on the button below:

If you are unable to obtain permissions via Rightslink, please complete and submit this Permissions form. For more information, please visit our Permissions help page.