SciELO - Scientific Electronic Library Online

vol.21 número2Monitoring a wandering mean with an np chartAssessment of the teaching process: a multivariate approach índice de autoresíndice de materiabúsqueda de artículos
Home Pagelista alfabética de revistas  

Servicios Personalizados




Links relacionados



versión impresa ISSN 0103-6513

Prod. vol.21 no.2 São Paulo abr./jun. 2011  Epub 17-Jun-2011 

Economic-statistical design of variable parameters non-central chi-square control chart


Projeto econômico-estatístico de gráficos de controle qui-quadrado não-central com parâmetros variáveis



Maysa Sacramento de MagalhãesI,*; Francisco Duarte Moura NetoII, IBGE, Brazil, UERJ, Brazil




Production processes are monitored by control charts since their inception by Shewhart (1924). This surveillance is useful in improving the production process due to increased stabilization of the process, and consequently standardization of the output. Control charts keep track of a few key quality characteristics of the outcome of the production process. This is done by means of univariate or multivariate charts. Small improvements in control chart methodology can have significant economic impact in the production process. In this investigation, we propose the monitoring of a single variable by means of a variable parameter non-central chi-square control chart. The design of the chart is accomplished by means of optimizing a cost function. We use here a simulated annealing optimization tool, due to the difficulty of classical gradient based optimization techniques to handle the optimization of the cost function. The results show some of the drawbacks of using this model.

Keywords: Statistical process control. Economic design. Chi-square control chart. Variable parameters. Simulated annealing.


Processos de produção são monitorados por gráficos de controle desde a sua introdução por Shewhart (1924). Este monitoramento é útil na melhoria do processo de produção devido à crescente estabilização do processo, e consequentemente, padronização do produto. Gráficos de controle mantêm vigilância de características de qualidade de um processo de produção. Isto é feito por intermédio de gráficos univariados ou multivariados. Melhorias na metodologia de gráficos de controle podem levar a um impacto econômico significativo no processo de produção. Neste artigo, propomos um gráfico de controle de parâmetros variáveis baseado na estatística qui-quadrado nãocentral para monitorar uma característica de qualidade de interesse. O projeto do gráfico é realizado através da otimização de uma função custo. O algoritmo simulated annealing é usado devido à dificuldade dos métodos clássicos de otimização baseados no gradiente, de lidarem com a otimização da função custo. Os resultados mostram algumas das dificuldades de se usar este modelo.

Palavras-chave: Controle estatístico de processos. Projeto econômico. Gráfico de controle qui-quadrado. Parâmetros variáveis. Simulated annealing.



1. Introduction

Control chart, a largely known and used tool of Statistics Process Control due to its operational simplicity and efficiency in the monitoring of quality characteristics of production processes, was introduced by Shewhart (1924). Since then, several control charts have been devised. There are two distinct control charts classes: control charts for variables and for attributes. Control charts for variables require that measurements of the quality characteristics of the process are undertaken, as, for example, in the monitoring of means or individual observations. Control charts for attributes do not require measurements of the quality characteristics, and are used when such measurements are impossible or when, even if possible, one considers more advantageous to avoid them, as for instance when an accept/do not accept decision is made instead of the measurement of the diameter of a piece.

In the search of more efficient models, with reduced adjusted average time signal (AATS), new techniques or improvements are being developed for the control of processes. Control charts are being constructed with added flexibility in its operation through the variation of its design parameters (sample size, time interval between samples, coefficient of control limits), these schemes are called adaptives.

Initially, the investigation of adaptive control schemes focused in the study of the variation of sampling interval (REYNOLDS; ARNOLD,, 1989; RUNGER; PIGNATIELLO, 1991; RUNGER; MONTGOMERY, 1993; AMIN; MILLER, 1993; REYNOLDS, 1996; REYNOLDS; ARNOLD; BAIK, 1996) and the variation of the sample size (PRABHU; RUNGER; KEATS, 1993; COSTA, 1994). As a natural outgrow, further investigation combined variation in the sampling interval and the sample size (PRABHU; MONTGOMERY; RUNGER, 1994; COSTA, 1997), and also control charts with all its parameters varying (COSTA, 1998, 1999; DE MAGALHÃES; EPPRECHT; COSTA, 2001; DE MAGALHÃES; COSTA; EPPRECHT, 2002).

Joint charts for the mean and the variance have been studied as well (JONES; CASE, 1981; SANIGA, 1989; RAHIM, 1989; COSTA, 1993, 1998; RAHIM; COSTA, 2000; OHTA; KIMURA; RAHIM, 2002). Further work has been done by De Magalhães and Moura Neto (2005) and De Magalhães, Costa and Moura Neto (2006). Reynolds and Stoumbos (2001) investigated the use of three control charts for the simultaneous monitoring of the mean and the variability of normally distributed quality characteristics (X and MR chart, X and EWMA chart and two simultaneous EWMA charts). Although such studies demonstrate that none of the proposed charts have the ability of identifying the nature of the special cause that affects the process, such models have operational advantages related with the reduction of AATS. Costa and Rahim (2006) proposes a chi-square chart with two stages of sampling to monitor simultaneously both the mean and the variance.

Chen, Cheng and Xie (2001) combined two EWMA charts in one model, which proved to be an effective simultaneous control chart. Costa and Rahim (2004) proposed a fixed parameter control chart for the simultaneous monitoring of the mean and variability, also using the reading of only one chart, by means of a simple control statistics for the monitoring of the process, the non-central chi-square statistics (NCS). Such chart has proven more effective in the detection of special causes that affect the mean and/or the increase in the variability of the process when compared to joint Xbar and R charts.

In practice, a purely statistical model can be considered operationally disadvantageous depending on the costs incurred by the high frequency of sampling required for the optimal project (determination of the parameters which lead to minimum AATS) and/or for the high frequency of false alarms which appears when one diminishes unnecessarily the control limits of the chart. In this context, when one develops a chart for a production process some statistical and economic constraints have to be handled while determining optimal design of control charts.

The main trust of this work is to develop the economic-statistical design of a non-central chi-square control chart with variable parameters for the monitoring of variables, and to determine their optimal parameters for certain ranges of mean and variability perturbations of the process.


2. The NCS chart with variable parameters

The quality characteristic of interest, denoted by X, is normally distributed with mean µ and standard deviation σ. When the random variable X is in-control the value of µ is equal to its target value µ0 and the value of σ equals σ0, its target value. The aim of monitoring the process is the detection of a special cause that affects the value of µ, changing it from µ0 to µ1 = µ0 ± δσ0, where δ ≠ 0, and/or affects the value of σ, altering it from σ0 to σ1 = γσ0, with γ ≠ 1.

Consider Xlj, l = 1, 2, 3, ..., j = 1, 2, 3, ..., ni the measurements of variable X presents in groups of size n1 or n2, ni > 1, and varying with l, the index of the number of subgroup or sample. Let l = (xl1 + ... + xli)/ni denote the l-th sample mean, and el = (l – µ0) the difference between the l-th sample mean and the target value of the mean of the process.

Define the function ξl which depends on the value of the error el:

the non-central chi-square (NCS) chart with variable parameters is based on the plotting of the statistics:

where i = 1, 2 indexes the size of the sample in the a-priori state; ni is the variable sample size, and xlj, j = 1, 2, 3, ..., ni, are the measurements of the variable X grouped in samples of size ni > 1.

While in the in-control period, Yl02 is distributed as a non central chi-square with ni degrees of freedom and non-centrality parameter λ0i = nid2. Then, the probability of false alarms is given by:

where Yl02 ~ χ2ni(nid2), i = 1, 2 and ki, i = 1, 2 are the coefficients of the control limits, respectively for strict and loose control.

During the out-of-control period, Yl/σ21 is distributed as a non-central chi-square distribution with ni degrees of freedom and non-centrality parameter λ1i = ni(δ + ξl)22. Therefore, the power of the control chart is given by:

where Yl21 ~ χ2ni(ni(δ + ξl)22, i = 1, 2.


3. Characteristics of the chart

The interval (0, UCL) of the chart is partitioned in two distinct sub-regions: (0, WL) and (WL, UCL), where 0 < WL < UCL. The region defined by (0, WL) is called central region and the region (WL, UCL) is called warning region. The region above UCL is called action region of the chart. An out-of-control signal is produced when the sample falls in the action region.

The values of the parameters of the control chart in the sampling instant l (the sample size ni, the sampling interval hi and the coefficient of the control limit ki) depend on the position of the statistics in the previous instant of time (l – 1). If there is an indication of a possible change in the mean and/or variability of the production process (when the statistics hits the warning region in instant (l – 1)) the control of the process changes from a loose state to a strict state of control by collecting samples with larger sizes after smaller time intervals, with stricter control limits in the chart. Otherwise, during the loose control state, one collects smaller samples, after larger time intervals and using control limits less strict. This strategy, in general, minimizes the mean time of detection of an out-of-control process. After an interval of time hi the statistic Yl is computed based in a sample of size ni and is plotted in a control chart with warning limits given by

where wi is the coefficient of the varying warning limit and with control limits are given by

where ki is aperture factor of the variable control limit and wi < ki, i = 1, 2. The values of the parameters change in the following way:

  • loose control at instant l (n1, h1, w1, k1) if 0 < Yl–1 < WLi, i = 1, 2.
  • strict control at instant l (n2, h2, w2, k2) if WLi < Yl–1 < UCLi, i = 1, 2.

Since all parameters are allowed to vary, a non-central chi-square chart is called a VP-NCS chart (variable parameters), illustrated in Figure 1. The chart with two scales is used for the simultaneous monitoring of the mean and the variance. The left side is used for values of Y with small samples (n1) and for the right side one plots values of Y determined from large samples (n2). Since the scale on the left is not a linear function of the scale of the right side, the control and warning limits for small and large samples do not coincide, making it difficult to plot and interpret the points of the control chart. To avoid this, the left scale is related piecewise linearly with the scale of the right in such a way that the warning and action limits for both sizes coincide.



When the process is initiated or after the occurrence of a false alarm, the size of the first sample is chosen randomly. If the size of the sample is large (small), it should be collected after a small (large) time interval. During the in-control period, all the samples, including the first one, should have probability p0 of being small, n1, and a probability (1 – p0) of being large, n2, (COSTA, 1999),

where Yl20 ~ χ2ni(nid2), i = 1, 2.

A non-central chi-square chart with fixed parameters (h1 = h2, n1 = n2 and k1 = k2) is known as FP-NCS (fixed parameters). If variation of sample sizes is allowed (h1 = h2, n2 > n1 and k1 = k2), it is known as VSS-NCS (variable sample size). When variation of the sampling interval is included (h1 > h2, n1 = n2 and k1 = k2), the chart is known as VSI-NCS (variable sampling interval). When sample size and sampling interval are allowed to vary (h1 > h2, n2 > n1 and k1 = k2) it is known as NCS–VSSI chart (variable sample size and sampling interval).


4. Computation of the transition probabilities

The time that the control chart takes to detect changes in the process is a measure of its statistical efficiency. Usually, the process initiates in an in-control state and a special cause occurs in a random time in the future introducing changes in the mean and/or in the variability of the process. This hypothesis is assumed in the development of the model. The adjusted mean time since the occurrence of a shift after a change of d times the standard deviation in the mean and/or g times the standard deviation in the variability until a signal is called AATS (Adjusted Average Time to Signal).

At each sampled value, one of the following transient states is reached depending on the position of the statistics in the chart (central region or warning region) and the status of the process (in or out-of-control).

The transient states of the Markov chain are classified in the following way (Table 1):

  • State 1: The process is in-control (µ = µ0 and σ = σ0) and the control is loose (n = n1, h = h1, w = w1, k = k1);
  • State 2: The process is in-control (µ = µ0 and σ = σ0) and the control is strict (n = n2, h = h2, ww2, k = k2);
  • State 3: The process is out-of-control (µ = µ1 and σ = σ1) and the control is loose (n = n1, h = h1, w = w1, k = k1);
  • State 4: the process is out-of-control (µ = µ1 and σ = σ1) and the control is strict (n = n2, h = h2, w = w2, k = k2).



When the control chart produces a signal in the action region of the chart (the statistics falls out of the control limit) and the process is in state 1 or 2, this characterizes a false alarm. However, if the process is in states 3 or 4, the signal is a true alarm.

The transition matrix is given by:

where pij denotes the transition probability of the priori state i to the present state j.

Let T, the time the process is in-control, be exponentially distributed with parameter θ. Then, P(T > hi) = e–θhi is the probability of non-occurrence of a shift in m and in s during an interval of size hi, that is, the probability that the process is in-control during the time interval hi. The transition probabilities are given by




where, in Equations 7 to 10, Yl02 ~ χ2n1(n1d2). Also,




where, in Equations 11 to 14, Yl02 ~ χ2n1(n2d2). Moreover,



where, in Equations 15 to 17, Yl12 ~ χ2n1(n1(δ + ξ)22). Finally,



where, in Equations 18 to 20, Yl12 ~ χ2n1(n2(δ + ξ)22).

Each transient state has a probability bi of the process to be initiated from it. The initial probabilities of all transient state make up the vector of initial probabilities and are given by

State 1:

State 2:

State 3:

State 4:

The number of expected visits to any transient of the Markov chain is determined by

where b is the vector of initial probabilities, I is the identity matrix of order 4, Q is the matrix of transition probabilities removing the column and line corresponding to the absorbing state.


5. Economic Design of the VP-NCS chart

The process is initiated in an in-control state with µ = µ0 and standard deviation σ = σ0, assuming independent and identically distributed samples. The occurrence of a special cause introduces a change in the mean and/or variability of the process. The process is non-self correcting (it up-helds the mean and/or the variability change until it is repaired) and it can continue to operate or not during the search for a special cause and/or during the repair of the process. The parameters µ, σ, δ and γ are assumed known and the unknown parameters are n1, n2, h1, h2, w1, w2, k1 and k2.

The operation of a production process under the monitoring of a control chart designed economically can be seen as a sequence of cycles. The production cycle is defined as the time between the beginning or re-initialization of the process until the elimination of the special cause. The production cycle consists of in-control periods (time since the beginning, or the re-start of the process until the occurrence of a special cause, including interruptions due to false alarms), out-of-control period (time since the change in the process until the signal), time for investigation (to find the special cause when it does exist), and repair (time for repairing the process, to bring it to the original in-control behavior).

The average number of false alarms per cycle is determined by

where α' = [α1, α2, 0, 0] and Yl20 ~ χ2ni(nid2).

The average number of observed items per production cycle is given by

where m' = [n1, n2, n1, n2].

The average time to cycle (ATC) is the mean time from the beginning of the production until the first true signal of out-of-control, and is determined by

where h' = [h1, h2, h1, h2].

Computing the average time of cycle, the adjusted average time since the occurrence of a shift after an alteration of in the mean and/or in the variability until a signal (AATS) is determined by

where T is the time the process remains in control. The average time from the beginning of the process until a false alarm, that is when the process is in-control (ATS0) is determined by

where t' = [h1, h2, 0, 0].

5.1. Average cycle length

The length of a production cycle is formed by the in-control period and by the out-of-control period.

The average time spent in a production cycle comprises the average time in which the process remains in control and the average time the process remains out-of-control,

5.1.1. Period in-control

where T0 is the expected time in the search of a false alarm

5.1.2. Period out-of-control time

where T*** is the expected time in the search and removal of the special cause.

Therefore, the expected length of the cycle is determined by

5.2. Expected cost per cycle

Some costs are due to the maintenance of the quality control of a production process. The cost structure considered here includes costs of investigation of false alarms, of sampling and inspection, of removal of special cause, of production of non-conforming products while the process operates in-control and out-of-control.

The expected cost of a production cycle comprises the average cost of the process while in-control and by the average costs of the process operating out-of-control.

5.2.1. Expected cost in the in-control state

where C0 is the expected cost per hour of production of non-conforming products during the in-control period, and A0 is the expected cost per false alarm.

5.2.2. Expected cost when the process is out-of-control

where C1 is the expected cost per hour of production of non-conforming during the out-of-control period, W is the expected cost of repairing the process and A1 is the expected cost per inspected item,

Therefore, the expected cost in a cycle is determined by

5.3. The economic model

An expression is obtained for the expected cost per unit of time (ECTU) in the monitoring of the process through a VP-NCS chart. Since the process considered is a renewal-reward process (ROSS, 1970), ECTU can be written as a rate of expected cost (E(C)) per expected time in a cycle (E(TC)).

The design parameters of the economic model for the VP-NCS chart are obtained by finding the solution of the following constrained optimization problem

subjected to


d ≤ 1, 2

5.4. The economic-statistical model

In the determination of the minimum ECTU, one gets the optimal parameters of the VP-NCS chart. However, the economic design does not take into account any of the statistical properties not even the most relevant. The optimal design parameters for the economic model can lead to an excessive large number of false alarms and at the same time to the increase of the time of signaling the detection of out-of-control of the process.

Usually, the process is initiated in-control, µ = µ0 and σ = σ0, and afterwards an alteration in the mean and/or variability of the process occurs in a random instant in the future. When the process is in-control, it is desirable that the mean time from the beginning of the process until a signal (false alarm) be large, guaranteeing a reduced number of false alarms. This mean time is denoted by ATS0. When the process is out-of-control, it is desirable that the mean time between the occurrence of the special cause and the signal detecting an out-of-control behavior of the process be short, guaranteeing a rapid detection of changes in the production process. This mean time is denoted by AATS (Adjusted Average Time to Signal).

In the search for a better statistic behavior of the economic design, constraints are adjoined to the minimization problem of ECTU providing restrictions on the average time until a signal when the process is in-control (ATS0) and out-of-control (AATS).

The design parameters of the economic-statistic model for the VP-NCS chart are obtained by finding the solution of the following constrained optimization problem

subjected to the following constraints

d ≤ 1, 2, n1n2, n1 ≥ 1, n2 ≥ 3, 0.1 ≤ h2h1, h1 ≥ 1, 0.1 ≤ w2w1, 1 ≤ k2k1, ATS0 > L, AATS < U

where L is the lower bound of ATS0 and U is the upper bound of AATS.


6. Results and discussion

For the minimization of ECTU, we used simulated annealing, a stochastic-based optimization algorithm, because of the alternation between large flat plates and steep regions of the objective function which are difficult to handle with gradient based methods, see Figure 2.

We present the results of the optimization procedure in Tables 2 and 3, respectively for FP-NCS and VP-NCS charts. Several quantities are determined as functions of the shifts of the mean and variance (delta and gamma) of the process: ECTU, adjusted average to signal (AATS), average time in control (ATC), expected number of false alarms (E(F)), average number of itens (ANI), and ATS0 for FP-NCS chart (Table 2) and VP-NCS (Table 3). A comparison between the two charts is presented in Figure 3. There, the percentage gain attained when using the VP-NCS chart instead of the FP-NCS chart, is exhibit. It is clear that the VP-NCS outperforms the FP-NCS chart and it may be worth using in some situations.



The authors would like to thank the partial financial support of Fundação Carlos Chagas Filho de Amparo à Pesquisa do Estado do Rio de Janeiro (FAPERJ), and of Conselho Nacional de Desenvolvimento Científico e Tecnológico (CNPq/Brazil).



AMIN, R. W.; MILLER, R. W. A robustness study of charts with variable sampling intervals. Journal of Quality Technology, v. 25, p. 35-44, 1993.         [ Links ]

CHEN, G.; CHENG, S. W.; XIE, H. Monitoring process mean and variability with one EWMA chart. Journal of Quality Technology, v. 33, n. 2, p. 223-233, 2001.         [ Links ]

COSTA, A. F. B. Joint economic design of and R control charts for processes subject to two independent assignable causes. IIE Transaction, v. 25, p. 27-33, 1993.        [ Links ]

COSTA, A. F. B. Charts with variable sample size. Journal of Quality Technology, v. 26, p. 155-163, 1994.         [ Links ]

COSTA, A. F. B. charts with variable sample size and sampling intervals. Journal of Quality Technology, v. 29, p. 197‑204, 1997.         [ Links ]

COSTA, A. F. B. Joint and R charts with variable parameters. IIE Transactions, v. 30, p. 505-514. 1998.        [ Links ]

COSTA, A. F. B. Joint and R charts with variable samples sizes and sampling intervals. Journal of Quality Technology, v. 31, p. 387-397, 1999.         [ Links ]

COSTA, A. F. B.; RAHIM, M. A. Monitoring process mean and variability with one non-central chi-square chart. Journal of Applied Statistics, v. 31, n. 10, p. 1171-1183, 2004.        [ Links ]

COSTA, A.F.B.; RAHIM, M. A. The Non-central Chi-square Chart with Two Stage Samplings. European Journal of Operation Research, v. 171, p. 64-73, 2006.        [ Links ]

DE MAGALHÃES, M. S.; EPPRECHT, E. K.; COSTA, A. F. B. Economic Design of a Vp X bar Chart. International Journal of Production Economics, v. 74, p. 191-200, 2001.         [ Links ]

DE MAGALHÃES, M. S.; COSTA, A. F. B.; EPPRECHT, E. K. Constrained optimization model for the design of an adaptive chart. International Journal of Production Research, v. 40, n. 13, p. 3199-3218, 2002.        [ Links ]

DE MAGALHÃES, M. S.; MOURA NETO, F. D. Joint economic model for totally adaptive and R charts. European Journal of Operational Research, v. 161, p. 148-161, 2005.        [ Links ]

DE MAGALHÃES, M. S.; COSTA, A. F. B.; MOURA NETO, F. D. Adaptive control charts: A Markovian approach for processes subject to independent out-of-control disturbances. International Journal of Production Economics, v. 99, p. 236‑246, 2006.         [ Links ]

JONES, L. L.; CASE, K. E. Economic Design of a Joint X- and R -Control Chart. IIE Transactions, v. 13, n. 2, p 182‑195, 1981.        [ Links ]

OHTA, H.; KIMURA, A.; RAHIM A. An economic model for X-bar and R charts with time-varying parameters. Quality and Reliability Engineering International, v. 18, n. 2, p. 131-139, 2002.        [ Links ]

PRABHU, S. S.; MONTGOMERY, D. C.; RUNGER, G. C. A combined adaptive sample size and sampling interval control scheme. Journal of Quality Technology, v. 26, n. 3, p. 164-176, 1994.        [ Links ]

PRABHU, S. S.; RUNGER, G. C.; KEATS, J. B. An adaptive sample size chart. International Journal of Production Research, v. 31, p. 2895-2909, 1993.        [ Links ]

RAHIM, M. A. Determination of optimal design parameters of joint and R charts. Journal of Quality Technology, v. 21, p. 65‑70, 1989.         [ Links ]

RAHIM, M. A.; COSTA, A. F. B. Joint economic design of and R charts under Weibull shock models. International Journal of Production Research, v. 38, n. 13, p. 2871‑2889, 2000.        [ Links ]

REYNOLDS, M. R. Shewhart and EWMA variable sampling interval control charts with sampling at fixed times. Journal of Quality Technology, v. 28, p. 199-212, 1996.         [ Links ]

REYNOLDS, M. R.; ARNOLD, J. C. Optimal one-sided Shewhart control charts with variable sampling intervals. Sequential Analysis, v. 8, p. 51-77, 1989.        [ Links ]

REYNOLDS, M. R.; ARNOLD, J. C.; BAIK, J. W. Variable sampling interval X charts in the presence of correlation. Journal of Quality Technology, v. 28, n. 1, p. 12-30, 1996.         [ Links ]

REYNOLDS, M. R.; STOUMBOS, Z. G. Monitoring a proportion using CUSUM and SPRT control charts, in Frontiers in Statistical Quality Control. New York: Springer-Verlag, 2001. vol. 6.         [ Links ]

ROSS, S. M. Applied probability models with optimization applications. San Francisco: Holden-Day, 1970.         [ Links ]

RUNGER, G. C.; MONTGOMERY, D. C. Adaptive sampling enhancements for Shewhart control charts. IIE Transactions, v. 25, p. 41-51, 1993.        [ Links ]

RUNGER, G. C.; PIGNATIELLO, J. J. Adaptive sampling for process control. Journal of Quality Technology, v. 23, p. 135-155, 1991.         [ Links ]

SANIGA, E. M. Joint statistical design of X and R control charts. Journal of Quality Technology, v. 23, n. 2, p.156‑162, 1989.         [ Links ]

SHEWHART, W. A. The Application of Statistics as an Aid in Maintaining Quality of a Manufactured Product. Journal of the American Statistical Association, v. 20, n. 152, p. 546-548, 1952.        [ Links ]



Recebido 08/09/2010; Aceito 08/02/2011



*IBGE, Rio de Janeiro, RJ, Brazil



Click to enlarge
Clique para ampliar

Creative Commons License Todo el contenido de esta revista, excepto dónde está identificado, está bajo una Licencia Creative Commons