Alternative Attribute Control Charts Based on Improved Square Root ...

9 downloads 0 Views 165KB Size Report
In such case, the attribute control charts, for example p-chart, np-chart and c-chart, are often used to chart the parameters of process. Attribute control charts have ...
Tamsui Oxford Journal of Mathematical Sciences 22(1) (2006) 61-72 Aletheia University

Alternative Attribute Control Charts Based on Improved Square Root Transformation Tzong-Ru Tsai∗, Chien-Chih Lin, and Shuo-Jye Wu Department of Statistics, Tamkang University, Tamsui, Taipei, Taiwan Received January 28, 2005, Accepted July 29, 2005.

Abstract In the real world applications nowadays, the situation of low defect level in process often exists, and it results that the performances of classical attribute control charts become bad. Historically, classical attribute control charts have been developed by using the normal approximation. However, the normal approximations are far from adequate for the situation of low defect level and the sample size is not large enough, mainly due to skewness in the exact distribution. In this paper, an improved square root transformation, named ISRT, is used to construct the ISRT p-chart, np-chart and c-chart for charting the binomial data and Poisson data. Comparing the ISRT p-chart with several known p-charts, the minimum sample sizes required for obtaining positive lower control limits for the ISRT p-chart are small. Numerical results also indicate that the ISRT control charts can match any specific percentile point of run length distribution of the true limits when the parameter is unknown.

Keywords and Phrases: Attribute control charts, Control limits, Improved square root transformation, Normal approximation, Q-chart. ∗

E-mail: [email protected]

62

Tzong-Ru Tsai, Chien-Chih Lin, and Shuo-Jye Wu

1. Introduction Many quality characteristic cannot be conveniently measured numerically. In such case, the attribute control charts, for example p-chart, np-chart and c-chart, are often used to chart the parameters of process. Attribute control charts have been historically developed using the normal approximation. Suppose the process observations are taken from a binomial distribution with parameters n and p, where n denotes the number of items produced and inspected and p denotes the defect level of process. The classical p-chart and np-chart have been developed for charting the binomial data. When p is known, the classical p-chart and np-chart can be constructed with the centerp lines (CLs) p p and np and the control limits are p ± 3 p(1 − p)/n and np ± 3 np(1 − p), respectively. The normal approximation is often used to deal with binomial data when the conditions np ≥ 5 and n(1 − p) ≥ 5 are fulfilled. However, SchaderSchmid-1989 showed that the normal approximation of binomial distribution performs poorly even when the often-used rules of thumb such as np ≥ 5 are met and furthermore, the accuracy of the approximation depends heavily upon the value of p. Ryan-Schwertman-1997 showed that the upper tail probability in the classical np-chart is usually too large and the lower tail probability is usually too small, especially when p is small. This inadequacy in approximation is mainly due to the skewness of the exact distribution. For improving performances of the classical p-chart and np-chart, some alternative approximation rules were provided so that tail areas of the charts can be close to those of the exact distribution. In Section ??, we describe four different charting approaches proposed in the literature. In Section ??, we introduce a new method called the improved square root transformation (ISRT). In Section ??, some numerical results are presented to assess the performances of these methods. Some conclusions are made in Section ??.

2. Recent Developments In this section, we briefly introduce four known methods which improve the performances of tail probabilities in a p-chart or an np-chart. Ryan-

63

Alternative Attribute Control Charts

Schwertman-1997 proposed the Arcsine p-chart. For known p, define s " # √ xi + 3/8 −1 √ −1 − sin p , Yi = 2 ni sin ni + 3/4 where xi is the number of nonconforming items in the ith sample. It can be shown that Yi is approximately standard normal. Hence, we can plot Y1 , Y2 , . . . , on a chart with the center line CL = 0 and upper control limit at U CL = 3 and lower control limit at LCL = −3. When p is unknown, we x1 + x2 + · · · + xi to estimate p, and thus define can use pˆi = n1 + n2 + · · · + ni s " # p √ xi + 3/8 −1 −1 Yi = 2 ni sin − sin pˆi−1 , ni + 3/4 for i ≥ 2. The Arcsine p-chart has two beneficial effects: (1) the tail areas will be close to the tail areas under normality, and (2) for a given p, the minimum sample size necessary to obtain a positive LCL is much smaller than that using the classical 3-sigma p-chart. The second method is the Q-chart proposed by Quesenberry-1991a Quesenberry-1991a,Quesenberry-1991b,Quesenberry-1991c. For known p, let ui = B(xi ; ni , p) denote the probability that Xi ≤ xi for a binomial random variable Xi . Quesenberry-1991a suggested that the statistics Qi = Φ−1 (ui ), i = 1, 2, . . . , are plotted on a chart with CL = 0, U CL = 3, and LCL = −3, where Φ(·) denotes the cumulative distribution function of the standard normal i X distribution. In practice, p is usually unknown. We can define si = nj , j=1

ti =

i X

xj and let ui = H(xi ; ti , ni , si−1 ) be the probability that Xi ≤ xi for

j=1

a hypergeometric random variable Xi , and Qi = Φ−1 (ui ). Then, we can plot Q1 , Q2 , . . . , on a chart with center line CL = 0, and control limits U CL = 3, and LCL = −3. Quesenberry-1991b indicated that, in general, the Q-chart has tail probability less than 0.00135 for the lower tail and more than 0.00135 for the upper tail. Moreover, Quesenberry-1991b concluded that the Arcsine p-chart gives a better approximation to the nominal lower tail area, and the Q-chart provides

64

Tzong-Ru Tsai, Chien-Chih Lin, and Shuo-Jye Wu

a better approximation to the nominal upper tail area. Basically, both Arcsine p-chart and Q-chart plot a transformed statistic rather than the statistic of interest, and computations for both transformed statistics are not simple. Winterbottom-1993 and Chen-1998 used the Cornish-Fisher expansion of quantiles to construct a modified p-chart. For a given p, we can plot wi = xi /ni , for i = 1, 2, . . . , on a chart with the center line CL = p and the control limits s   p(1 − p) 4 1 − 2p + , U CL = p + 3 ni 3 ni s   p(1 − p) 4 1 − 2p LCL = p − 3 + . ni 3 ni If p is unknown, we can plot wi ’s on a chart with the center line CL = pˆi−1 and the control limits s pˆi−1 (1 − pˆi−1 ) 4(1 − 2ˆ pi−1 ) U CL = pˆi−1 + 3 + , ni 3ni s pi−1 ) pˆi−1 (1 − pˆi−1 ) 4(1 − 2ˆ + , LCL = pˆi−1 − 3 ni 3ni x1 + x2 + ... + xi . Moreover, Winterbottom-1993 used the Cornish n1 + n2 + ... + ni and Fisher expansion of quantiles to develop a modified c-chart for charting the Poisson data. The center line of the modified c-chart is CL = c and its control limits are √ 4 U CL = c + 3 c + , 3 √ 4 LCL = c − 3 c + , 3 where c is the mean of the Poisson distribution and it can be either specified or replaced by an estimate c¯ computed using an in-control baseline data. In order to avoid the cumbersome expressions found in some confidence limits approximations, Ryan-Schwertman-1997 used regression equations to produce a regression-based np-chart which has the center line CL = np and control limits √ U CL = 0.6195 + 1.0052np + 2.983 np, (1) √ LCL = 2.9529 + 1.01956np − 3.2729 np. where pˆi =

Alternative Attribute Control Charts

65

The value of p can be either specified or replaced by the estimate p¯ computed from an in-control baseline data. In practice, the control limits in equation (??) are suggested to be rounded to the nearest integer. The corresponding center line and control limits of the regression-based p-chart can be obtained by dividing the center line and the control limits in equation (??) by n. Replacing np by c, a regression-based c-chart can be obtained.

3. ISRT Attribute Control Charts Let X be a binomial random variable with parameters n and p, where X be the sample defect p denotes the defect level of process, and let pˆ = n level. If p is small, the normal approximation to the binomial distribution is inadequate, mainly due to skewness in the exact distribution. To overcome this defect, an improved square root transformation, named the ISRT, is used to construct an ISRT p-chart. √ Suppose that g(ˆ p) = pˆ. Using the Taylor series expansion for g to the second order, we have g 00 (p) g(ˆ p) ∼ p − p) + (ˆ p − p)2 . = g(p) + g 0 (p)(ˆ 2 Equivalently,   √ √ g 00 (p) 2 ∼ 0 n g(ˆ p) − g(p) − (ˆ p − p) = g (p) n(ˆ p − p). 2 √ √ 00 p) − g(p) − g 2(p) (ˆ p − p) have the same p − p)2 ] and g 0 (p) n(ˆ Hence, both n[g(ˆ √ g 00 (p) limiting distribution, that is, n[g(ˆ p) − g(p) − 2 (ˆ p − p)2 ] is asymptotically 0 normally distributed with mean 0 and variance [g (p)]2 p(1 − p).qLet e = |ˆ p − p| p(1−p) be the be the absolute estimating error in process, and let σpˆ = n standard deviation of sample proportion. It can be shown that g(ˆ p) − g(p) g 00 (p)e2 Z= − |g 0 (p)|σpˆ 2|g 0 (p)|σpˆ is asymptotically standard normal. If the 3-sigma control limits are taken, we can show that

0.0027 = P (Z < −3 or Z > 3) g 00 (p) 2 g 00 (p) 2 0 0 ' P (g(ˆ p) < g(p) − 3|g (p)|σpˆ + e or g(ˆ p) > g(p) + 3|g (p)|σpˆ + e) 2 2

66

Tzong-Ru Tsai, Chien-Chih Lin, and Shuo-Jye Wu

Thus, the ISRT p-chart can be constructed with the center line CLp = g(p) = √ p and the control limits r p(1 − p) g 00 (p) 2 + e, U CLp = g(p) + 3|g 0 (p)| n 2 r p(1 − p) g 00 (p) 2 LCLp = g(p) − 3|g 0 (p)| + e. n 2 Since the binomial distribution is positively skewed when the defect level p is small, it is not adequate to choose the control limits with equal-tails. After some numerical investigation on some cases of the q low defect level of p ≤ 0.1,

the absolute estimating error e is suggested to be 3 p(1−p) for the LCLp , and n q to be 2 p(1−p) for the U CLp . Accordingly, the control limits can be rewritten n as r   3 1−p 1 1−p √ − , U CLp = p + √ 2 n 2 n p r (2)   3 1−p 9 1−p √ LCLp = p − − . √ 2 n 8 n p √ √ By multiplying n to the center line CLp = p and the control limits in √ equation (??), the ISRT np-chart has the center line CLnp = np and the control limits   3p 1 1−p √ 1−p− U CLnp = np + , √ 2 2 np   3p 9 1−p √ LCLnp = np − 1−p− . √ 2 8 np

The value of p can be either specified or replaced by the estimate p¯ computed from an in-control baseline data. That is, when the defect level p is unknown, we can select m pre-samples each of size n. As a general rule, m should be 20 or 25. Then if there are Di defective items in the sample i, we compute the Pm Pm pˆi i=1 Di p¯ = = i=1 , (3) mn m where pˆi =

Di , n

i = 1, 2, . . . , m.

Alternative Attribute Control Charts

67

If the sample size n is large and p is small enough so that np has a moderate √ size c, the ISRT c-chart can be constructed with the center line CLc = c and the control limits   √ 3 1 1 √ , U CLc = c + − 2 2 c   √ 3 9 1 √ , LCLc = c − − 2 8 c by using the Poisson approximation to binomial. The value of c can be either specified or replaced by the estimate c¯ computed from an in-control baseline data with Total nonconformities c¯ = . (4) m

4. Numerical Study Three criteria are provided for investigating the performance of the ISRT p-chart here. They are: (1) the minimum value of the sample size n∗ required for the LCL to be positive, (2) the closeness of the false alarm probabilities to the nominal values for both over U CL and under LCL, and (3) how close the chart can match to a specified percentile point of run length (RL) distribution when the parameter is unknown. First, we compare the regression-based p-chart, the Arcsine p-chart, the modified p-chart, the Q-chart, the classical 3-sigma p-chart with the ISRT p-chart based on the value of n∗ . For the Arcsine p-chart and the Q-chart, the positive lower control limit means that P (Yi < LCL) > 0 and P (Qi < LCL) > 0, respectively, and it means that LCL > 0 for others. This criterion is also a good reference for determining the sample size of establishing p-chart in practical applications. Table ?? shows the values of n∗ for these charts when the value of p is smaller than 0.1. The practitioners can use the sample sizes suggested in Table ?? to construct the selected attribute control charts. We can find that values of n∗ for the ISRT p-chart, the regression-based p-chart and the Arcsine p-chart are smaller than others. Likewise, for the classical c-chart, the value of LCL is positive if c > 9; for the regression-based c-chart, the value of LCL is positive if c > 4.07; for the modified c-chart, the value of LCL is positive if c > 6.04 and for the ISRT c-chart, the value of LCL is positive if c > 4.20.

68

Tzong-Ru Tsai, Chien-Chih Lin, and Shuo-Jye Wu

Because of the good performance of the modified c-chart and the regressionbased c-chart based on the first criterion, they are selected to be compared the closeness of the false alarm probabilities to the nominal values for both over U CL and under LCL with the ISRT c-chart. Let Zi denote any one of the three plotting statistics on these charts and the false alarm probabilities P (Zi > U CL) and P (Zi < LCL) are computed for c = 4 to 25. Since the Poisson distribution is discrete, it is hard to require that both exact tail areas equal to 0.00135. For a given value of c, we define the exact c-chart as the one whose αL (the lower tail area under LCL) and αU (the upper tail area over the U CL) are as close to 0.00135 as possible, but are not δ% larger than 0.00135, where 0 ≤ δ ≤ 100. In this paper, we took δ = 50, that is, both αL and αU are restricted to be less than or equal to 0.00315(1+0.5) = 0.002025. All numerical values are calculated by Poisson probability and shown in Table ??. In Table ??, we see that the differences among three c-charts are very small and all of them agree with the exact c-chart. Likewise, the simulation results provided by Lin-2002 for the p-chart with parameters p = 0.1 and n = 10(10)200, and p = 0.01 and n = 100(100)2000, also showed that all the modified p-chart, regression-based p-chart and the ISRT p-chart agree with the exact p-chart. The above discussion are made under the assumption that the parameter p or c is known, but this assumption is usually inadequate in practice. For evaluating the performance of the charts when the parameters are unknown, how close the control limits of the three charts can match to a specific percentile point of RL distribution for the true limits is considered. The criterion was proposed by Nedumaran-Pignatiello-2001. Assume that the process is in-control and m initial subgroups of the binomial data with parameters n and p are observed, and then k future subgroup observations are obtained immediately after m initial subgroup observations. Let γ be the predetermined probability of a signal within observations m + 1, m + 2, . . . , m + k. Then P (LCL < Zi < U CL, i = m + 1, m + 2, . . . , m + k) = 1 − γ. For the estimated limits which perform similarly to the true limits, γ is set to be equal to the corresponding RL distribution percentile with the true limits. That is, γ = P (RL ≤ k) = 1 − (1 − α)k , where α is the false alarm probability for one subgroup. A benchmark for the probability is α = 0.0027 or γ = 1 − (1 − 0.0027)k . For example, if

Alternative Attribute Control Charts

69

k = 10, the benchmark probability is 0.0267. However, when p is unknown, Zm+1 , Zm+2 , . . . , Zm+k are dependent and the probability γ depends upon the initial subgroup size m. The correlation among Zi ’s vanishes if m is large enough. Nevertheless, we can adopt the value of γ as measures of the false alarm probability of the three charts and estimate them. In our numerical study, the future k subgroup observations were generated one at a time, and the sample proportions of each future subgroup were plotted on each chart until a false alarm was issued or until all k subgroups were plotted. This procedure was replicated 50000 times and the probabilities of a signal within k subgroups were estimated. The estimated probabilities for the ISRT np-chart, the regression-based np-chart and the modified np-chart are listed in Table ??. It can be seen that the control limits of the ISRT npchart perform similarly to the true limits for almost all combinations of n, p and k, and the control limits of the regression-based np-chart produce a larger number of false alarms than the true limits when the value of p is unknown. The false alarm probability of the modified np-chart becomes large when the value of k is large or the value of p is small. The numerical results recommend that the ISRT np-chart is adequate for charting the binomial data when the defect level p is low and unknown.

5. Conclusions This paper provides a new method based on the improved square root transformation which can be applied to three attribute control charts. They are the ISRT p-chart, ISRT np-chart and ISRT c-chart. The false alarm probabilities of these charts are close to the nominal values whenever the parameter is known or unknown. Numerical results indicate that the ISRT p-chart and the ISRT c-chart almost coincide with the exact p-chart and exact c-chart, respectively, under reasonable restrictions. Moreover, the ISRT np-chart can match any specific percentile point of run length distribution of the true limits when the parameter is unknown. Though the ISRT attribute control chart plots a square root transformed statistic rather than the statistic of interest, the link between the plotted statistic and the statistic of interest is simple to be interpreted.

70

Tzong-Ru Tsai, Chien-Chih Lin, and Shuo-Jye Wu

Acknowledgments The authors would like to thank the Managing Editor and referee for providing helpful comments.

References [1] G. Chen, An improved p chart through simple adjustments, Journal of Quality Technology 30 (1998), 142-151. [2] C. C. Lin, Improved Square Root Transformation for Attribute Control Charts (2002), Master thesis, Tamkang University, Department of Statistics (in Chinese). [3] G. Nedumaran, and J. J. Pignatiello, On estimating X control chart limits, Journal of Quality Technology 33 (2001), 206-212. [4] C. P. Quesenberry, SPC Q charts for start-up process and short or long runs, Journal of Quality Technology 23 (1991a), 213-224. [5] C. P. Quesenberry, SPC Q charts for a binomial parameter: Short or long runs, Journal of Quality Technology 23 (1991b), 239-246. [6] C. P. Quesenberry, SPC Q charts for a Poisson parameter λ: short or long runs, Journal of Quality Technology 23 (1991c), 296-303. [7] T. P. Ryan, and N. C. Schwertman, Optimal limits for attributes control charts, Journal of Quality Technology 29 (1997), 86-98. [8] M. Schader, and F. Schmid, Two rules of thumb for the approximation of the binomial distribution by the normal distribution, The American Statistician 43 (1989), 23-24. [9] A. Winterbottom, Simple adjustments to improve control limits on attribute charts, Quality and Reliability Engineering International 9 (1993), 105-109.

71

Alternative Attribute Control Charts

Table 1: Minimum value of sample size required for the LCL is positive chart 0.1 0.05 ISRT 38 80 regression-based 41 82 Arcsine 43 88 modified 58 119 Q-chart 63 129 classical 81 171

p 0.02 0.01 206 416 204 408 222 445 300 602 328 658 441 891

0.005 0.001 836 4195 815 4072 891 4461 1206 6037 1319 6605 1791 8991

Table 2: False alarm probabilities for four different c-charts c

modified

4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25

NA NA NA 0.00091 0.00034 0.00123 0.00050 0.00121 0.00052 0.00105 0.00181 0.00086 0.00138 0.00067 0.00104 0.00151 0.00078 0.00111 0.00150 0.00081 0.00108 0.00142

under LCL regression ISRT based NA NA 0.00674 0.00674 0.00248 0.00248 0.00091 0.00091 0.00302 0.00034 0.00123 0.00123 0.00277 0.00050 0.00121 0.00121 0.00229 0.00052 0.00105 0.00105 0.00181 0.00047 0.00279 0.00086 0.00138 0.00040 0.00206 0.00067 0.00104 0.00104 0.00151 0.00052 0.00209 0.00078 0.00111 0.00111 0.00150 0.00058 0.00198 0.00081 0.00108 0.00108 0.00142 0.00059

Note: NA denotes ’not available’.

exact

modified

NA NA NA 0.00091 0.00034 0.00123 0.00050 0.00121 0.00052 0.00105 0.00181 0.00086 0.00138 0.00067 0.00104 0.00151 0.00078 0.00111 0.00150 0.00198 0.00108 0.00142

0.00092 0.00070 0.00140 0.00096 0.00159 0.00106 0.00159 0.00104 0.00147 0.00097 0.00131 0.00172 0.00113 0.00145 0.00096 0.00121 0.00149 0.00100 0.00121 0.00146 0.00099 0.00118

over U CL regression ISRT based 0.00284 0.00284 0.00545 0.00202 0.00363 0.00140 0.00241 0.00241 0.00372 0.00159 0.00243 0.00243 0.00345 0.00159 0.00225 0.00225 0.00305 0.00147 0.00397 0.00199 0.00261 0.00131 0.00331 0.00172 0.00219 0.00219 0.00273 0.00145 0.00333 0.00181 0.00223 0.00223 0.00269 0.00149 0.00320 0.00181 0.00216 0.00121 0.00255 0.00146 0.00298 0.00173 0.00204 0.00204

exact 0.00092 0.00202 0.00140 0.00096 0.00159 0.00106 0.00159 0.00104 0.00147 0.00199 0.00131 0.00172 0.00113 0.00145 0.00181 0.00121 0.00149 0.00181 0.00121 0.00146 0.00173 0.00118

72

Tzong-Ru Tsai, Chien-Chih Lin, and Shuo-Jye Wu

Table 3: Performance assessment for α = 0.0027 n

p

k

modified

150 300 150 300 150 300 450 600 450 600 450 600 2000 2000 2000

0.10 0.10 0.10 0.10 0.10 0.10 0.05 0.05 0.05 0.05 0.05 0.05 0.01 0.01 0.01

10 10 20 20 30 30 10 10 20 20 30 30 10 20 30

0.02876 0.02922 0.05492 0.05704 0.08102 0.08328 0.03988 0.03938 0.07518 0.07206 0.11482 0.10512 0.04308 0.08174 0.12082

regression based 0.06008 0.03864 0.11662 0.07488 0.16910 0.11190 0.07312 0.06320 0.14040 0.11586 0.20650 0.16882 0.09312 0.17378 0.25072

ISRT

γ

0.02966 0.02664 0.05620 0.05286 0.08276 0.07810 0.03250 0.03292 0.06390 0.06132 0.09730 0.08932 0.03502 0.06734 0.10222

0.02667 0.02667 0.05263 0.05263 0.07790 0.07790 0.02667 0.02667 0.05263 0.05263 0.07790 0.07790 0.02667 0.05263 0.07790

Suggest Documents