Professional Documents
Culture Documents
Hotelling's Control Chart With Adaptive Sample Sizes: It in
Hotelling's Control Chart With Adaptive Sample Sizes: It in
Some quality control schemes have been develope9 when several related quality
characteristics are to be monitored: simultaneous X charts, Hotelling's T~ chart,
multivariate CUSUM and multivariate EWMA. Hotelling's T~ control chart has
the advantage of its simplicity but it is slow in detecting small process shifts. The
latest developments in variable sample sizes for univariate control charts are
applied in this paper to define an adaptive sample sizes T' control chart. As occurs
in the univariate case the ARL improvements are very important particularly for
small process shifts. An example is given to illustrate the use of the proposed
scheme.
1. Introduction
In industrial situations control charts are often used to observe whether a process
is in control. When there is one quality characteristic Shewhart control charts are
usually applied to monitor process shifts. But there are many situations in which the
simultaneous control of two or more related quality characteristics is necessary. For
example, the quality control of some dimensions of a part. In these cases it is still
possible to design a statistical process control for all quality characteristics employing
Shewhart control charts but there are other feasible multivariate schemes.
As a n example of how to control several variables with y charts, let us consider a
part which has two quality characteristics, represented by the variables X I and X2
normally distributed. First we consider the case where both characteristics are
independent. If the two variables are monitored separately a univariate 2 chart
with, for example, 3-sigma limits can be constructed for each characteristic. Each
chart has a probability of exceeding 3-sigma control limits a = 0.0027 (the type I
error). The probability that both variables fall inside the control time when the
process is in control is (1 - 0.0027)(1 - 0.0027)= 0,994607. So the overall type I
error for this case is a' = I - 0.994607 = 0.0054. If there are p statistically indepen-
dent quality characteristics and charts with a type I error are used, the real type I
error a' is
So if we want to fix the type I error for the process as a whole, havingp independent
variables, equation (I) can be used to calculate the suitable type error for each chart,
and then, to obtain the correct control limits.
If the variables are not independent, which is the most common case, a more
complex process has to be employed to obtain the control limits to have a n a' value.
For simplicity, let us continue with the bivariate case supposing that the variables
follow a bivariate normal distribution with mean vector = ( p O , l r ~ O , Zand
)
covariance matrix
and 2 charts are used. Then an cr value has to be calculated such that
wherc rl is the sample size and f ( z l , r2) is the joint density function of a bivariate
standard normal distribution with correlation, p. So the control limits are
I I , , , ~ f cr ~ ~ , ~ /for +
\ / fi iIand j10.2 n uo,:/fi for y2.
Another solution to the problem of controlling several variables was provided by
Hotelling (1947). Consider 1) correlated characteristics are being measured simulta-
neously and these characteristics follow a multivariate normal distribution with mean
) covariance matrix Enwhen the process is in
vector /I; = ( I I ~ , ~ , I I. ~. ,,jJ~, 0. , ~and
control. When ;I ith sample of size 11 is taken we haven values of each characteristic
and it is possible 10 calculate the ,pi vector, which represents the ith sample average
vcctor for thc p characteristics.
The charting statistic
going to follow the process developed by these authors, adapting it for the Hotelling's
T' control chart.
The statistic T? = n ( f j - p o ) ' C - ' ( z j- pO) is charted with control limit
CL = Xi,,,. A value of ct = 0.005 has been used for this paper. This n value has
been widely employed in the multivariate statistical process references. Two sample
sizes have been used, nl and 112, 11: > t i l . We shall define a warning limit IV, where
0 < nJ < C L as a threshold limit that identifies when to shift from one sample size to
another (Fig. 2). The sample size of subgroup i depends on the value of T L I . If
T:, < II' and ith subgroup sample size is 11,. If 1,: < T:-~ < C L the ith subgroup
sample size is 112. Let us define d as the shift in the process means
'1 = J ( p - pO)'C - 1 (11 - /lo) where LL is the mean vector of the p characteristics
when there is a change in one or more means. Observe that X = r l d 2 and that r l is the
Mahalanobis distance used as a measure of process shift in multivariate quality
control.
CL
Therefore the T~ control chart with adaptive sample sizes is defined as follows:
Control limit: CL = x 2 ~ , ~ = ~ . ~ ~ ~
nl if T', <w
Sample size: ni =
n2 if MI < T: I < CL
If T? > X;,,,=,,.OO~then we say that the process is out of control.
The CL for different p values are
T o compare different quality control schemes the average run length (ARL) is
widely used as a measure of effectiveness. ARL is the expected number of samples
taken until a signal of out of control appears. When the process is in control a large
ARL is desired. However small ARL values are needed when the process is out of
control to detect the shift quickly. The ARL value is easily determined when there is a
shift c/ as
For example P;',2 is the transition probability from state 1 to state 2, that is, with a
sample size n , , Ti2 falls in zone [ w , CL] when there is a shift d.
where X I = n , d 2
Then
where I = (i)
and B = ( b l ,b2) is the vector of initial state probabilities. Hence
b l + b2 = I. Qd is the 2 x 2 probability transition matrix where the elements
associated with the absorbing state have been deleted. I is the identity matrix of
order 2.
As the average sample size is to be no, an integer number, this implies that
Let us notice that b l = P(X; < 1 9 ) . b , is the cumulative probability below IV. So we
can write equation (8) as follows:
where X 2 = n2d2 .
Hence A R L depends on p, ti], d , n, and n2. W e pretend to minimize the A R L for
given no, p and d . T o compute the probability terms of equation (10) we need to use
the cumulative probability functions of a chi-square distribution, F(.u,p), and of a
non-central chi-square distribution, G ( x ; p ,A ) . Expressions for these functions can be
found in Johnson and Kotz (1969):
Therefore equation (10) may be written as
3.1 . Mit~itniir~tiotl
proccss
We have minimized the ARL for the following cases: p = 2, 3, 4 and 5 variables.
/I,, = 2, 3, 4, 5 and 7. (1 = 0.5, I . 1.5 and 2.
We have to find the values of n., t i , and rip 111 takes continuous values and 11, and 112
take integer values. The possible values of 11, are rrl = I . . . (no - 1) and 11, takes a
value from equation (9) for a given 11, and I V equals to
Tablc I. A R L and E(N) comparisons between double sample size and fixed sample size
schemes for two variables (a = 0.005)
Hotelling's T~ ro1ltr.01cliurt with adoptive srrniple sizes 2859
Table 2. A R L and E ( N ) comparisons between double sample size and fixed sample size
schemes for three variables ( o = 0.005).
Table 3. A R L and E ( N ) comparisons between double sample size and fixed sample size
schemes for four variables (o = 0.005).
2860 F. Aparisi
Table 4. A R L and E ( N ) comparisons between double sample size and fixed sample size
schemes for five variables ( a = 0.005).
Tables 1, 2, 3 and 4 show the results for two, three, four and five correlated
variables respectively. The Tables show the A R L using a variable sample size versus
the A R L using a fixed sample size for comparison purposes. Many times, the
improvements (decreases) in the A R L are great especially for small d values. This
means a lower mean time to detect an out of control situation. It may be observed that
for smaller d values the warning limit w has to be located closer to the control limit.
For this reason n2 values are high in these cases but, if the process is in control, these
large sample sizes are needed with very low frequency. If the process has shifted, these
large sample sizes allow the scheme to detect the problem quickly.
Sometimes, when the process shift is important (i.e. d = 2), the A R L values are
slightly larger for the double sample size scheme. However these differences are very
small and are widely compensated by the improvements for small d values.
On the other hand we have to consider the average number of items to be
inspected until the schemes indicate the process shift. Denote this average number of
items by E ( N ) . It is an important parameter for comparing quality control costs
because, as the number of items to be inspected increases, the control quality costs
increase rapidly. For the fixed sample size scheme E ( N ) is easily determined by
multiplying the A R L times the sample size no. That is
E( N)~i.wdsmrzple size = A R L (I5)
For the double sample size scheme we again need to use the Markov chain
properties. For this case,
E ( N ) ~ o u h , sr n m p ~.rix = B(I - Q~)-'Z (16)
where ti = ($.
Hotellirgs T~ control chart with adaptive sa~nplesizes 286 1
Again the double sample size scheme is much better for small (1 values because i t is
necessary for fewer items until the process shift is detected. Only f o r d values equals to
1.5 and 2 and for 110 2 4 does the double sample size scheme need slightly more items.
po = ( :)
When the process is in control the mean vector and the covariance matrix are:
An in-control sample size equals to 2 (no = 2) is going to be used and the type I error n.
is fixed at 0.005. So Table 3 shows that we have to use the following control scheme:
Charting statistic: T: = n(Xi - pO)' x-l(fi
- po)
Hence if T:-, < I V the ith sample size will be 1. If 11, < T:-, < CL the ith sample sizes
is I I. Using this scheme the ARL improvement (7.42 against 23.94) is more than three
times. If we consider the amount of pieces to be examined until the shift is detected, an
average of 24.88 pieces are needed when the double sample size method is used instead
of an average of 47.88 is a fixed sample size method is employed.
2862 HotellirigZ T~ control chcrrt n~itlroduptive sa~iiplesizes
Acknowledgement
T h e a u t h o r wish t o t h a n k t h e referees for their thoughtful suggestions t h a t
improved t h e final version o f this paper.
References
ALT, F. B., 1985, Multivariate control charts. I n Encyclopedia of Statistical Sciences, vol. 6,
S. Kotz and N. L. Johnson (eds) (New York: Wiley), pp. 110-122.
BROOK,D. and EVANS,D. A., 1972. An approach to the probability distribution of CUSUSM
run Icngth. Biorrrerriko. 59. 539-549.
BURR,I. W., 1969, Control charts for measurements with varying sample sizes. Jour~tulof
Qlrcrlity Techrrology, 1, 163- 167.
,v
COSTA,A. F. B., 1994, charts with variable sample size. Jourrtcrl of Quulity Techrto/ogj~,26,
~ -
155-163.
~ , B., 1988, Multivariate generalizations of cumulative sum quality-control schemes.
C ~ o s l e R.
Techrrorrrerrics, 30, 29 1-303.
CINLAR. E., 1975. Irrrrocltltrctio~i10 S~ochosticProcess, (Englewood Cliffs, NJ: Prentice Hall).
DAUIIIN, J. J.> 1992, Double sampling .!? charts. Jotrrttul of Qucrlity Techrtology, 24, 78-87.
HOTELLING, H., 1947. Multivariate quality control. In Teclrrriqrres of Sratisticol Ar~ulysis,
C. Eisenhart, M . Hastay and W. A. Wallis (eds) (New York: MeGraw-Hill), pp. I I I-
184.
JACKSON, J. E., 1959, Quality control methods for several related variables. Techrrornerries, l(4).
359-377.
JACKSON, J. E., 1985, Multivariate quality control. Cotttrtrurticcrtions in Srutislics, 14(1 I), 2657-
2688.
JOIINSON, N. L. and KOTZ,S., 1969, Disfribu~iort~ irt Stutis~ics(New York: Wiley).
LOWRY,C . A,, WOODALL, W. H., CHAMP,C. W. and RIGDON,S. E., 1992, A multivariate
exponentially weighled moving average control chart. Techrrornerrics, 34, 46-53.
PIGNATELLO, J. J., Jr. and RUNGER, G.C., 1990, Comparisons of multivariate CUSUM charts.
Jottrtrctl of Qrrcrlity Techrrolog.~~,22. 173- 186.
PRAHHU, S. S.. RUNGER, G . C. and KEATS,J. B., 1993, .!? chart with adaptive sample sizes.
Jotrrrrc~I(fProelrrctiot~Reseurclt, 31, 2895-2909.
Irrter~rcrtio~rcrl