Acessibilidade / Reportar erro

Monitoring bivariate process

Abstracts

The T² chart and the generalized variance |S| chart are the usual tools for monitoring the mean vector and the covariance matrix of multivariate processes. The main drawback of these charts is the difficulty to obtain and to interpret the values of their monitoring statistics. In this paper, we study control charts for monitoring bivariate processes that only requires the computation of sample means (the ZMAX chart) for monitoring the mean vector, sample variances (the VMAX chart) for monitoring the covariance matrix, or both sample means and sample variances (the MCMAX chart) in the case of the joint control of the mean vector and the covariance matrix.

control charts; bivariate processes; mean vector; covariance matrix


Os gráficos de T² e da variância amostral generalizada |S| são as ferramentas usualmente utilizadas no monitoramento do vetor de médias e da matriz de covariâncias de processos multivariados. A principal desvantagem desses gráficos é a dificuldade em obter e interpretar os valores de suas estatísticas de monitoramento. Neste artigo, estudam-se gráficos de controle para o monitoramento de processos bivariados que necessitam somente do cálculo de médias amostrais (gráfico ZMAX) para o monitoramento do vetor de médias, ou das variâncias amostrais (gráfico VMAX) para o monitoramento da matriz de covariâncias, ou então das médias e variâncias amostrais (gráfico MCMAX) para o caso do monitoramento conjunto do vetor de médias e da matriz de covariâncias.

gráficos de controle; processos bivariados; vetor de médias; matriz de covariâncias


Monitoring bivariate process

Marcela A. G. Machado * Corresponding author / autor para quem as correspondências devem ser encaminhadas * * Corresponding author / autor para quem as correspondências devem ser encaminhadas ; Antonio F. B. Costa; Fernando A. E. Claro

Production Department São Paulo State University (UNESP) Guaratinguetá – SP, Brazil. marcela@feg.unesp.br; fbranco@feg.unesp.br; fernandoclaro@uol.com.br

ABSTRACT

The T2 chart and the generalized variance |S| chart are the usual tools for monitoring the mean vector and the covariance matrix of multivariate processes. The main drawback of these charts is the difficulty to obtain and to interpret the values of their monitoring statistics. In this paper, we study control charts for monitoring bivariate processes that only requires the computation of sample means (the ZMAX chart) for monitoring the mean vector, sample variances (the VMAX chart) for monitoring the covariance matrix, or both sample means and sample variances (the MCMAX chart) in the case of the joint control of the mean vector and the covariance matrix.

Keywords: control charts; bivariate processes; mean vector; covariance matrix.

RESUMO

Os gráficos de T2 e da variância amostral generalizada |S| são as ferramentas usualmente utilizadas no monitoramento do vetor de médias e da matriz de covariâncias de processos multivariados. A principal desvantagem desses gráficos é a dificuldade em obter e interpretar os valores de suas estatísticas de monitoramento. Neste artigo, estudam-se gráficos de controle para o monitoramento de processos bivariados que necessitam somente do cálculo de médias amostrais (gráfico ZMAX) para o monitoramento do vetor de médias, ou das variâncias amostrais (gráfico VMAX) para o monitoramento da matriz de covariâncias, ou então das médias e variâncias amostrais (gráfico MCMAX) para o caso do monitoramento conjunto do vetor de médias e da matriz de covariâncias.

Palavras-chave: gráficos de controle; processos bivariados; vetor de médias; matriz de covariâncias.

1. Introduction

The control charts are often used to observe whether a process is in control or not. When there is only one quality characteristic to control, the Shewhart charts are usually applied to detect process shifts. The power of the Shewhart control charts lies in its ability to separate the assignable causes of variation from the uncontrollable or inherent causes of variation. Shewhart control charts are relatively easy to construct and to interpret. As a result, they are readily implemented in manufacturing environments.

However, there are many situations in which it is necessary to control two or more related quality characteristics simultaneously. Hotelling (1947) provided the first solution to this problem by suggesting the use of the T2 statistic for monitoring the mean vector of multivariate processes. Costa & Machado (2007) studied the properties of the synthetic T2 chart with two-stage sampling. Machado & Costa (2008a) considered the use of simultaneous charts as an alternative to the use of the T2 chart. Costa & Machado (2008a) considered the use of the double sampling procedure with the chart proposed by Hotelling.

The first multivariate control chart for monitoring the covariance matrix Σ was based on the charting statistic obtained from the generalized likelihood ratio test (Alt, 1985). For the case of two variables, Alt (1985) proposed the generalized variance statistic |S| to control the covariance matrix Σ.

Control charts more efficient than the |S| chart have been proposed. Recently, Costa & Machado (2008) considered the VMAX statistic to control the covariance matrix of bivariate processes. The points plotted on the VMAX chart correspond to the maximum of the sample variances of the two quality characteristics. Machado et al. (2008) obtained the properties of the VMAX chart with double sampling and Machado & Costa (2008) considered the EWMA chart based on the VMAX statistic. Costa & Machado (2008) extended the VMAX chart for the multivariate case, where p quality characteristics are under control. The synthetic VMAX chart for the bivariate case was also studied by Machado et al. (2009).

There are quite a few recent papers dealing with the joint control of the mean vector and the covariance matrix of multivariate processes. Khoo (2005) proposed a control chart based on the T2 and |S| statistics for monitoring bivariate processes. The speed with which the chart signals changes in the mean vector and/or in the covariance matrix was obtained by simulation. The results are not compelling, once the proposed chart is slow in signaling out-of-control conditions. Chen et al. (2005) proposed a single EWMA chart to control both, the mean vector and the covariance matrix. Their chart is more efficient than the joint T2 and |S| in signaling small changes in the process. Zhang & Chang (2008) proposed two EWMA charts based on individual observations that are not only fast in signaling but also very efficient in informing which parameter was affected by the assignable cause; if only the mean vector or only the covariance matrix or both. Machado & Costa (2008b) proposed the joint use of two charts based on the non-central chi-square statistic for monitoring the mean vector and the covariance matrix of bivariate processes, named as the joint NCS charts. In general, the joint NCS charts are faster than the combined T2 and |S| charts in signaling out-of-control conditions. Once the proposed scheme signals, the user can immediately identify the out-of-control variable.

The aim of this paper is to study a set of new control charts for monitoring the mean vector and/ or the covariance matrix of bivariate processes. This paper is organized as follows: the next section presents the assumptions and measure of efficiency. In Section 3, we present the ZMAX chart as an alternative to the T2 chart. In Section 4, we present the VMAX chart as an alternative to the |S| chart. In Section 5, we show the gain in speed with which the VMAX chart signals when the variable sample size, double sampling, synthetic or EWMA procedures are applied. In Section 6, we present the synthetic MCMAX chart as an alternative to the joint use of the T2 and |S| charts. Section 7 brings an illustrative example. Conclusions are in Section 8.

2. Assumptions and measure of efficiency

Throughout this article, it is assumed that the control charts are employed to monitor a bivariate process whose quality characteristics of interest (say, X and Y) are normally distributed with the mean vector σ and the covariance matrix Σ. The process is considered to start with the mean vector and the covariance matrix on target (µ = µ0 and Σ = Σ0), where and Without losing generality we assume that σx = σy = 1.0. The T2 chart and the ZMAX chart are used to control processes that are subject to assignable causes that change the mean vector from µ0 to µ1 = (µx + c; µy + d), where c and d measure the magnitude of the shift on each variable. The |S| chart and the VMAX chart are used to control processes that are subject to assignable causes that change the covariance matrix from where a and b measure the increase in the variability of each variable. Finally, the joint T2 and |S| charts and the synthetic MCMAX are used to control processes that are subject to assignable causes that change the mean vector from µ0 to µ1 and/or change the covariance matrix from Σ0 to Σ1 without changing the correlation, that is, ρ = σxy. The numerical results presented in this paper are for the case of positive correlation, believed to be prevalent in industrial data.

The number of samples that are taken from the process until the control chart produces a signal measures the efficiency of a control chart. The expected number of samples taken before the chart signals is called the average run length (ARL). During the in-control period, ARL = 1/α and is called ARL0. The risk α is the well known Type I error. The control limits of the charts considered in this article were adjusted to assure a false alarm risk α = 0.005.

3. Control charts for monitoring the mean vector

A chart based on the sample means and is considered to control µ , where X and Y are two quality characteristics and n is the size of the samples. As an alternative to the use of two mean charts we consider a single chart based on the statistic , shortly ZMAX chart. A signal is given if ZMAX > CL, the control limit for the ZMAX chart. The power of the ZMAX chart is given by:

where f(Zx, Zy) is a standardized bivariate normal distribution function with correlation ρ.

Table 1 brings the ARLs of the ZMAX and T2 charts. In terms of performance, the T2 chart is highly affected by the correlation ρ, while ρ has a minor influence on the ZMAX chart. When the correlation is moderate (0.3-0.5) the ZMAX chart has a better overall performance (see ARL values in bold). Table 1 was built fixing n=5 and ARL0 = 200.0. The study with other n values led to the same conclusions.

4. Monitoring the covariance matrix

A chart based on the sample variances and is considered to control Σ. As an alternative to the use of two S2 charts we consider a single chart based on the statistic , shortly VMAX chart. A signal is given if VMAX > CL, the control limit for the VMAX chart. According to Costa & Machado (2008), the power of the VMAX chart is given by:

Recalling that the notation represents a non-central chi-square distribution with n degrees of freedom and non-centrality parameter given by m. We used the subroutine DCSNDF available on the Microsoft Fortran library (1995) to compute the non-central chi-square distribution function.

In this section we compare the ARL for the VMAX chart with the ARL for the |S| chart (the generalized variance |S| chart) proposed by Alt (1985). When the process is in control, is distributed as a chi-square with 2n - 4 degrees of freedom. The covariance matrix S is given by being Sxx and Syy the sample variances of X and Y and Sxy and Syx, the sample covariances. The control limit for the |S| chart is:

One drawback of the |S| chart is that the user is not familiar with the computation of sample covariances and determinants of covariances matrixes.

The |S| chart's performance is independent of ρ, while ρ has some influence on the VMAX chart. As ρ increases from 0 to 0.9, the ARL increases very slightly, see Table 2. According to Table 3 the VMAX chart is always more effective than the generalized variance |S| chart in detecting shifts in the covariance matrix. Table 2 was built fixing n=5 and Table 3 was built fixing ρ = 0.5. In both tables the ARL0 = 200.0.

4.1 Description of the VMAX chart with variable sample size

The idea of varying the size of the samples was introduced by Costa (1994) and, since then, it has been considered with a variety of control charts (see for instance, Aparisi (1996), Aparisi et al. (2001) and Epprecht & Costa (2001)). According to this procedure, random samples of variable sizes are taken from the process every h hours. The sample values are plotted on a control chart with warning limit WLi and action limit CLi, depending on the sample size ni, i = 1,2 , where n2 > n1.

The size of each sample depends on the sample point position of the preceding sample. If the sample point falls in the central region, that is, VMAX < WLi, then the next sample size should be n1, and if the sample point falls in the warning region, that is, WLi < VMAX < CLi, then the next sample size should be n2.

The properties of a control chart with VSS are also determined by the number of samples that are taken from the process until the control chart produces a signal. We suppose that the process remains in control with Σ = Σ0 for a long time until the occurrence of the assignable cause. After the assignable cause occurrence the covariance matrix changes, that is, Σ = Σ1. During the in-control period, the rate of inspected items per sampling, , is given by

being p0the probability of a sample point falling in the central region, given that it did not fall in the action region.

When the process is out-of-control, the ARL is obtained using Markov chains (see Costa & Machado (2008) for details).

4.2 The VMAX chart with double sampling

When the double sampling (DS) scheme is in use samples of size n = n1 + n2 are taken from the process at regular time intervals. The sampling is performed in two stages. At the first stage n1 items are inspected and their quality characteristics (X;Y) are measured. With the sample variances of (X;Y) the VMAX1 is computed, that is,

If VMAX1 < WL, the sampling is interrupted and the process is considered in control, where WL is the warning limit for the first stage. The control chart signals an out-of-control condition when VMAX1 > CL1, where CL1 is the control limit for the first stage, CL1 > WL > 0. If WL < VMAX1< CL1 , the sampling goes on to the second stage, where the remaining n2 items of the sample are inspected and the statistic is computed, being and the sample variances of (X;Y) considering the whole sample of size n. The control chart also signals an out-of-control condition when VMAX2 > CL2, where CL2 is the control limit for the second stage.

If the chart produces a signal when the process is operating properly with Σ = Σ0, this signal is a false alarm. At the first stage the false alarm risk is given by α1 and, at the second stage, it is given by α2.

If the chart signals after the occurrence of the assignable cause, that is, when ΣΣ0, this signal is a true alarm. At the first stage the power of the chart detecting an assignable cause is given by p1 and, at the second stage, it is given by p2.

This way, when the DS procedure is in use, the false alarm risk and the power of the VMAX chart are given by α = α1 + α2 and p = p1 + p2, respectively.

During the in-control period, the rate of inspected items per sampling, , is given by:

where p0 is the probability that the DS procedure ends at the first stage, that is

When the DS procedure is in use, the average run length (ARL) also measures the efficiency of a control chart in detecting a process change. The expression to obtain the ARL for the VMAX chart with DS is shown in Machado & Costa (2008).

From earlier studies (Daudin, 1992), we observed that the charts with DS perform better with CL1 = ∞ , that is, α1 = 0. In this case, a VMAX1 point in the region above WL always triggers the inspection of the whole sample.

4.3 The synthetic VMAX chart

According to the synthetic procedure (see Wu & Spedding, 2000), the signal is based on the Conforming Run Length (CRL). The CRL is the number of samples taken from the process since the previous nonconforming sample until the occurrence of the next nonconforming sample. In the case of the absence of a previous nonconforming sample, the CRL is the number of samples taken from the beginning of the monitoring until the occurrence of a nonconforming sample. The signal is given when the CRL < L, where L is a specified positive integer.

Figure 1 shows the synthetic VMAX chart. The sample is classified as nonconforming when VMAXi falls beyond the control limit CL. Samples 9 and 13 are nonconforming (Figure 1). In this case, CRL = 4 (13th sample – 9th sample = 4). As CRL < L (=5), the synthetic VMAX chart signals an out-of-control condition.


For many types of control charts (for instance, the Shewhart chart), the ARL value for a given shift in the mean and/or in the variance of the process does not depend on whether the assignable cause is affecting the process since the beginning of the monitoring (zero-state ARL) or whether it only occurs after the process has been running for some time (steady-state ARL) that is, the zero-state ARL and the steady-state ARL are equal. However, for charts based on conforming run lengths, such as synthetic charts, this does not happen. We assume that the assignable cause only occurs after the process has been running for some time, so the performance measure will be the steady-state ARL.

Davis & Woodall (2002) obtained the steady-state ARL (SSARL) through a Markov chain model. We adopted this approach to obtain the steady-state ARL (SSARL) for the synthetic VMAX chart, see Machado et al. (2009) for details.

4.4 The EWMA scheme based on the VMAX statistic

The EWMA chart we propose to detect changes in the covariance matrix Σ is based on the statistic

where , being and the sample variances of X and Y, and λ is a smoothing parameter, satisfying 0 < λ < 1. The value of λ determines the weight given to the current sample value. When λ = 1 the EWMA places all of it weights on the most recent observation. The starting value Z0 is often taken to be the expected in-control value of Z (see Lucas & Saccucci, 1990). A signal is given if Z1 > CL , the control limit for the EWMA chart.

For the EWMA chart, the expected length of time from the process change to the signal will depend on the value of the control statistic Z at the time the change occurs. We assume that the control statistic has reached its steady-state or stationary distribution by the random point in time that the change occurs. When the steady-state distribution is adopted the chart's performance is measured by the steady-state ARL, shortly SSARL. Machado & Costa (2008) used the Markov chain approach described in Saccucci & Lucas (1990) to obtain the SSARL values.

5. Comparing charts

Table 4 brings the ARLs of the |S| chart, the VMAX chart and the VMAX chart with VSS, DS, synthetic and EWMA procedures.

From Table 4 we conclude that the VMAX chart with DS is the one with the best performance (see the ARL in bold).

6. Control charts for monitoring the mean vector and the covariance matrix

A chart based on the sample means and , and on the sample variances and is considered to control µand Σ. As an alternative to the use of two charts and two S2 charts, we consider a single chart based on the statistic MCMAX = max {|Zx|,|Zy|, Wx, Wy}, shortly MCMAX chart, where , , and . The parameter k is required to attend the imposed condition that, during the in-control period, the four statistics (|Zx|,|Zy|,Wx, Wy) have the same probability to exceed CL, the control limit of the proposed chart. The power of the MCMAX chart is given by

where

and PM is given by expression (1). The control limit CL is obtained by expression (1), with c = d = 0 and . The value of k is obtained by expression (9), with a = b = 1 and We used a grid search to obtain CL and k.

The sample points plotted on the MCMAX chart correspond to the largest value among (|Zx|,|Zy|,Wx, Wy). The MCMAX chart is not always faster in signaling than the joint T2 and |S| charts. However, the synthetic procedure improves the performance of the MCMAX chart. According to this procedure, a second sample point beyond the upper control limit and not far than L sampling intervals from the first one triggers the alarm.

We also adopted the approach proposed by Davis & Woodall (2002) to obtain the ARL for the synthetic MCMAX chart.

Table 5 shows the influence of the design parameter L on the MCMAX performance. As L increases the speed with which the synthetic MCMAX chart signals also increases. The gain in speed is more significant when L increases from 1 to 6. For instance, when a = b = 1 and c = d = 0.5, the ARL reduces 18.0 % (from 21.4 to 17.5). By other hand, as L increases from 6 to 10, the ARL reduces 1.0 % (from 17.5 to 17.3).

Table 6 presents the ARLs of both the synthetic MCMAX chart and the joint T2 and |S| charts. The synthetic MCMAX chart is faster in signaling than the joint charts, except when the correlation between X and Y is high. When the correlation is high, the joint charts are, in general, faster in signaling assignable causes that only affect the mean and/or the variability of one of the two quality characteristics. We chose the usual sample size n=5. The conclusions are the same considering other values of n.

7. Illustrative example

The purpose of the following example is to show the ability of the synthetic MCMAX chart in detecting shifts in the mean vector and/or in the covariance matrix. To this end, we considered a bivariate process whose quality characteristics of interest, X and Y, are normally distributed. When the process is in-control, the mean vector and the covariance matrix are given by µ0 = (0,0) and

We initially generate 5 samples of size 5 with the process in control. The last 5 samples were simulated considering that the assignable cause changes the mean and the variability of X, that is, µx = 1.0 and σx = 1.25.

Table 7 presents the data of X, Y, Z, W and MCMAX. The control limit of CL = 2.667 was determined by expression (1), with c = d = 0, to assure a false alarm risk α of 0.005. Figure 2 shows the synthetic MCMAX control chart. As the number of sampling intervals l (=2) is smaller than L (=7), the synthetic MCMAX control chart signals an out-of-control condition.


8. Conclusions

In this article we proposed new charts to control the mean vector and/or the covariance matrix of bivariate processes. The monitoring statistics associated to these charts are based on the sample means and sample variances. As the control chart's users are, in general, more familiar with means and variances, they will have less difficult to deal with the proposed charts if compared with the charts proposed by Hotelling (1947) and Alt (1985). In terms of efficiency, the VMAX chart always performs better than the |S| chart. With the rule of the two points beyond the control limit, the synthetic MCMAX chart almost ever performs better than the joint T2 and |S| charts.

Acknowledgements

This work was supported by CNPq – National Council for Scientific and Technological Development, Project 307744/2006-0 – and FAPESP – The State of São Paulo Research Foundation, Project 2006/00491-0. We are in debt with the three anonymous referees who carefully read an earlier draft and made many constructive suggestions. During the celebration of the 40th SBPO event, this paper was elected the best one in the field of Operations Management. We would like to thank the award committee.

Recebido em 12/2008; aceito em 06/2009

Received December 2008; accepted June 2009

  • (1) Alt, F.B. (1985). Multivariate quality control. In: Encyclopedia of Statistical Science [edited by S. Kotz and N.L. Johnson], 6, 110-122.
  • (2) Aparisi, F. (1996). Hotelling's T2 control chart with adaptive sample sizes. International Journal of Production Research, 34, 2853-2862.
  • (3) Aparisi, F.; Jabaloyes, J. & Carrión, A. (2001). Generalized variance chart design with adaptive sample sizes. The bivariate case. Communication in Statistics Simulation and Computation, 30, 931-948.
  • (4) Chen, G.; Cheng, S.W. & Xie, H. (2005). A new multivariate control chart for monitoring both location and dispersion. Communications in Statistics-Simulation and Computation, 34, 203-217.
  • (5) Costa, A.F.B. (1994). X control charts with variable sample size. Journal of Quality Technology, 26, 155-163.
  • (6) Costa, A.F.B. & Machado, M.A.G. (2007). Synthetic control charts with two-stage sampling for monitoring bivariate processes. Pesquisa Operacional, 27, 117-130.
  • (7) Costa, A.F.B. & Machado, M.A.G. (2008). A new multivariate control chart for monitoring the covariance matrix of bivariate processes. Communications in Statistics-Simulation and Computation, 37, 1453-1465.
  • (8) Costa, A.F.B. & Machado, M.A.G. (2008a). Bivariate control charts with double sampling. Journal of Applied Statistics, 35, 809-822.
  • (9) Costa, A.F.B. & Machado, M.A.G. (2009). A new chart based on sample variances for monitoring the covariance matrix of multivariate processes. International Journal of Advanced Manufacturing Technology, 41, 770-779.
  • (10) Daudin, J.J. (1992). Double sampling X charts. Journal of Quality Technology, 24, 78-87.
  • (11) Davis, R.B. & Woodall, W.H. (2002). Evaluating and improving the synthetic control chart. Journal of Quality Technology, 34, 200-208.
  • (12) Epprecht, E.K. & Costa, A.F.B. (2001). Adaptive sample size control charts for attributes. Quality Engineering, 13, 465-473.
  • (13) Hotelling, H. (1947). Multivariate quality control, illustrated by the air testing of sample bombsights. Techniques of Statistical Analysis, 111-184.
  • (14) Khoo. B.C. (2005). A new bivariate control chart to monitor the multivariate process mean and variance simultaneously. Quality Engineering, 17, 109-118.
  • (15) Lucas, J.M. & Saccucci, M.S. (1990). Exponentially weighted moving average control schemes: properties and enhancements. Technometrics, 32, 1-16.
  • (16) Machado, M.A.G. & Costa, A.F.B. (2008). The double sampling and the EWMA charts based on the sample variances. International Journal of Production Economics, 114, 134-148.
  • (17) Machado, M.A.G. & Costa, A.F.B. (2008a). Some comments on the use of principal components and simultaneous univariate control charts for multivariate process control. Pesquisa Operacional, 28, 173-196.
  • (18) Machado, M.A.G. & Costa, A.F.B. (2008b). Monitoring the mean vector and the covariance matrix of bivariate processes. Brazilian Journal of Operations and Production Management, 5, 47-62.
  • (19) Machado, M.A.G.; De Magalhães, M.S. & Costa, A.F.B. (2008). Gráfico de controle de VMAX para o monitoramento da matriz de covariâncias. Produção, 18, 222-239.
  • (20) Machado, M.A.G.; Costa, A.F.B. & Rahim, M.A. (2009). The synthetic control chart based on two sample variances for monitoring the covariance matrix. Quality and Reliability Engineering International, 25, 595-606.
  • (21) Microsoft Fortran Power Station 4.0 (1995). Professional Edition with Microsoft IMSL Mathematical and Statistical Libraries Microsoft Corporation, Washington, USA.
  • (22) Saccucci, M.S. & Lucas, J.M. (1990). Average run lengths for exponentially weighted moving average control schemes using the Markov chain approach. Journal of Quality Technology, 22, 154-162.
  • (23) Zhang, G. & Chang, S.I. (2008). Multivariate EWMA control charts using individual observations for process mean and variance monitoring and diagnosis. International Journal of Production Research, 46, 6855-6881.
  • (24) Wu, Z. & Spedding, T.A. (2000). A synthetic control chart for detecting small shifts in the process mean. Journal of Quality Technology, 32, 32-38.
  • *
    Corresponding author / autor para quem as correspondências devem ser encaminhadas
  • Publication Dates

    • Publication in this collection
      03 Feb 2010
    • Date of issue
      Dec 2009

    History

    • Accepted
      June 2009
    • Received
      Dec 2008
    Sociedade Brasileira de Pesquisa Operacional Rua Mayrink Veiga, 32 - sala 601 - Centro, 20090-050 Rio de Janeiro RJ - Brasil, Tel.: +55 21 2263-0499, Fax: +55 21 2263-0501 - Rio de Janeiro - RJ - Brazil
    E-mail: sobrapo@sobrapo.org.br