Bayesian change point estimation in Poisson-based control charts
Abstract
EconStor is a publication server for scholarly economic literature, provided as a non-commercial public service by the ZBW.
Full text
Assareh, Hassan; Noorossana, Rassoul; Mengersen, Kerrie L. Article Bayesian change point estimation in Poisson-based control charts Journal of Industrial Engineering International Provided in Cooperation with: Islamic Azad University (IAU), Tehran Suggested Citation: Assareh, Hassan; Noorossana, Rassoul; Mengersen, Kerrie L. (2013) : Bayesian change point estimation in Poisson-based control charts, Journal of Industrial Engineering International, ISSN 2251-712X, Springer, Heidelberg, Vol. 9, pp. 1-13, https://doi.org/10.1186/2251-712X-9-32 This Version is available at: https://hdl.handle.net/10419/147172 Standard-Nutzungsbedingungen: Die Dokumente auf EconStor dürfen zu eigenen wissenschaftlichen Zwecken und zum Privatgebrauch gespeichert und kopiert werden. Sie dürfen die Dokumente nicht für öffentliche oder kommerzielle Zwecke vervielfältigen, öffentlich ausstellen, öffentlich zugänglich machen, vertreiben oder anderweitig nutzen. Sofern die Verfasser die Dokumente unter Open-Content-Lizenzen (insbesondere CC-Lizenzen) zur Verfügung gestellt haben sollten, gelten abweichend von diesen Nutzungsbedingungen die in der dort genannten Lizenz gewährten Nutzungsrechte. Terms of use: Documents in EconStor may be saved and copied for your personal and scholarly purposes. You are not to copy documents for public or commercial purposes, to exhibit the documents publicly, to make them publicly available on the internet, or to distribute or otherwise use the documents in public. If the documents have been made available under an Open Content Licence (especially Creative Commons Licences), you may exercise further usage rights as specified in the indicated licence. http://creativecommons.org/licenses/by/2.0/
Assareh et al. Journal of Industrial Engineering International ORIGINAL RESEARCH Open Access Bayesian change point estimation in Poisson-based control charts Hassan Assareh1*, Rassoul Noorossana2and Kerrie L Mengersen3 Abstract Precise identification of the time when a process has changed enables process engineers to search for a potential special cause more effectively. In this paper, we develop change point estimation methods for a Poisson process in a Bayesian framework. We apply Bayesian hierarchical models to formulate the change point where there exists a step change, a linear trend and a known multiple number of changes in the Poisson rate. The Markov chain Monte Carlo is used to obtain posterior distributions of the change point parameters and corresponding probabilistic intervals and inferences. The performance of the Bayesian estimator is investigated through simulations and the result shows that precise estimates can be obtained when they are used in conjunction with the well-known c-, Poisson exponentially weighted moving average (EWMA) and Poisson cumulative sum (CUSUM) control charts for different change type scenarios. We also apply the Deviance Information Criterion as a model selection criterion in the Bayesian context, to find the best change point model for a given dataset where there is no prior knowledge about the change type in the process. In comparison with built-in estimators of EWMA and CUSUM charts and ML based estimators, the Bayesian estimator performs reasonably well and remains a strong alternative. These superiorities are enhanced when probability quantification, flexibility and generalizability of the Bayesian change point detection model are also considered. Keywords: Bayesian hierarchical model; Change point; Control charts; Markov chain Monte Carlo; Poisson process Background Statistical process control charts are used to detect changes in a process by distinguishing between assignable causes and common causes of the process variation. When a control chart signals, process engineers initiate a search to identify and eliminate the source of variation. Knowing the time at which the process began to vary, the so-called change point, would help to conduct the search more efficiently in a tighter time-frame. A Poisson process is often used to model the number of occurrences in an interval of time. In this regard, Poisson-based control charts have been developed and frequently applied in an industry context to monitor the number of defects and nonconformities in a product (Gardiner and Montgomery 1987; White et al. 1997) and in a health context to monitor patient mortality and *Correspondence: [email protected] 1Simpson Centre for Health Services Research, Australian Institute of Health Innovation, Faculty of Medicine, University of New South Wales, Sydney, NSW 2052, Australia Full list of author information is available at the end of the article spread of an infection in a hospital (Benneyan 1998; Limayea et al. 2008). The most commonly used control chart procedures adopted for Poisson-distributed data include c-charts (Shewhart 1926, 1927), cumulative sum of quality characteristic measurement (CUSUM; Page 1954, 1961; Brook and Evans 1972), and exponentially weighted moving average (EWMA; Roberts 1959; Trevanich and Bourke 1993; Borror and Rigdon 1998); see Woodall (1997) and Montgomery (2008) for more details. Furthermore, appropriate control charts and methods were developed in monitoring more complex Poisson data including correlated (Chiu and Kuo 2007; Niaki and Abbasi 2008; Niaki and Nafar 2008; Amiri et al. 2011) and auto-correlated observations (Weiß, 2007; Vermaat et al. 2008). It has been shown that Poisson CUSUM and Poisson EWMA charts are more sensitive for detecting small shifts in the process parameters whereas a c-chart still remains efficient for the detection of large shifts (Montgomery 2008). However, upon signaling, none of them provide specific information regarding the time at © Assareh et al.; licensee Springer. This is an Open Access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/2.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited. 2013, 9:32 http://www.jiei-tsb.com/content/9/1/32 2013
Assareh et al. Journal of Industrial Engineering International Page 2 of 13 which the process changed and the magnitude and the type of the change. In recent years, statistical and machine-learning methods have been employed in the development of change point estimators for a broad range of processes and change types (Amiri and Allahyari 2012; Atashgar 2013). For Poisson processes, maximum likelihood (ML) methods were applied to estimate the true time of a step change (Samuel and Pignatiello 1998; Perry 2004) and a linear trend (Perry et al. 2006) in the Poisson rate. It was shown that more precise estimates were obtained when ML estimators were used in conjunction with Poisson control charts, compared to charts’ signals and CUSUM (Page 1954) or EWMA built-in estimators (Nishina 1992). A confidence interval on the estimated change point was also constructed (Perry 2004; Perry et al. 2006). Furthermore, Perry et al. (2007a) challenged the underlying assumption of knowing the form of change types and derived a ML estimator for non-decreasing multiple step change points (unknown number of consecutive changes) using isotonic regression models. The estimator was reported a reasonable alternative for some magnitudes of the step and linear trend disturbances. In the presence of multiple change points, it was found to be the superior. ML estimators have also been extended for step change scenarios in correlated Poisson observations (Niaki and Khedmati 2012; 2013a; Sharafi et al. 2013). Similar methods were extended to other attributes including binary data (Perry et al. 2007b; Noorossana et al. 2009; Amiri et al. 2011; Hou et al. 2013; Niaki and Khedmati 2013b). A Bayesian formulation has recently been proposed as an alternative in change point estimation within a clinical context (Assareh et al. 2011a). It can easily capture complexity of patient mix and provide highly informative and precise estimates for the true time of a step change (Assareh et al. 2011c) or linear trend (Assareh et al. 2011b) in the odds ratio of clinical outcomes or mean survival time following a clinical procedure (Assareh and Mengersen 2012). Application of the Bayesian framework to change point estimation provides a way of making a set of inferences based on posterior distributions for the time and the magnitude of a change as well as assessing the validity of underlying assumptions in the change point model itself (Gelman et al. 2004). In this paper, we model the change point in a Poisson process using a Bayesian framework and compare the performance of the Bayesian estimator with ML estimators. We model and estimate change points assuming that the underlying change type is known. In this scenario, the changes are in the form of a step change, a linear trend and a multiple change with known number of changes. For each model, we analyze and discuss the performance of the Bayesian change point model through posterior estimates and probability-based intervals. The three models are demonstrated and evaluated in sections ‘Bayesian change point model’, ‘Evaluation’, and ‘Performance analysis’ and then compared with respect to goodness of fit in section ‘Comparative performance and model selection’. We then compare the Bayesian estimator with ML estimators and others in section ‘Comparison of Bayesian estimator with other methods’ and summarize the study and obtained results in section ‘Conclusion’. Bayesian change point model Statistical inferences for a quantity of interest in a Bayesian framework are described as the modification of the uncertainty about their value in the light of evidence, and Bayes’ theorem precisely specifies how this modification should be made as below: Posterior ∝Likelihood ×Prior, (1) where ‘Prior’ is the state of knowledge about the quantity of interest in terms of a probability distribution before the data are observed; ‘Likelihood’ is a model underlying the data, and ‘Posterior’ is the state of knowledge about the quantity after data are observed which also is in the form of a probability distribution. This structure is expendable to multiple levels in a hierarchical fashion, socalled Bayesian hierarchical models (BHM), which allows to enrich the model by capturing all kinds of uncertainties for data observed as well as priors. In complicated BHMs, it is not easy to obtain the posterior distribution analytically. This analytic bottleneck has been eliminated by the emergence of Markov chain Monte Carlo (MCMC) methods. In MCMC algorithms, a Markov chain, also known as a random walk, is constructed whose stationary distribution is the posterior distribution of the parameters. Samples generated from a long run of the Markov chain using a proposal transition density are drawn from posterior distributions of interest. Some common MCMC methods for drawing samples include Metropolis-Hastings and the Gibbs sampler (see Gelman et al. (2004) for more details). Consider a Poisson process Xt,t=1, ...,T,thatis initially in-control, with independent observations coming from a Poisson distribution with a known rate λ0.At an unknown point in time, τ, the Poisson rate parameter changes from its in-control state of λ0to λ1,λ1= λ0+δ,δ= 0. The Poisson process step change model can thus be parameterized as follows: p(xt|λt)=exp(−λ0)λxt 0/xt!if t =1, 2, ...,τ exp(−λ1)λxt 1/xt!if t =τ+1, ...,T,, (2) where δis the magnitude of the step change and τand T are the change time and the current time, respectively. 2013, 9:32 http://www.jiei-tsb.com/content/9/1/32
Assareh et al. Journal of Industrial Engineering International Page 3 of 13 The departure from the in-control state may occur due to a non-constant change type scenario which can be explained by a linear trend model λt=λ0+β(t−τ)for t> τ.Inthismodel,βis the magnitude of the linear trend disturbance (slope) in the process parameter and its positive value implies an increasing trend in which λt>λ 0, while anegativeβleads to a linear reduction of the Poisson rate and λt<λ 0for t=τ+1, ...,T.ThePoissonprocess linear trend change model can be modelled as follows: p(xt|λt)=⎧ ⎨ ⎩ exp(−λ0)λxt 0/xt!if t =1, 2, ...,τ exp(−(λ0+β(t−τ))) (λ0+β(t−τ))xt/xt!if t =τ+1, ...,T. (3) In order to address the possibility of having change types other than step and linear trend forms (Perry et al. 2007a), we introduce a multiple change point scenario where the number of change points is known. This prior knowledge might have been obtained based on awareness and past experience of process engineers in factors such as changes in operators, materials, procedures, tools, and policies which may lead to increasing or decreasing step changes in the Poisson rate. Here, we consider the case of two sequential step changes. Other cases with more than two change points can be modelled in the same way. In this scenario, at an unknown point in time, τ1,the Poisson rate parameter changes from its in-control state of λ0to λ1,λ1=λ0+δ1,δ1= 0. For a period of time, the process continues with the new parameter, λ1,and then at an unknown point in time, τ2,itchangestoλ2, λ2=λ0+δ2,δ2= δ1= 0. The Poisson process multiple change point model with two step changes can thus be parameterized as follows: p(xt|λt)=⎧ ⎨ ⎩ exp(−λ0)λxt 0/xt!if t =1, 2, ...,τ1 exp(−λ1)λxt 1/xt!if t =τ1+1, ...,τ2 exp(−λ2)λxt 2/xt!if t =τ2+1, ...,T. (4) Regarding above models to Equation 1, p(.|.),isthe likelihood that underlies the observations; and posterior distributions of the time (τ,τ1,τ2) and the magnitude of change (δ,β,δ1,δ2) will be constructed and investigated as they are the unknown parameters of interest in the change point analysis. Assume that the process Xtis monitored by a control chart that signals at time T. We assign a zeromean normal distribution with a standard deviation of 6×√λ0as a prior distribution for all change sizes (δ,β, δ1,δ2). This is a reasonably informative prior for the magnitude of the change in an in-control Poisson rate as the control chart is sensitive enough to detect very large shifts and estimate associated change points. Other distributions such as uniform or Gamma might also be of interest; see Gelman et al. (2004) for more details on selection of prior distributions. We place a uniform distribution on the rangeof(1,T−1) as a prior for the time of the change (τ,τ1,τ2). To avoid obtaining a negative value for process mean after a change, λ1(2), within MCMC, particularly when a drop has occurred, we added a constraint such that λ1(2)must be positive. Although other methods such as modelling the process on the log scale may be of interest, we do not pursue these here as we may lose simplicity and explicit or correct reflection of the Poisson process. See the Appendix for the change model codes in WinBUGS (Spielgelhalter et al. 2003). Evaluation We used Monte Carlo simulation to study the performance of the constructed BHMs in change estimation following a signal from c-, Poisson CUSUM, and Poisson EWMA control charts when a change (step, linear, multiple) is simulated to occur at τ=100. We generated 100 observations of a Poisson process with an in-control rate of λ0=20. To investigate the behavior of the Bayesian estimators over the population for different change sizes, we replicated this simulation method 100 times. Simulated datasets that were obvious outliers were excluded. This setting allows us to have distribution of estimates with standard errors in orders of 10. The number of replication studies is a compromise between excessive computational time, considering MCMC iterations and sufficiency of the achievable distributions even for tails. In the step of change scenario, we induced step changes of sizes δ={+2, +6}as an example and δ= {±2, ±6, ±15}for a replication study until the control charts signalled. In the linear trend model, changes of slopes β={±0.5, ±1.0, ±2.0}were induced until the control charts signalled. For the multiple change point case, two consecutive changes are simulated to occur at (τ1,τ2)=(100, 110). We induced two changes of sizes (δ1,δ2)={(±4, ±8),(±4, ±12)}as part of a replication study at the determined times of change (τ1,τ2)until the control charts signalled. In this scenario, the replication study was limited to c-chart, since other control charts mostly signalled prior to the induction of the second change point. Because we know that the process is in-control, if an out-of-control observation was generated in the simulation of the early 100 in-control observations, it was taken as a false alarm and the simulation was restarted. However, in practice, a false alarm may lead to stopping the process and analyzing root causes. When no cause is found, the process would follow without adjustment. Furthermore, for the multiple change scenario, if in any simulation, the charts signalled earlier than simulating the second change, that simulation was terminated and not followed. The simulation was also repeated for rate 2013, 9:32 http://www.jiei-tsb.com/content/9/1/32
Assareh et al. Journal of Industrial Engineering International Page 4 of 13 parameters of 5 and 10 over equivalent change scenarios; since the results were similar to these obtained for λ0=20, they are not reported here. To construct control charts, we applied the Shewhart (1926, 1927), Brook and Evans (1972), and Trevanich and Bourke (1993) procedures for c-, Poisson CUSUM, and Poisson EWMA control charts, respectively. A Poisson CUSUM accumulates the difference between an observed value and a reference value kthrough S+ i=max{0, xi− k++S+ i−1}and S− i=max{0, k−−xi+S− i−1},where k+=(λ+ 1−λ0)/(ln(λ+ 1)−ln(λ0)) and k−=(λ0− λ− 1)/(ln(λ0)−ln(λ− 1)).IfS± iexceeds a specified decision interval h±then the control chart signals that an increase (a decrease) in the Poisson rate occurred. We calibrated the charts to detect a 25% shift in Poisson rates and have an in-control average run length (A ˆ RL0) of 370 approximately, close to a standard c-chart (see Woodall and Adams (1993)). The resultant Poisson CUSUM charts had (k+,h+)=(22.4, 22)and (k−,h−)=(17.4, 14).For simplicity, the values were rounded to one decimal place. In a Poisson EWMA cumulative values of observations are obtained through Zi=r×xi+(r−1)×Zi−1, where Z0=λ0, and plotted in a chart with UCL = λ0+A+√VarZiand LCL =λ0−A−√VarZi.Weletr=0.1 and A±=2.67 to build a chart with an ARL0of 370, close to a standard c-chart. All changes and control charts were simulated in the R package. To obtain posterior distributions of the time and the magnitude of the changes, we used the R2WinBUGS interface (Sturtz et al. 2005) to generate 100,000 samples through MCMC iterations in WinBUGS (Spielgelhalter et al. 2003) for all change point scenarios with the first 20,000 samples ignored as burn in. We then analyzed the results using the CODA package in R (Plummer et al. 2010). See the Appendix for the change point model codes in WinBUGS. Performance analysis Step change model The posterior distributions for the time and the magnitudeofastepchangeofsize+6arepresentedinFigure1. For all control charts, posterior distributions of the change point concentrate on the 100th sample which is the real change point. Since the posteriors are asymmetric and skewed, particularly for the time of the change, the posterior mode is used as an estimator for change point model parameters (τ,δ). Table 1 shows the posterior estimates for increases of sizes +2 and +6 in the process mean. The c-chart detects a fall of around half a standard deviation (δ=+2) in the Poisson rate after 101 samples where the mode of the posterior distribution reports the 101st sample as the change point. For a medium-shift size, δ=+6, around one-and-a-half standard deviation, the posterior mode concentrates on the 100th sample whereas the c-chart signals with 38 samples delay. The Poisson EWMA chart detects the shifts +2 and +6, after 42 and 13 samples, where the posterior distributions report the 103rd and 100th samples as the change points, respectively. This result implies that although the obtained posterior modes overestimate the change point for small shifts, they still perform relatively better than the Poisson EWMA chart. The resultant posteriors from a Poisson CUSUM are almost identical to those from Poisson EWMA. Bayesian estimates of the magnitude of the change tend to estimate small shifts almost precisely. However, the medium shift sizes are underestimated, although this slight bias must be considered in the context of their corresponding standard deviations. Applying the Bayesian framework enables us to construct probability-based intervals around estimated parameters. A credible interval (CI) is a posterior probability-based interval which involves those values of highest probability in the posterior density of the parameter of interest. Table 2 presents 50% and 80% credible intervals for the estimated time and the magnitude of step changes in all three control charts. As expected, the CIs are affected by the dispersion and higher order behaviors of the posterior distributions. Under the same probability of 0.8 for the c-chart, the CI for the time of the step change of size δ=+2 covers 53 samples around the 100th sample whereas it decreases to 6 samples for δ=+6 due to the smaller standard deviation (see Table 1). The comparison of the 50% and 80% CIs for the estimated time of a step change of size δ=+6inthePoisson EWMA chart reveals that the posterior distribution of the time is highly left skewed and the increase in the probability contracts the left boundary of the interval, from 96.9 to 88 in comparison with the shift in the right boundary. This investigation can be extended to other shift sizes and control chart scenarios for the time estimates. As shown in Table 1 and discussed above, the magnitude of the changes are not estimated as precisely as the time. However, Table 2 shows that in most cases for δ=+2, the real size of change are contained in the respective posterior 50% and 80% CIs. Having a distribution for the time of the change enables us to make other probabilistic inferences. As an example, Table 3 shows the probability of the occurrence of the change point in the last 10, 25, and 50 observed samples prior to signalling in the control charts. For a step change of size δ=+2, since the c-chart signals very late (see Table 1), it is unlikely that the change point occurred in the last 10, 25, and even 50 samples. In contrast, in the Poisson EWMA and CUSUM charts, where they both signal earlier than the c-chart, the probabilities of occurrence in the last 10 samples are 0.55 and 0.59, then increase to 0.76 and 0.82, respectively as the next 15 samples are included. In 2013, 9:32 http://www.jiei-tsb.com/content/9/1/32
Assareh et al. Journal of Industrial Engineering International Page 5 of 13 (a) (b) (c) (d) (e) (f) Figure 1 Posterior distributions of the time τand the magnitude δof a step change (λ0=20, δ=+6, τ=100) following signals from (a, b) c-chart, (c, d) Poisson EWMA and (e, f) Poisson CUSUM. the case of δ=+6, most of the probability density (0.98) is located between the last 25 and 50 samples for the c-chart, whereas with 0.80, it is between the last 10 and 25 samples for the Poisson EWMA chart and with probability 0.91, it isinthelast10samplesforthePoissonCUSUMchart. These kinds of probability computations and inferences can be extended to other change scenarios. Table 4 shows the average of the estimated parameters obtained from the 100 replicated datasets. As seen, although the c-chart detects small to medium shifts with a large delay, it performs better where there exists a jump. Having a longer delay in the detection of a decrease in the Poisson rate in comparison with an increase of the same size in the c-chart is due to the equality of mean and the variance of the Poisson distribution. Therefore, a fall in the mean leads to less dispersed observations. The Poisson EWMA and CUSUM charts behave in the same manner. For a step change of size around half a standard deviation (δ=±2) in the Poisson rate, the average of the modes, E(ˆτ), reports the 103rd sampleasthechangepoint 2013, 9:32 http://www.jiei-tsb.com/content/9/1/32
Assareh et al. Journal of Industrial Engineering International Page 6 of 13 Table 1 Posterior estimates (mode, SD) of step change point model parameters τand δfollowing signals (RL) δc-chart Poisson EWMA Poisson CUSUM RL ˆ τˆ δRL ˆ τˆ δRL ˆ τˆ δ +2 201 101.1 2.15 142 103 2.03 108 103.1 2.50 (16.3) (0.46) (24.1) (0.92) (16.6) (2.1) +6 138 100 4.5 113 100 3.1 106 100 5.8 (4.2) (0.8) (13.7) (1.4) (20.1) (2.7) From c-, Poisson EWMA (r=0.1 and A±=2 .67), and Poisson CUSUM charts (k+,h+)=(22.4,22),(k−,h−)=(17.4,14), where λ0=20 and τ=100. Standard deviations are shown in parentheses. in all three control charts, whereas the charts detect the changes with delays greater than 17 samples, obtained in the Poisson CUSUM. This superiority persists where a medium shift of size δ=±6hasoccurredintheprocess mean. As expected, for large-shift sizes (δ=±15), around three standard deviations, all control charts perform well, yet the mean of modes outperform them by a delay of less than one observation. Table 4 reveals that in all three control charts, the variation of Bayesian estimates for time tends to reduce when the magnitude of shift in the process mean increases. However, by the nature of the Poisson distribution, for small to medium drops, δ=(−2, −6),theobserved variation is less than those obtained in the estimation of jumps. The mean of the standard deviation of the posterior estimates of time, E(σˆτ), also decreases by moving for small-shift sizes to medium and large sizes in the Poisson EWMA and CUSUM charts. In contrast, the greatest variation is obtained for a large shift of size δ=±15 in the c-chart. This is due to the early detection of such shifts by the c-chart that leads to a very short run of samples after the change which then compresses the data and hence informs the MCMC algorithm. The average of the Bayesian estimates of the magnitude of the change, E(ˆ δ), shows that the modes of posteriors for change sizes do not perform as well as the posterior distributions of the time across different shift sizes; however, promising results are obtained where a small shift, δ=±2, has occurred in the process mean. This estimator tends to underestimate the sizes, particularly where there exists a jump. This bias increases when the shift size increases since a very short run of samples coming from the out-of-control state of the process with a high variance was used. As seen in Table 4, the best estimates are obtained in Poisson EWMA cases. Having said that, Bayesian estimates of the magnitude of the change must be studied in conjunction with their corresponding standard deviations. In this manner, analysis of credible intervals would be effective. Linear trend model Posterior distributions and probabilistic intervals and inferences are obtainable for the time and the slope of the linear trend, similar to the step change scenario illustrated in section ‘Step change model’. We, here, limited our results to the replication study over the simulated datasets outlined in section ‘Evaluation’. Table 5 shows the average of the estimated parameters over trends with slope sizes of β={±0.50, ±1.0, ±2.0}. For a linear trend with small slopes of size β=±0.5 in the Poisson rate, the average modal value, E(ˆτ),reports the 105th sample and less as the change point in all three control charts, whereas the charts detect the changes with delays greater than 10 samples, obtained in the Poisson CUSUM. This superiority also persists where a trend with larger slopes of size β=±1.0, ±2.0 has occurred in the process mean. In these scenarios, the bias of the Bayesian estimator does not exceed two and one samples, where the minimum delays are seven and four samples, respectively. Table 5 shows that in all three control charts, the variation of the Bayesian estimates for time tends to reduce when the magnitude of slope increases. The mean of Table 2 Credible intervals for step change point model parameters τand δ δc-chart Poisson EWMA Poisson CUSUM 50% 80% 50% 80% 50% 80% +2 ˆτ(101,105) (65,118) (96.6,114) (71.2,125.8) (98.2,105) (65.2,108) ˆ δ(2.1,3.2) (1.9,3.2) (1.41,2.65) (0.76,3.08) (0.12,2.50) (-0.23,4.8) +6 ˆτ(97.9,100) (96,102) (96.9,101) (88,103) (96,101) (83,106) ˆ δ(3.9,5.2) (3.4,5.5) (2.2,4.1) (1.2,4.8) (1.31,4) (0.05,4.9) Following signals from c-, Poisson EWMA (r=0.1, and A±=2.67) and Poisson CUSUM charts ((k+,h+)=(22.4,22),(k−,h−)=(17.4,14)), where λ0=20 and τ=100. 2013, 9:32 http://www.jiei-tsb.com/content/9/1/32
Assareh et al. Journal of Industrial Engineering International Page 7 of 13 Table 3 Probability of occurrence of change point in last 10, 25, and 50 observed samples prior to signalling δc-chart Poisson EWMA Poisson CUSUM 10 25 50 10 25 50 10 25 50 +2 0.00 0.00 0.01 0.55 0.76 0.86 0.59 0.82 0.91 +6 0.00 0.01 0.99 0.06 0.86 0.95 0.91 0.97 0.99 For c-, Poisson EWMA (r=0.1 and A±=2.67), and Poisson CUSUM charts ((k+,h+)=(22.4,22),(k−,h−)=(17.4,14)), where λ0=20 and τ=100. posterior standard deviation for time, E(σˆτ),also decreases by moving for small slope sizes to medium and large sizes in both directions. However, the observed variation for estimation of a decreasing trend is less than those obtained for an increasing trend with the same slope size. The average of the posterior estimates for the magnitude of the change, E(ˆ β), shows that the modes of the posteriors for change sizes perform as well as the posterior estimates of the time, particularly, for the c-chart and Poisson EWMA chart. In the CUSUM chart, the posteriors tend to underestimate the slope sizes. Multiple change model We applied the multiple change point model following signals of the c-chart as the Poisson EWMA and CUSUM mostly signalled before simulating the second change in the process. Although results here are limited to the replication study, distribution of parameters and probabilistic inferences can easily be constructed. As seen in Table 6 and discussed in section ‘Step change model’, the c-chart signals earlier when a larger shift, either an increase or decrease, has occurred in the second change; however, it performs better where there exists a jump, regardless of the direction of the first change. The chart alarmed after 38 samples when two consecutive drops of sizes around one and two standard deviations, δ1,2 =(−4, −8), occurred. Although this delay falls to 16 samples when the second change has happened in the opposite direction, the modes of posteriors for the time of the first change, E(ˆτ1), outperform the chart. This superiority persists when the size of the second change increases to around three standard deviations, δ2=(±12).The same results are also obtained, where the first change is an increase in the magnitude of one standard deviation, δ1=(+4). Table 6 reveals that the Bayesian estimator tends to underestimate the time of the first change of two monotonic changes where the second change is of size δ2=(±12). The associated variation, within replications, increases when the second step change increases in the same direction of the first change. The minimum variations of the posterior distributions for the time of the first change, E(ˆσˆτ1), are obtained where there exist non-monotonic changes (see δ1,2 =(−4, +8)and δ1,2 = (+4, −8)). This variation also increases when the second step change increases in the same direction of the first change. The time of the second step change is estimated precisely by the posterior modes. Table 6 shows that Table 4 Average of posterior estimates (mode, SD) of step change point model parameters τand δfollowing signals (RL) δc-chart Poisson EWMA Poisson CUSUM E(RL)E(ˆ τ) E(σˆ τ)E(ˆ δ) E(RL)E(ˆ τ) E(σˆ τ)E(ˆ δ) E(RL)E(ˆ τ) E(σˆ τ)E(ˆ δ) −15 101.17 100.45 22.48 −6.43 102.36 100.40 3.28 −11.49 101.13 100.46 23.21 −6.21 (0.42) (0.36) (8.42) (4.75) (0.67) (0.38) (5.33) (2.79) (0.33) (0.36) (7.39) (4.76) −6174.65 101.12 3.26 −5.90 106.43 100.72 14.92 -4.37 103.94 100.74 24.90 −2.10 (66.38) (1.72) (4.48) (1.06) (2.84) (0.76) (7.79) (2.47) (2.36) (0.76) (5.31) (2.13) −2663.24 103.05 21.33 −2.03 124.72 103.50 24.45 −2.11 127.54 103.23 27.13 −1.64 (517.23) (2.78) (8.06) (0.38) (18.74) (2.91) (6.92) (0.98) (26.82) (2.91) (6.30) (0.80) +2 184.22 102.66 20.50 2.00 119.72 103.00 23.26 2.05 117.77 102.70 24.79 1.85 (88.91) (3.83) (9.17) (0.83) (16.08) (3.18) (7.49) (0.82) (18.75) (3.20) (7.15) (0.76) +6 113.44 101.10 13.54 3.73 106.33 101.20 18.00 3.00 105.30 101.22 23.61 1.89 (13.17) (1.67) (9.71) (2.45) (2.87) (1.31) (7.35) (2.26) (2.55) (1.32) (5.37) (1.80) +15 101.51 100.48 22.00 3.81 102.56 100.51 10.33 7.52 101.77 100.50 19.43 4.84 (0.96) (0.30) (7.69) (4.17) (0.89) (0.29) (8.15) (3.78) (0.60) (0.30) (6.68) (4.21) From c-, Poisson EWMA (r=0.1 and A±=2.67), and Poisson CUSUM charts ((k+,h+)=(22.4,22),(k−,h−)=(17.4,14)), where λ0=20 and τ=100. Standard deviations are shown in parentheses. 2013, 9:32 http://www.jiei-tsb.com/content/9/1/32
Assareh et al. Journal of Industrial Engineering International Page 8 of 13 Table 5 Average of posterior estimates (mode, SD) of linear trend change point model parameters τand βfollowing signals (RL) βc-chart Poisson EWMA Poisson CUSUM E(RL)E(ˆ τ) E(σˆ τ)E(ˆ β) E(RL)E(ˆ τ) E(σˆ τ)E(ˆ β) E(RL)E(ˆ τ) E(σˆ τ)E(ˆ β) −2.0 106.48 100.83 2.27 −2.07 105.35 100.75 3.73 −1.72 104.07 100.92 5.29 −1.51 (1.47) (1.16) (2.14) (1.22) (1.14) (0.93) (3.25) (0.95) (1.15) (0.96) (3.08) (1.59) −1.0 111.24 102.05 2.80 −1.35 108.01 102.14 5.96 −1.02 106.46 102.74 7.62 −0.78 (2.56) (2.36) (1.73) (0.75) (1.76) (2.07) (5.33) (0.71) (1.92) (2.18) (4.82) (1.06) −0.5 120.08 102.96 4.19 −0.67 111.65 104.60 8.93 −0.50 109.67 104.70 9.40 −0.47 (4.96) (2.50) (1.54) (0.55) (2.51) (2.91) (5.28) (0.64) (3.06) (2.91) (4.77) (0.74) +0.5 113.93 103.75 6.66 0.43 110.98 104.45 8.75 0.43 109.82 104.78 8.83 0.49 (5.22) (2.99) (3.15) (0.55) (2.56) (2.94) (5.12) (0.62) (2.89) (2.78) (4.65) (0.54) +1.0 109.20 102.55 5.65 0.79 107.92 102.75 7.21 0.68 107.19 102.78 7.88 0.74 (3.14) (2.05) (3.87) (0.77) (2.13) (2.11) (5.93) (0.81) (2.09) (2.36) (4.87) (0.70) +2.0 105.46 101.20 4.93 1.48 105.52 101.18 5.21 1.75 104.82 101.19 6.19 1.66 (1.88) (1.02) (3.21) (0.94) (1.35) (1.04) (4.06) (1.05) (1.30) (1.04) (3.59) (0.88) From c-, Poisson EWMA (r=0.1 and A±=2.67), and Poisson CUSUM charts ((k+,h+)=(22.4,22),(k−,h−)=(17.4,14)), where λ0=20 and τ=100. Standard deviations are shown in parentheses. the average, E(ˆτ1), mostly concentrate on the 110th sample. Surprisingly, the variation between replications and also the variation of posterior distributions obtained for the time of the second change, E(ˆσˆτ1), are less than those obtained for the first step change. The average of the posterior estimates of the magnitude of the changes, E(ˆ δ1)and E(ˆ δ2), shows that the modes of the posteriors for change sizes do not perform as well as the posterior distributions of the time across different scenarios. The modes tend to underestimate the sizes, particularly, for jumps in either the first or the second step Table 6 Average of posterior estimates (mode, SD) of multiple step change point model parameters τ1,2 and δ1,2 following signals (RL) δ1,δ2E(RL)E(ˆ τ1)E(ˆ σˆ τ1)E(ˆ δ1)E(ˆ τ2)E(ˆ σˆ τ2)E(ˆ δ2) −4, −12 113.49 98.18 28.50 −1.17 109.26 7.08 −8.32 (2.46) (15.29) (4.19) (1.24) (1.69) (5.64) (3.07) −4, −8138.94 101.04 28.84 −1.18 109.06 5.48 −7.69 (25.94) (7.60) (5.31) (1.33) (2.06) (3.36) (1.65) −4,+8 116.98 100.74 23.30 −2.48 110.49 8.14 4.69 (5.75) (6.52) (9.20) (1.80) (0.60) (8.90) (3.63) −4,+12 112.78 100.37 23.86 −2.21 110.30 11.08 5.42 (2.29) (6.75) (8.27) (1.75) (1.06) (8.90) (4.87) +4,−12 113.10 101.77 25.03 1.64 110.48 7.23 −9.34 (2.50) (3.40) (7.67) (1.74) (0.34) (8.91) (3.28) +4,−8134.69 101.67 24.92 1.41 110.71 3.36 −7.7 (22.74) (7.04) (6.78) (1.38) (0.73) (5.59) (2.03) +4,+8 117.69 101.28 30.40 0.59 108.81 11.61 4.41 (5.69) (11.10) (2.53) (0.93) (1.96) (7.35) (2.50) +4,+12 112.23 98.32 29.93 0.09 108.37 11.90 4.17 (2.50) (15.32) (3.19) (1.13) (2.00) (8.15) (2.71) From c-, Poisson EWMA (r=0.1 and A±=2.67), and Poisson CUSUM charts ((k+,h+)=(22.4,22),(k−,h−)=(17.4,14)), where λ0=20 and τ=100. Standard deviations are shown in parentheses. 2013, 9:32 http://www.jiei-tsb.com/content/9/1/32