Next Article in Journal
Modulational Instability, Inter-Component Asymmetry, and Formation of Quantum Droplets in One-Dimensional Binary Bose Gases
Previous Article in Journal
Limited Non-Preemptive EDF Scheduling for a Real-Time System with Symmetry Multiprocessors
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Average Run Length on CUSUM Control Chart for Seasonal and Non-Seasonal Moving Average Processes with Exogenous Variables

by
Rapin Sunthornwat
1 and
Yupaporn Areepong
2,*
1
Industrial Technology Program, Faculty of Science and Technology, Pathumwan Institute of Technology, Bangkok 10330, Thailand
2
Department of Applied Statistics, Faculty of Applied Science King Mongkut’s University of Technology, Bangkok 10800, Thailand
*
Author to whom correspondence should be addressed.
Symmetry 2020, 12(1), 173; https://doi.org/10.3390/sym12010173
Submission received: 19 November 2019 / Revised: 24 December 2019 / Accepted: 8 January 2020 / Published: 16 January 2020

Abstract

:
The aim of this study was to derive explicit formulas of the average run length (ARL) of a cumulative sum (CUSUM) control chart for seasonal and non-seasonal moving average processes with exogenous variables, and then evaluate it against the numerical integral equation (NIE) method. Both methods had similarly excellent agreement, with an absolute percentage error of less than 0.50%. When compared to other methods, the explicit formula method is extremely useful for finding optimal parameters when other methods cannot. In this work, the procedure for obtaining optimal parameters—which are the reference value ( a ) and control limit ( h )—for designing a CUSUM chart with a minimum out-of-control ARL is presented. In addition, the explicit formulas for the CUSUM control chart were applied with the practical data of a stock price from the stock exchange of Thailand, and the resulting performance efficiency is compared with an exponentially weighted moving average (EWMA) control chart. This comparison showed that the CUSUM control chart efficiently detected a small shift size in the process, whereas the EWMA control chart was more efficient for moderate to large shift sizes.

1. Introduction

Statistical process control (SPC) has been widely used to monitor processes and services, so as to avoid any instabilities and inconsistencies. The control chart is the main tool for SPC. Page first introduced the cumulative sum (CUSUM) control chart [1] and Roberts initially devised the exponentially weighted moving average (EWMA) control chart [2]. The CUSUM and EWMA control charts were developed from the Shewhart control chart [3], which is suitable for processes with a large shift size in the parameters of interest (the mean or variance) when the observations follow a normal distribution. Meanwhile, the CUSUM and EWMA control chart can detect small shift sizes in the parameters of interest and they are suitable for observations following more complex patterns, such as auto-correlated observations, trending and seasonal observations, and changing point observations [4,5,6].
SPC has been adopted for monitoring production and service processes in several fields, such as medical sciences, industrial manufacturing, network analysis, mechanical trading on securities, and healthcare. A systematic review of the researches on the limitations and benefits of SPC for the quality improvement of healthcare systems can be found in [7,8], and a comparison of SPC to several control charts that were implemented in the manufacturing industry was given by Saravanan and Nagaragan [9]. Moreover, range and X-bar control charts to monitor production at Swat Pharmaceutical Company were researched by Muhammad [10], while SPC in a computer-integrated manufacturing environment was investigated by Montgomery and Friedman [11] and traffic observations for IP networks that were monitored by CUSUM, Shewhart and EWMA control charts were studied and analyzed by Matias et al. [12].
An advantage of the CUSUM control chart is that it is suitable for detecting unstable processes for a subgroup of data and single observations. The following researches focus on the application of the CUSUM control chart for real observations. Sunthornwat et al. [4] designed optimal differencing and smoothing parameters for EWMA and CUSUM control charts to evaluate average run length (ARL) with an autoregressive fractionally integrated moving average (ARFIMA) model. The practical observations were obtained from the time intervals in days between explosions in mines in Great Britain from 1875 to 1951 [13]. Meanwhile, Sheng-Shu and Fong-Jung [14] reported that the CUSUM control chart performed better than the EWMA control chart in monitoring the failure mechanism of wafer production quality control. Benoit and Pierre detected the persistent changes in the mean and variance in the state of marine ecosystems, while using indicators of North Sea cod from the International Bottom Trawl Survey [15]. Their results showed that the CUSUM control chart is suitable for detecting small, persistent changes.
The observations or data in practical situations are often collected from stochastic processes that are dependent on time-space or time series. In other words, the models established under the econometric models are sometimes specified in time-series models. The observations in econometrics as a time-series model comprise of autoregressive (AR) and moving average (MA) elements. Moreover, it is very simple to identify the movement patterns of time-series observations in MA models and, often, the seasonal factor can be embedded in the observations, being modeled as a seasonal moving average (SMA) model. Moreover, the error, which is the difference between the exact value and approximated value, should be considered in the modeling. A smaller error signifies better accuracy. The error of a time-series model, which is called white noise, usually follows a normal distribution, but another form of time-series model with auto-correlated observations is exponential white noise [16,17,18,19,20].
Econometric models are related to the economic indicators or variables that affect economic forecasting. An exogenous variable is a variable that is not affected by other variables in the system. For example, the exogenous variable may depend on the government’s investment policies. Exogenous variables that are popularly used in econometric models are the exchange rate, interest rate, and inflation rate, among others. These variables affect the econometric model when forecasting economic situations in the future. When forecasting in economics and other fields, if the forecasting model includes an exogenous variable, the model is usually more accurate than one without it. X denotes the exogenous variable in economic models, and models that are based on an MA or SMA time series with an exogenous variable are denoted as MAX and SMAX, respectively. For the quality control of processes and services, the efficiency of a control chart can be measured in terms of the proposed ARL [5,21]. The ARLs for the in-control state (ARL0) and the out-of-control state (ARL1) are evaluated as the efficiency criteria; a large ARL0 means that the control chart can be applied to efficiently control the process, whereas a small ARL1 demonstrates that the control chart can detect a change in the process quickly. The Numerical Integral Equation (NIE) method is widely used for the continuous distribution of observations in real-world applications. Furthermore, Banach’s fixed-point theory has been adopted to prove the existence and uniqueness of the ARL in the following researches. Sunthornwat et al. investigated an explicit formula for the ARL on an EWMA control chart for the Autoregressive Fractionally Integrated Moving Average (ARFIMA) model with exponential white noise [4], while Mititelu et al. [22] solved one representing the ARL on a CUSUM control chart based on observations in a hyper-exponential distribution. Their findings show that the explicit formula ARL was more quickly evaluated than the NIE ARL. Petcharat et al. derived an explicit formula ARL, while using an integral equation method on a CUSUM control chart for an MA model with exponential white noise [23], with its existence and uniqueness being proved via Banach’s fixed-point theory. However, the optimal parameters could not be obtained in an MA model.
As mentioned in this literature review, the ARL, for measuring the efficiency of a CUSUM control chart, is very important for comparing control chart performance. Moreover, the application of control charts to detect shifts in the processes from autocorrelated data, which needs a high accuracy model with the study of exogenous variables, is very interesting. For example, the MAX and SMAX models are widely used in the field of economics. In addition, finding the optimal values for the parameters in a CUSUM chart is important for these models to detect changes in a process as fast as possible. Therefore, the aim of this research was to evaluate the ARL on a CUSUM control chart of MAX and SMAX processes, and to apply Banach’s fixed-point theory to prove the existence and uniqueness of the ARL. The stock price for Aeon Thana Sinsap (Thailand) PCL (AEONTS) with exogenous variables, which are the USD/THB exchange rate and the interest rate, were applied to analyze the ARL of a CUSUM control chart. The rest of this paper is organized, as follows. In the next section, preliminaries regarding the definitions and theory used in the study are given. Section 3 illustrates the explicit formula. Section 4 presents the existence and uniqueness of the explicit formula, the NIE method and the numerical procedure for obtaining optimal parameters for ARL. The computational results, a comparison, and an application to real data are reported in Section 5. Section 6 consists of the conclusion and a discussion of this research.

2. Preliminaries

In this section, the definitions and theories related to the fixed point theorem, MAX and SMAX processes, CUSUM control chart, and characteristic are proposed, as follows:

2.1. The MAX(q,r) and SMAX(Q,r)L Processes

Definition 1.
Let { Z t , t = 1 , 2 , , } be a sequence of MAX(q,r) process given as
Z t = μ + ( 1 θ 1 B θ 2 B 2 θ q B q ) ε t + i = 1 r β i X i t ,
and { ζ t , t = 1 , 2 , , } be a sequence of SMAX(Q,r)L process given by the expression
ζ t = μ + ( 1 θ L B L θ 2 L B 2 L θ Q L B Q L ) ε t + i = 1 r β i X i t ,
where
  • ε t is a exponential white noise process,
  • μ is a process mean,
  • ( 1 θ 1 B θ 2 B 2 θ q B q ) is the moving average polynomials in B of order q .
  • ( 1 θ L B L θ 2 L B 2 L θ Q L B Q L ) is the seasonal moving average polynomials in B of order Q ; L is a natural number,
  • B is the backward shift operator, i.e., B q ε t = ε t q , and
  • X i t is exogenous variable and β i is a coefficient of X i t .

2.2. Fixed Point and Metric Space

Definition 2.
The point s * is called a fixed point in the domain of the function A R L ( s ) if A R L ( s * ) = s * .
Definition 3.
Let M be a nonempty set and R denote the set of real numbers. A distance function from x to y , ρ : M × M R is said to be a metric on M denoted by ( M , ρ ) if it satisfies the following conditions. For all, x , y , z M ,
(1)
ρ ( x , y ) 0 i.e., ρ is finite and non-negative real valued function.
(2)
ρ ( x , y ) = 0 if, and only if, x = y .
(3)
ρ ( x , y ) = ρ ( y , x ) , (Symmetric property)
(4)
ρ ( x , z ) ρ ( x , y ) + ρ ( y , z ) , (Triangular inequality).
Definition 4.
A sequence ( x n ) of points of ( M , ρ ) is a Cauchy’s sequence if ρ ( x m , x n ) 0 for m , n .
Definition 5.
A metric space is a complete metric space if every Cauchy’s sequence converges to x M . That is to say, if ρ ( x m , x n ) 0 as m , n , then there exists x M , such that ρ ( x m , x ) 0 as m .
Definition 6.
An operator C * : M M is a contraction mapping, or contraction, if there exists ω [ 0 , 1 ) such that ρ ( C * x , C * y ) ω ρ ( x , y ) , for all x , y M .
Definition 7.
An element x M is a fixed point of an operator C * , if C * x = x .
Definition 8.
A supremum norm . in the domain of continuous function A R L ( s ) : D o m ( A R L ( s ) ) R is defined as . = sup 0 s h | A R L ( s ) | = sup { | A R L ( s ) | : s D o m ( A R L ( s ) ) } .
Definition 9.
A R L : [ 0 , h ] R is a twice differentiable function, being denoted by A R L C 2 [ 0 , h ] .
Theorem 1.
(Banach’s Fixed Point Theorem (see Richard [24]))
If C * : M M is a contraction mapping on a complete metric space ( M , ρ ) , then there exists an unique solution s M of C * s = s .

2.3. CUSUM and EWMA Control Charts for the MAX(q,r) and SMAX(Q,r)L Processes

The CUSUM statistic under the assumption { Y t ; t = 1 , 2 , 3 , } , as a sequence of i.i.d continuous random variables with common probability density function, is considered. The CUSUM statistic ( Y t ) is referred to as an upper CUSUM statistic, being based on MAX(q,r) and SMAX(Q,r)L processes. Y t can be expressed by the recursive formula, as
Y t = max { 0 , Y t 1 + Z t a } ,   for   t = 1 , 2 , ,
where Z t is a sequence of the MAX(q,r) and SMAX(Q,r)L processes with exponential white noise, the starting value Y 0 = s is an initial value; s [ 0 , h ] , where h is a control limit and a is usually called the reference value of CUSUM chart. The CUSUM stopping time ( τ h ) with predetermined threshold h is defined as
τ h = inf { t > 0 ; Y t h } ,   for   h > u
Meanwhile, the EWMA statistic for constructing EWMA control chart with smoothing parameter η ( 0 , 1 ] , mean μ , variance σ 2 , initial value of the process mean: M 0 = μ is defined as
M t = ( 1 η ) M t 1 + η Z t ; t = 1 , 2 , 3 , , n
where Z t is generated from the MAX(q,r) and SMAX(Q,r)L processes with exponential white noise.
The control limits of EWMA control chart consist of
  • Upper control limit: U C L t = μ + κ σ η ( 2 η ) [ 1 ( 1 η ) 2 t ]
  • Center Line: C L = μ
  • Lower control limit: L C L t = μ κ σ η ( 2 η ) [ 1 ( 1 η ) 2 t ]
where κ is the width of the control limits.

2.4. Characteristics of Average Run Length

Let { ε t , t = 1 , 2 , 3 , } be a sequence of independent and identically distributed random variables with a probability density function f ( x ) with the parameter λ = λ 0 , which is before a change-point time θ ; the parameters λ 1 > λ 0 are after the change-point time. Generally, the change-point times are considered. The expectation E θ ( . ) for fixed θ under probability density function f ( x ) with parameter λ 1 is that the change-point occurs at point θ . The appropriate chart provides a large ARL for θ = . There is the behavior of in-control state of ARL, being denoted by ARL0, or the state of no change ( λ = λ 0 ) . The expectation of the run length τ h in the -control state can be defined as
A R L 0 = E θ ( τ h )
Meanwhile, if θ = 1 , in the case of the change-point time from λ 0 to λ 1 , then the ARL is evaluated as the out-of -control state of ARL, being denoted by ARL1, which can be defined as
A R L 1 = E θ ( τ h | τ h 1 )

3. The Explicit Formulas for Average Run Lengths with MAX(q,r) and SMAX(Q,r)L Processes

In this section, the derivations of the explicit formulas for the ARL of CUSUM chart, when observations are MAX(q,r) and SMAX(Q,r)L processes with exponential white noise from the integral equations, after checking the existence and uniqueness of the solutions for the ARL, are presented, as follows:
Theorem 2.
The explicit formula C ( s ) for the ARL of MAX(q,r) process with an exponential white noise is
C ( s )   =   e λ h ( 1 + e λ ( a μ + θ 1 ε t 1 + θ 2 ε t 2 + + θ q ε t q i = 1 r β i X i t ) λ h ) e λ s ; s 0
Proof. 
Let C ( s ) be the explicit ARL of MAX(q,r) process with an exponential white noise.
C ( s ) = 1 + 0 h C ( y ) λ e λ ( s a + μ θ 1 ε t 1 θ 2 ε t 2 θ q ε t q + i = 1 r β i X i t ) e λ y d y  
+ ( 1 e λ ( a s μ + θ 1 ε t 1 + θ 2 ε t 2 + + θ q ε t q i = 1 r β i X i t ) ) C ( 0 ) ; s [ 0 , a )
Let g be constant as
g = 0 h C ( y ) e λ y d y .
C ( s ) can be written as
C ( s ) = 1 + λ g e λ ( s a + μ θ 1 ε t 1 θ 2 ε t 2 θ q ε t q + i = 1 r β i X i t ) + ( 1 e λ ( a s μ + θ 1 ε t 1 + θ 2 ε t 2 + + θ q ε t q i = 1 r β i X i t ) ) C ( 0 )
For s = 0 , then
C ( 0 ) = 1 + λ g e λ ( a + μ θ 1 ε t 1 θ 2 ε t 2 θ q ε t q + i = 1 r β i X i t ) + ( 1 e λ ( a μ + θ 1 ε t 1 + θ 2 ε t 2 + + θ q ε t q i = 1 r β i X i t ) ) C ( 0 )
= e λ ( a μ + θ 1 ε t 1 + θ 2 ε t 2 + + θ q ε t q i = 1 r β i X i t ) + λ g
Subsequently,
C ( s ) = 1 + λ g e λ ( s a + μ θ 1 ε t 1 θ 2 ε t 2 θ q ε t q + i = 1 r β i X i t )
+ ( 1 e λ ( a s μ + θ 1 ε t 1 + θ 2 ε t 2 + + θ q ε t q i = 1 r β i X i t ) ) e λ ( a μ + θ 1 ε t 1 + θ 2 ε t 2 + + θ q ε t q i = 1 r β i X i t ) + λ g
= 1 + e λ ( a μ + θ 1 ε t 1 + θ 2 ε t 2 + + θ q ε t q i = 1 r β i X i t ) + λ g e λ s
= 1 + e λ ( a μ + θ 1 ε t 1 + θ 2 ε t 2 + + θ q ε t q i = 1 r β i X i t ) + λ g e λ s
= 1 + λ g + e λ ( a μ + θ 1 ε t 1 + θ 2 ε t 2 + + θ q ε t q i = 1 r β i X i t ) e λ s .
Now, constant g can be found as the following
g = 0 h C ( y ) e λ y d y
= 0 h ( 1 + λ g + e λ ( a μ + θ 1 ε t 1 + θ 2 ε t 2 + + θ q ε t q i = 1 r β i X i t ) e λ y ) e λ y d y
= ( ( 1 + λ g + e λ ( a μ + θ 1 ε t 1 + θ 2 ε t 2 + + θ q ε t q i = 1 r β i X i t ) ) 0 h e λ y d y 0 h e λ y λ y d y
= e λ h λ ( 1 e λ h ) ( 1 + e λ ( a μ + θ 1 ε t 1 + θ 2 ε t 2 + + θ q ε t q i = 1 r β i X i t ) ) h e λ h
Substituting the constant g into Equation (7), then
  C ( s ) = e λ h ( 1 + e λ ( a μ + θ 1 ε t 1 + θ 2 ε t 2 + + θ q ε t q i = 1 r β i X i t ) λ h ) e λ s , s 0 .
 ☐
As previously mentioned, the value of exponential parameter λ = λ 0 , ; this implies that the process is an in-control state. Hereby, the explicit analytical solution for ARL0 can be written as
A R L 0 =   e λ 0 h ( 1 + e λ 0 ( a μ + θ 1 ε t 1 + θ 2 ε t 2 + + θ q ε t q i = 1 r β i X i t ) λ 0 h ) e λ 0 s , s 0 .
On the contrary, if the process is in an out-of-control state, the value of exponential parameter λ 1   =   λ 0 ( 1 + δ ) , where λ 1   >   λ 0 , and δ is the shift size. The explicit analytical solution for ARL1 can be written as
A R L 1   =   e λ 1 h ( 1 + e λ 1 ( a μ + θ 1 ε t 1 + θ 2 ε t 2 + + θ q ε t q i = 1 r β i X i t ) λ 1 h ) e λ 1 s , s 0 .
Theorem 3.
The explicit formula D ( s ) for the ARL of SMAX(Q,r)L process is
D ( s )   =   e λ h ( 1 + e λ ( a μ + θ L ε t L + θ 2 L ε t 2 L + + θ Q L ε t Q L i = 1 r β i X i t ) λ h ) e λ s ; s 0
Proof. 
Let D(s) be the explicit ARL of SMAX(q,r) process with an exponential white noise.
D ( s ) = 1 + 0 h D ( y ) λ e λ ( s a + μ θ L ε t L θ 2 L ε t 2 L θ Q L ε t Q L + i = 1 r β i X i t ) e λ y d y  
+ ( 1 e λ ( a s μ + θ L ε t L + θ 2 L ε t 2 L + + θ Q L ε t Q L i = 1 r β i X i t ) ) D ( 0 ) ; s [ 0 , a )
Let k be constant as
k = 0 h D ( y ) e λ y d y .
D ( s ) can be written as
D ( s ) = 1 + λ k e λ ( s a + μ θ L ε t L θ 2 L ε t 2 L θ Q L ε t Q L + i = 1 r β i X i t )
+ ( 1 e λ ( a s μ + θ L ε t L + θ 2 L ε t 2 L + + θ Q L ε t Q L i = 1 r β i X i t ) ) D ( 0 ) .
For s = 0 , then
D ( 0 ) = 1 + λ k e λ ( a + μ θ L ε t L θ 2 L ε t 2 L θ Q L ε t Q L + i = 1 r β i X i t ) + ( 1 e λ ( a μ + θ L ε t L + θ 2 L ε t 2 L + + θ Q L ε t Q L i = 1 r β i X i t ) ) D ( 0 )
= e λ ( a μ + θ L ε t L + θ 2 L ε t 2 L + + θ Q L ε t Q L i = 1 r β i X i t ) + λ k
Afterwards,
D ( s ) = 1 + λ k e λ ( s a + μ θ L ε t L θ 2 L ε t 2 L θ Q L ε t Q L + i = 1 r β i X i t )
+ ( 1 e λ ( a s μ + θ L ε t L + θ 2 L ε t 2 L + + θ Q L ε t Q L i = 1 r β i X i t ) ) e λ ( a μ + θ L ε t L + θ 2 L ε t 2 L + + θ Q L ε t Q L i = 1 r β i X i t ) + λ k
= 1 + λ k + e λ ( a μ + θ L ε t L + θ 2 L ε t 2 L + + θ Q L ε t Q L i = 1 r β i X i t ) e λ s
Now, constant k can be found as the following
k = 0 h D ( y ) e λ y d y
= 0 h ( 1 + λ k + e λ ( a μ + θ L ε t L + θ 2 L ε t 2 L + + θ Q L ε t Q L i = 1 r β i X i t ) e λ y ) e λ y d y
= ( ( 1 + λ k + e λ ( a μ + θ L ε t L + θ 2 L ε t 2 L + + θ Q L ε t Q L i = 1 r β i X i t ) ) 0 h e λ y d y 0 h e λ y λ y d y
= e λ h λ ( 1 e λ h ) ( 1 + e λ ( a μ + θ L ε t L + θ 2 L ε t 2 L + + θ Q L ε t Q L i = 1 r β i X i t ) ) h e λ h
Substituting the constant k into Equation (11), then
D ( s ) = e λ h ( 1 + e λ ( a μ + θ L ε t L + θ 2 L ε t 2 L + + θ Q L ε t Q L i = 1 r β i X i t ) λ h ) e λ s , s 0 .
 ☐
As previously mentioned, the value of exponential parameter λ = λ 0 , ; this implies that the process is an in-control state. Hereby, the explicit analytical solution for ARL0 can be written as
A R L 0   =   e λ 0 h ( 1 + e λ 0 ( a μ + θ L ε t L + θ 2 L ε t 2 L + + θ Q L ε t Q L i = 1 r β i X i t ) λ 0 h ) e λ 0 s , s 0 .
On the contrary, if the process is in an out-of-control state, the value of exponential parameter λ 1   =   λ 0 ( 1 + δ ) , where λ 1   >   λ 0 , and δ is the shift size. The explicit analytical solution for ARL1 can be written as
A R L 1   =   e λ 1 h ( 1 + e λ 1 ( a μ + θ L ε t L + θ 2 L ε t 2 L + + θ Q L ε t Q L i = 1 r β i X i t ) λ 1 h ) e λ 1 s , s 0 .

4. Explicit Formulas and Numerical Integral Equation Method for Average Run Length

In this section, the existence and uniqueness of the explicit formulas for the analytical ARLs and numerical integral equation method for numerical ARLs are shown as the following.

4.1. Existence and Uniqueness of the Explicit Formulas for Average Run Lengths

Theorem 4.
Explicit formulas for A R L ( s ) C ( s ) and D ( s ) —derived from the integral equations on the CUSUM control chart of MAX and SMAX processes with exponential white noise, respectively, have existence and uniqueness.
Proof (Existence)
 
Let C o n [ 0 , h ] be a set of all continuous functions of ARL on [ 0 , h ] . Let A R L 0 C o n ( [ 0 , h ] and ( A R L n ) n 0 be a Cauchy’s sequence of explicit formula ARL that satisfies A R L n + 1 = C * A R L n .
ρ ( A R L n + 1 , A R L n ) = ρ ( C * A R L n , C * A R L n 1 )
ω ρ ( C * A R L n , C * A R L n 1 ) ; ω [ 0 , 1 ) .
Repeatedly, ρ ( A R L n + 1 , A R L n ) ω n ρ ( A R L 1 , A R L 0 ) , for n 0 .
Thus, for nm
ρ ( A R L n , A R L m ) ρ ( A R L n , A R L n 1 ) + + ρ ( A R L m + 1 , A R L m )
( ω n 1 + + ω m ) ρ ( A R L 1 , A R L 0 )
ω m 1 ω ρ ( A R L 1 , A R L 0 )
( A R L n ) n 0 is a Cauchy’s sequence and lim n C * n A R L n A R L . That is, C * A R L = A R L .  ☐
Proof (Uniqueness)
 
Let
k ( s , y ) = λ e λ ( s a + μ θ 1 ε t 1 θ 2 ε t 2 θ q ε t q + i = 1 r β i X i t ) e λ y
k ( s , y ) = λ e λ ( s a + μ θ L ε t L θ 2 L ε t 2 L θ Q L ε t Q L + i = 1 r β i X i t ) e λ y
be a kernel function of integral equation for C ( s ) and be a kernel function of integral equation for D ( s ) representing ARLs, where k : [ 0 , h ] × [ 0 , h ] R and Z t is MAX or SMAX process. The inequality sup 0 y h { 0 h | k ( s , y ) | d y } < 1 will be shown to prove that C * is a contraction mapping on the complete metric space ( C o n ( [ 0 , h ] ) , . ) .
For any A R L i , A R L j C o n ( [ 0 , h ] ) ,
C * A R L i C * A R L j = sup 0 y h | 0 h k ( s , y ) [ A R L i ( y ) A R L j ( y ) ] d y |
sup 0 y h 0 h | k ( s , y ) | | [ A R L i ( y ) A R L j ( y ) ] | d y
ω A R L i A R L j , where ω = sup 0 y h { 0 h | k ( s , y ) | d y } < 1 .  ☐
Therefore, the explicit formulas ARL on the CUSUM control chart of MAX or SMAX processes with exponential white noise have existence and uniqueness.

4.2. The Numerical Integral Equation Method

According to the integral equation in Equations (6) and (10), the numerical integral equation method can evaluate the solution by the Gauss–Legendre quadrature rule as
A R L ( a i ) = 1 + 1 λ + 1 j = 1 m w j A R L ( a j ) f ( a j ( 1 λ ) a i + v + ( λ θ + θ ) s λ + 1 μ )
where
i = 1 , 2 , 3 , , m ,   a j = h m ( j 1 2 )   and   w j = h m ; j = 1 , 2 , 3 , , m
It can be rewritten in matrix form as
A R L m × 1 = 1 m × 1 + R m × m A R L m × 1   or   A R L m × 1 = ( I m R m × m ) 1 1 m × 1
where
A R L m × 1 = [ A R L ( a 1 ) A R L ( a 2 ) A R L ( a m ) ] ,   I m = d i a g ( 1 , 1 , , 1 ) ,   1 m × 1 = [ 1 1 1 ]
and
R m × m = [ 1 λ + 1 w 1 f ( a 1 ( 1 λ ) a 1 + v + ( λ θ + θ ) s λ + 1 μ ) 1 λ + 1 w m f ( a m ( 1 λ ) a 1 + v + ( λ θ + θ ) s λ + 1 μ ) 1 λ + 1 w 1 f ( a 1 ( 1 λ ) a 2 + v + ( λ θ + θ ) s λ + 1 μ ) 1 λ + 1 w m f ( a m ( 1 λ ) a 2 + v + ( λ θ + θ ) s λ + 1 μ ) 1 λ + 1 w 1 f ( a 1 ( 1 λ ) a m + v + ( λ θ + θ ) s λ + 1 μ ) 1 λ + 1 w m f ( a m ( 1 λ ) a m + v + ( λ θ + θ ) s λ + 1 μ ) ]
Therefore, the approximation of average run length is evaluated by the numerical integral equation method for A R L ( u ) is
A R L ( u ) = 1 + 1 λ + 1 j = 1 m w j A R L ( a j ) f ( a j ( 1 λ ) u + v + ( λ θ + θ ) s λ + 1 μ )
where a j = h m ( j 1 2 ) and w j = h m , j = 1 , 2 , 3 , , m .
An absolute percentage relative error (APRE) criterion is used as a performance criterion and the APRE can be expressed as
A P R E ( % ) = | A R L ( s ) exp A R L ( s ) a p p A R L ( s ) exp | × 100 %
where A R L ( s ) exp is the ARL results from the explicit formula and A R L ( s ) a p p is an approximation of ARL from the NIE method.

4.3. The Numerical Procedure for Obtaining Optimal Parameters for MAX Designs

Step 1. Select an acceptable in-control value of A R L 0 and decide on the change parameter value ( λ 1 ) for an out-of-control state;
Step 2. For the given values λ 0 and T, find the optimal values of a and h to minimize the A R L 1 values that are given by Equation (9), subject to the constraint that A R L 0 = T in Equation (8), i.e., a and h are solutions of the optimality problem.
In addition, the numerical procedure for obtaining optimal parameters for SMAX designs is the same as the MAX procedure, by using Equations (12) and (13) for A R L 0 and A R L 1 , respectively. Table shows the optimal ( a , h ) values for T = 370 and magnitudes of change.

5. Computational Results and Real Application

In this section, the results of the ARL with the explicit formula and the NIE method are provided and compared.
The ARL results of the proposed explicit formula (explicit) were compared with the NIE method while using the Gauss–Legendre quadrature rule with 1000 nodes for the CUSUM chart, based on the APRE criterion in Equation (14). The numbers in parentheses are CPU time (minutes) with the NIE method.

5.1. Numeric Results

The numerical results were obtained from the simulation. The chart was set up with reference value ( a ) that is greater than s , where s is an initial value ( s = 0). The parameter a could be any number, but it combines with the control limit ( s ) that corresponds to the in-control A R L 0 = 370 and 500 . In this paper, the parameter a is varied between 1.5 to 3.0. A comparison of the solution of the explicit formula (Explicit) with the NIE method for the CUSUM chart, when λ 0 = 1 , β 1 = 0.5 for MAX (2,1) and SMAX (3,1)12, are reported in Table 1 and Table 2 for A R L 0 = 370 , 500 , with which they are in good agreement. Notice that the absolute percentage relative error is small. In Table 3 and Table 4, we use Equations (8) and (9) to show A R L 0 and A R L 1 for the MAX (2,1) process with parameter a = 3 and the coefficient parameters of the process θ 1 = 0.1 , θ 2 = 0.2 , and β 1 = 0.5 . For Equations (12) and (13), the parameters a = 3 , Θ 1 = 0.1 , Θ 2 = 0.2 , Θ 3 = 0.3 , and β 1 = 0.5 . were used for the SMAX (3,1)12 process. The parameter value λ 0 = 1 was applied to the in-control process. Meanwhile, for the out-of-control process ( λ 1 > λ 0 ), parameter values λ 1 = λ 0 ( 1 + δ ) were used, with shift sizes of 0.01, 0.03, 0.05, 0.10, 0.30, 0.50, 1.0, 1.5, and 2.0. The first row in both tables shows that the results of ARL0 with the explicit formula were close to the NIE method, when ARL0 approached 370 and 500. The values in parentheses are the CPU times of the ARL from both of the methods. The ARL values of the explicit formula and the NIE method were similar and tended to decrease when the level of the shift size increased. Note that the absolute percentage relative error was very small and the CPU time with the explicit formula was just a fraction of a second, while the NIE method took around 11–13 min.
In Table 5, the results in terms of the optimal reference value ( a ) and optimal width of the control limit ( h ) and the minimum A R L 1 ( A R L 1 * ) of MAX (1,2) and SMAX (2,2)12 processes for A R L 0 = 370 are shown. For example, if we want to detect a parameter change from λ 0 = 1 to λ 1 > λ 0 and the A R L 0 is 370, then the optimality procedure given above will give the optimal parameter values a = 1.66999118582 and h = 5.9737144930593 and A R L 1 * value = 13.552. The suggested explicit formulas are useful to practitioners, especially when finding the optimal parameters of the MAX and SMAX processes for the CUSUM chart.

5.2. Real-World Application

Application to real-world data was conducted to evaluate the ARL by the explicit formula and NIE method, as reported in Table 6. The AEONTS share prices in the SET with two exogenous variables, the US/THB exchange rate, and the interest rate, were collected monthly from January 2012 to December 2016 as the dataset of real observations. The first-order MA model is suitable for fitting the AEONTS share price with two exogenous variables, because the error of estimation is the smallest as compared to other models. Therefore, the first-order MA model was constructed with the process coefficients μ = 650.0555 , θ 1 = 0.746083 , β 1 = 11.773 , β 2 = 61.94972 , and the error as exponential white noise with λ 0 = 6.9094 . For the ARL performance comparison, the boundary values h = 22.48 ,   24.71 for the CUSUM control chart and κ = 0.5333 ,   0.8791 for the EWMA control chart were used with conditions of A R L 0 = 370 and A R L 0 = 500 , respectively. The smoothing parameter of the EWMA control chart was set to 0.1. The results in Table 6 are similar to the results in Table 3 and Table 4, in that the NIE results approached the explicit formula results. In Table 7, the performance of CUSUM control chart with the explicit formula is compared with EWMA control chart by using the NIE method. The results of the performance comparison show that the CUSUM control chart provided a smaller ARL1 than the EWMA control chart when the shift size was small, but the EWMA control chart performed better than the CUSUM control chart when the shift size was δ 0.015 .

6. Conclusions and Discussion

In the theoretical computation, the ARL that was calculated from the explicit formula was in excellent agreement with the ARL obtained from the NIE method with the percentage error at less than 0.50%. However, the CPU time of the NIE method took between 10 and 16 min., whereas that of the explicit formula was less than one second. Moreover, the explicit formula for evaluating the ARL of the CUSUM control chart could not only significantly reduce the computational time, but also obtain the optimal parameters. In addition, the results from the experiment using a real-world dataset were similar to those of the theoretical computation. This shows that the CUSUM control chart is good for detecting processes with a small shift size, while the EWMA control chart can efficiently detect processes with a moderate to large shift size. Thus, it is suggested that the explicit formulas for the ARL of the CUSUM chart have real-world applications for a variety of data processes, including finance, agriculture, hydrology, and environmental. These issues should be addressed in future research. Future research could compare the results of the ARL for the CUSUM control chart with nonparametric control charts, such as the Tukey control chart. Moreover, a variety of data processes could be extended to other models or the explicit formula of ARL could be developed for other observations that correspond to the exponential family.

Author Contributions

All authors contributed significantly to the study and preparation of the article. They have read and approved the final manuscript. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by King Mongkut’s University of Technology North Bangkok and Thailand Science Research and Innovation (TSRI) Contract No. RSA 6280086.

Acknowledgments

The authors would like to thank the editor and the referees for their helpful comments and suggestions. This research was funded by King Mongkut’s University of Technology North Bangkok and Thailand Science Research and Innovation (TSRI) Contract No. RSA 6280086.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Page, E.S. Continuous inspection schemes. Biometrika 2004, 41, 100–114. [Google Scholar] [CrossRef]
  2. Roberts, S.W. Control chart tests based on geometric moving average. Technometrics 1959, 1, 239–250. [Google Scholar] [CrossRef]
  3. Shewhart, W.A. Economic Control of Quality of Manufactured Product; D. Van Nostrand Company: New York, NY, USA, 1931. [Google Scholar]
  4. Sunthornwat, R.; Areepong, Y.; Sukparungsee, S. Average run length with a practical investigation of estimating parameters of the EWMA control chart on the long memory AFRIMA process. Thail. Stat. 2018, 16, 190–202. [Google Scholar]
  5. Wardell, D.G.; Moskowitz, H.; Plante, R.D. Run-length distributions of special cause control charts for correlated processes. Technometrics 1994, 36, 3–17. [Google Scholar] [CrossRef]
  6. Yashchin, E. Performance of CUSUM control schemes for serially correlated observations. Technometrics 1993, 35, 37–52. [Google Scholar] [CrossRef]
  7. Carey, R.G. Improving Healthcare with Control Charts: Basic and Advanced SPC Methods and Case Studies; ASQ Quality Press: Milwaukee, WI, USA, 2003. [Google Scholar]
  8. Johan, T.; Jonas, L.; Jakob, A.; Jesper, O.; Cheryl, C.; Karin, P.H.; Mats, B. Application of statistical process control in healthcare improvement: Systematic review. Qual. Saf. Health Care 2007, 16, 387–399. [Google Scholar]
  9. Saravanan, A.; Nagarajan, P. Implementation of quality control charts in bottles manufacturing industry. Int. J. Eng. Sci. Technol. 2013, 5, 335–340. [Google Scholar]
  10. Muhammad, R.; Faqir, M. An Application of Control Charts in Manufacturing Industry. J. Stat. Econom. Methods 2012, 1, 77–92. [Google Scholar]
  11. Montgomery, D.C.; Friedman, D.J. Statistical Process Control in Computer Integrated Manufacturing Environment; Keats, J.B., Hubele, N.F., Eds.; Statistical Process Control in Automated Manufacturing, Marcel Dekker: New York, NY, USA, 1989. [Google Scholar]
  12. Matias, R., Jr.; Araújo, L.B.; Araújo, M.F.C. Quality monitoring of network traffic forecasts using statistical process control. In Proceedings of the IEEE Symposium on Computers and Communications, Riccione, Italy, 22–25 June 2010. [Google Scholar]
  13. Maguire, A.; Pearson, S.; Wynn, A. The time intervals between industrial accidents. Biometrika 1952, 39, 168–180. [Google Scholar] [CrossRef]
  14. Sheng-Shu, C.; Fong-Jung, Y. A CUSUM control chart to monitor wafer quality world academy of science. Eng. Technol. Int. J. Ind. Manuf. Eng. 2013, 7, 1183–1188. [Google Scholar]
  15. Benoit, M.; Pierre, P. Detection of changes in time-series of indicators using CUSUM control charts. Aquat. Liv. Res. 2009, 22, 187–192. [Google Scholar]
  16. Andel, J. On AR (1) processes with exponential white noise. Commun. Stat. Theory Methods 1988, 17, 1481–1495. [Google Scholar] [CrossRef]
  17. Antónia, T. Bayesian analysis of an autoregressive process with exponential white noise. Statistics 1990, 4, 601–608. [Google Scholar]
  18. Girón, F.J.; Caro, E.; Domínguez, J.I. A conjugate family for AR (1) processes with exponential errors. Commun. Stat. Theory Methods 1994, 23, 1771–1784. [Google Scholar] [CrossRef]
  19. Ibazizen, M.; Fellag, H. Bayesian estimation of an AR (1) process with exponential white noise. Statistics 2003, 37, 365–372. [Google Scholar] [CrossRef]
  20. Turkman, M.A.A. Bayesian analysis of an autoregressive process with exponential white noise. Statistics 1990, 21, 601–608. [Google Scholar] [CrossRef]
  21. Reynolds, M.R., Jr. Approximations to the average run length in cumulative sum control charts. Technometrics 1975, 17, 65–71. [Google Scholar] [CrossRef]
  22. Mititelu, G.; Areepong, Y.; Sukparungsee, S.; Novikov, A. Explicit analytical solutions for the average run length of CUSUM and EWMA charts. East-West J. Math. 2010, 253–265. Available online: https://opus.lib.uts.edu.au/bitstream/10453/14528/1/2010001745.pdf (accessed on 19 November 2019).
  23. Petcharat, K.; Sukparungsee, S.; Areepong, Y. Exact solution of the average run length for the cumulative sum chart for a moving average process of order q. ScienceAsia 2015, 41, 141–147. [Google Scholar] [CrossRef] [Green Version]
  24. Richard, S.P. A simple proof of the Banach contraction principle. J. Fixed Point Theory Appl. 2007, 2, 221–223. [Google Scholar]
Table 1. ARL values for in control process for MAX (2,1) using explicit formula against numerical integral equation given β 1 = 0.5 for A R L 0 = 370 .
Table 1. ARL values for in control process for MAX (2,1) using explicit formula against numerical integral equation given β 1 = 0.5 for A R L 0 = 370 .
a θ 1 θ 2 h ExplicitNIEAPRE (%)
1.50.10.24.889370.485369.123 (12.821)0.365197
0.1−0.25.442370.211368.657 (12.885)0.317387
2.50.10.23.971370.432369.123 (12.897)0.353371
0.1−0.24.887370.008368.657 (12.777)0.365127
30.10.23.265370.225369.087 (12.818)0.307381
0.1−0.23.811370.154368.879 (12.843)0.344451
Table 2. ARL values for in control process for SMAX (3,1)12 using explicit formula against numerical integral equation given β 1 = 0.5 for A R L 0 = 370 .
Table 2. ARL values for in control process for SMAX (3,1)12 using explicit formula against numerical integral equation given β 1 = 0.5 for A R L 0 = 370 .
a Θ 1 Θ 2 Θ 3 h ExplicitNIEAPRE (%)
1.50.10.20.33.525370.411369.202 (13.159)0.326394
0.1−0.20.34.145370.071369.652 (13.258)0.396805
2.50.10.20.33.525370.411369.202 (13.810)0.326394
0.1−0.20.34.145370.132368.797 (13.574)0.360682
30.10.20.32.906370.008368.979 (13.763)0.278102
0.1−0.20.33.392370.202369.029 (13.564)0.316854
Table 3. ARL values for MAX (2,1) process using explicit formula against numerical integral equation given a = 3 , θ 1 = 0.1 , θ 2 = 0.2 , β 1 = 0.5 , h = 3.265 for A R L 0 = 370 and h = 3.588 for A R L 0 = 500 .
Table 3. ARL values for MAX (2,1) process using explicit formula against numerical integral equation given a = 3 , θ 1 = 0.1 , θ 2 = 0.2 , β 1 = 0.5 , h = 3.265 for A R L 0 = 370 and h = 3.588 for A R L 0 = 500 .
δ A R L 0 = 370 APRE (%) A R L 0 = 500 APRE (%)
(Shift Size)ExplicitNIEExplicitNIE
0.00370.225369.087 (12.235)0.307381500.080498.380 (11.088)0.339946
0.01347.839346.783 12.684)0.303589468.139466.570 (11.137)0.335157
0.03308.154307.243 (12.486)0.295631411.811410.466 (11.199)0.326606
0.05274.253273.462 (12.264)0.28842364.017362.859 (10.497)0.318117
0.07245.143244.453 (12.994)0.281468323.248322.245 (10.706)0.310288
0.1208.758208.191 (11.092)0.271606272.684271.869 (11.218)0.298881
0.386.57886.391 (11.165)0.21599107.354107.100 (11.242)0.23660
0.545.64145.561 (11.441)0.17528154.49354.389 (11.282)0.19085
1.016.51216.494 (11.559)0.10901218.61118.588 (11.670)0.123583
1.59.1839.176 (11.412)0.07622810.04510.037 (11.363)0.079642
2.06.2886.256 (11.012)0.386106.7616.758 (11.360)0.044372
Table 4. ARL values using explicit formula against numerical integral equation for SMAX (3,1)12 given a = 3 , Θ 1 = 0.1 , Θ 2 = 0.2 , Θ 3 = 0.3 , β 1 = 0.5 , h = 2.906 for A R L 0 = 370 and h = 3.223 for A R L 0 = 500 .
Table 4. ARL values using explicit formula against numerical integral equation for SMAX (3,1)12 given a = 3 , Θ 1 = 0.1 , Θ 2 = 0.2 , Θ 3 = 0.3 , β 1 = 0.5 , h = 2.906 for A R L 0 = 370 and h = 3.223 for A R L 0 = 500 .
δ A R L 0 = 370 APRE (%) A R L 0 = 500 APRE (%)
(Shift Size)ExplicitNIEExplicitNIE
0.00370.008368.979 (13.753)0.278102500.438498.887 (13.859)0.309929
0.01348.077347.120 (13.961)0.274939469.150467.714 (14.024)0.306085
0.03309.124308.294 (13.439)0.268501413.854412.618 (14.150)0.298656
0.05275.763275.040 (11.606)0.262182366.803365.733 (14.016)0.29171
0.07247.047246.414 (11.660)0.256227326.556325.625 (14.204)0.285097
0.1211.048210.525 (13.293)0.247811276.476275.714 (13.411)0.275612
0.388.94388.764 (13.893)0.201252110.871110.625 (11.886)0.221879
0.547.31147.233 (13.971)0.16486756.86856.764 (11.878)0.18288
1.017.20817.190 (14.135)0.10460319.54219.518 (12.244)0.122812
1.59.5309.523 (13.920)0.07345210.49310.484 (11.859)0.085771
2.06.4866.482 (14.323)0.0616717.0117.006 (12.324)0.071317
Table 5. Optimal design parameters and A R L 1 * of MAX (1,2) and SMAX (2,2)12 processes for A R L 0 = 370 .
Table 5. Optimal design parameters and A R L 1 * of MAX (1,2) and SMAX (2,2)12 processes for A R L 0 = 370 .
δMAX (1,2) A R L 1 * SMAX (2,2)12 A R L 1 *
(Shift Size) a h a h
0.011.669991186025.9737144875716315.3572.3541548025.4156807185165.571
0051.669991185875.973714491718207.9942.3604295045.28394587940126.065
0.11.669991185855.9737144920653128.532.3611197895.2874245951187.092
0.31.669991185825.973714493059329.3552.3614100355.277867318229.659
0.51.669991185825.973714493059313.5522.3614100355.277867314716.122
1.01.669991185855.97371449206547.6192.3614100355.27786731748.158
2.01.669991186115.9737144853854.9362.3541547975.4156808244.641
Table 6. Comparison of ARL values using explicit formula against numerical integral equation for MAX (1,2) when given a = 550, θ 1 = 0.746083 , β 1 = 11.773 , β 2 = 61.94972 , h = 22.48 for A R L 0 = 370 and h = 24.71 for A R L 0 = 500 λ 0 = 6.9094 .
Table 6. Comparison of ARL values using explicit formula against numerical integral equation for MAX (1,2) when given a = 550, θ 1 = 0.746083 , β 1 = 11.773 , β 2 = 61.94972 , h = 22.48 for A R L 0 = 370 and h = 24.71 for A R L 0 = 500 λ 0 = 6.9094 .
δ A R L 0 = 370 APRE (%) A R L 0 = 500 APRE (%)
(Shift Size)ExplicitNIEExplicitNIE
0.00370.437369.302 (10.642)0.306394500.389498.693 (10.630)0.338936
0.01367.082365.959 (11.017)0.305926495.596493.919 (11.05900.33838
0.05354.056352.981 (11.106)0.303624477.007475.406 (11.122)0.335634
0.1338.617337.598 (11.103)0.300929455.083453.511 (11.586)0.345431
0.3285.049284.222 (10.352)0.290125379.214378.000 (11.111)0.320136
0.5242.186241.508 (10.965)0.279950319.135318.150 (10.628)0.308647
0.7207.537206.976 (11.193)0.270313271.011270.204 (10.755)0.297774
1.0167.067166.638 (11.902)0.256783215.395214.787 (11.016)0.282272
2.090.19289.995 (11.758)0.218422112.120111.851 (11.116)0.239922
3.055.29355.189 (11.212)0.18808866.77666.639 (11.467)0.205164
Table 7. Performance comparison of cumulative sum (CUSUM) and exponentially weighted moving average (EWMA) control charts using explicit formula (Explicit) for MAX (1,2) when λ 0 = 6.9094 for A R L 0 = 370 and A R L 0 = 500 .
Table 7. Performance comparison of cumulative sum (CUSUM) and exponentially weighted moving average (EWMA) control charts using explicit formula (Explicit) for MAX (1,2) when λ 0 = 6.9094 for A R L 0 = 370 and A R L 0 = 500 .
δ A R L 0 = 370 A R L 0 = 500
(Shift Size)CUSUMEWMACUSUMEWMA
h = 0.5333 h = 0.8791
0.000370.437370.423 (16.215)500.389500.433 (16.036)
0.005368.755369.083 (16.202)497.985498.303 (16.265)
0.010367.082368.191 (16.112)495.596495.817 (16.085)
0.015365.420365.311 (15.489)493.221490.892 (16.878)
0.050354.056348.928 (16.156)477.007471.804 (16.966)
0.1338.617335.141 (15.005)455.083453.656 (16.255)
0.3285.049275.716 (16.485)379.214375.205 (16.255)
0.5242.186229.117 (15.152)319.135313.385 (16.008)
1.0167.067149.136 (15.156)215.395207.585 (16.026)

Share and Cite

MDPI and ACS Style

Sunthornwat, R.; Areepong, Y. Average Run Length on CUSUM Control Chart for Seasonal and Non-Seasonal Moving Average Processes with Exogenous Variables. Symmetry 2020, 12, 173. https://doi.org/10.3390/sym12010173

AMA Style

Sunthornwat R, Areepong Y. Average Run Length on CUSUM Control Chart for Seasonal and Non-Seasonal Moving Average Processes with Exogenous Variables. Symmetry. 2020; 12(1):173. https://doi.org/10.3390/sym12010173

Chicago/Turabian Style

Sunthornwat, Rapin, and Yupaporn Areepong. 2020. "Average Run Length on CUSUM Control Chart for Seasonal and Non-Seasonal Moving Average Processes with Exogenous Variables" Symmetry 12, no. 1: 173. https://doi.org/10.3390/sym12010173

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop