Next Article in Journal
A Note on Incomplete Fibonacci–Lucas Relations
Next Article in Special Issue
A Comprehensive Literature Review on Artificial Dataset Generation for Repositioning Challenges in Shared Electric Automated and Connected Mobility
Previous Article in Journal
Provably Secure Data Access Control Protocol for Cloud Computing
Previous Article in Special Issue
Implementation of Finite Element Method Simulation in Control of Additive Manufacturing to Increase Component Strength and Productivity
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Analytical Explicit Formulas of Average Run Length of Homogenously Weighted Moving Average Control Chart Based on a MAX Process

by
Rapin Sunthornwat
1,
Saowanit Sukparungsee
2 and
Yupaporn Areepong
2,*
1
Industrial Technology and Innovation Management 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 North Bangkok, Bangkok 10800, Thailand
*
Author to whom correspondence should be addressed.
Symmetry 2023, 15(12), 2112; https://doi.org/10.3390/sym15122112
Submission received: 22 September 2023 / Revised: 14 November 2023 / Accepted: 23 November 2023 / Published: 24 November 2023

Abstract

:
Statistical process control (SPC) is used for monitoring and detecting anomalies in processes in the areas of manufacturing, environmental studies, economics, and healthcare, among others. Herein, we introduce an innovative SPC approach via mathematical modeling and report on its application via simulation studies to examine its suitability for monitoring processes involving correlated data running on advanced control charts. Specifically, an approach for detecting small to moderate shifts in the mean of a process running on a homogenously weighted moving average (HWMA) control chart, which is symmetric about the center line with upper and lower control limits, is of particular interest. A mathematical model for the average run length (ARL) of a moving average process with exogenous variables (MAX) focused only on the zero-state performance of the HWMA control chart is derived based on explicit formulas. The performance of our approach was investigated in terms of the ARL, the standard deviation of the run length (SDRL), and the median run length (MRL). Numerical examples are given to illustrate the efficacy of the proposed method. A detailed comparative analysis of our method for processes on HWMA and cumulative sum (CUSUM) control charts was conducted for process mean shifts in many situations. For several values of the design parameters, the performances of these two control charts are also compared in terms of the expected ARL (EARL), expected SDRL (ESDRL), and expected MRL (EMRL). It was found that the performance of the HWMA control chart was superior to that of the CUSUM control chart for several process mean shift sizes. Finally, the applicability of our method on a HWMA control chart is provided based on a real-world economic process.

1. Introduction

One aspect of statistical process control (SPC), the control chart, is a graphical tool used in quality control and process management to monitor quality, reduce variability, continually improve operability, etc. It is used for operations in many fields, such as the natural sciences, engineering, finance, and medicine. The main objective of a control chart is to detect the occurrence of an out-of-control situation as quickly as possible. There are several types of control charts, each of which can be used to monitor and analyze different parts of a process. In general, the selection of a control chart depends on the type of process and the purpose of the process monitoring. For instance, the Shewhart control chart can track and display large variations in a process parameter over time, whereas the exponentially weighted moving average (EWMA) control chart [1], in which more weight is placed on recent data points, is responsive to small to medium changes in a process parameter. Page [2] proposed the cumulative sum (CUSUM) control chart that can also detect small to moderate shifts in a process parameter by cumulatively summing deviations from the target value over time. Abbas [3] proposed the homogeneously weighted moving average (HWMA) control chart in which specific weights are applied to the current and previous samples. After studying the performance of the HWMA control chart for non-normal processes, they determined that the parameters of the chart could be modified to make it more robust to non-normality. Additionally, recent research by Abbas [3] examined that the relative efficacy of the HWMA control chart was superior to that of the CUSUM and EWMA control charts. Recently, Knoth et al. [4] focused attention on several concerns regarding the HWMA control chart by stating, “In steady-state, the HWMA chart loses performance relative to the EWMA chart”. In order to address these concerns, the performance of the HWMA control chart has been reinvestigated under steady and zero conditions at various shifts and smoothing parameters, Riaz et al. [5]. It has been found that the HWMA control chart is superior to the EWMA control chart for several shift sizes under zero state. Consequently, the authors aimed to provide an explicit formula for the average run length of the HWMA control chart in order to compare how well the control charts identified process changes. We have assumed that a change in the process occurs at the very beginning, the so-called zero-state.
Usually, control charts such as EWMA, CUSUM, and HWMA control charts are designed with symmetric two-sided upper and lower control limits. However, some real applications might require a one-sided approach involving either the upper or the lower limit. Usually, control charts have been conceptualized to monitor and analyze processes involving independent and identically distributed (i.i.d) data. However, in some cases, processes can exhibit autocorrelation in which previous data points can influence the current data point. Autocorrelation can lead to non-random patterns in the data that may affect the effectiveness of traditional control charts. In such situations, specialized control charts or adjustments to deal with autocorrelation are needed.
The most popular model for autocorrelated processes is the autoregressive (AR) moving average (MA) model comprising AR and MA components, which has been shown to provide relatively high forecasting accuracy. Autocorrelated processes can be influenced by internal and external factors that can influence the time series being modeled. Thus, the MA and ARMA models with exogenous variables (MAX(q,r) and ARMAX, respectively) have been developed. This combination allows for a more comprehensive approach to time series forecasting by considering both the inherent dynamics of the time series and the impact of external factors. An explanatory variable is used to support better the accuracy of the forecast. For example, the autoregressive integrated moving average model with exogenous variables has been found to be a valuable tool for energy traders and other market participants seeking to enhance their decision-making capabilities in the intraday market, Lucic and Xydis [6]. As a result, this study focuses on the MAX model due to its usefulness to real-world data.
The average run length (ARL) commonly used to measure the performance of a control chart comprises two components. ARL0 is the expected number of observations when the process is in control before the control chart signals that it is out of control, and its value should be as large as possible. On the other hand, ARL₁ is the expected number of observations when the process is out of control before the control chart signals that it is out of control, and its value should be as small as possible.
Several approaches have been used to estimate the ARL, including the Markov Chain approach (MCA), Monte Carlo simulation, numerical integral equation (NIE), and explicit formulas. Each has its merits. MCA provides a structured framework to model the control chart’s behavior and state transitions [7], while Monte Carlo simulation can handle complex interactions and variability [8]. The NIE method provides a mathematical framework for analyzing the control chart properties [9] and obtaining analytical expressions for the ARL under certain conditions.
The explicit formula method provides direct analytical solutions for the ARL under specific assumptions. Several researchers have used this approach and checked the accuracy of their solutions. For instance, Chananet and Phanyaem [10] proposed a solution for the ARL using explicit formulas for detecting changes in the mean of a seasonal autoregressive model with exogenous variables running on a CUSUM control chart. Phanyaem [11] used explicit formulas to derive the ARL for detecting changes in the mean of an AR-integrated MA (ARIMA(p,d,q)) model running on an EWMA control chart. Supharakonsakun [12] used explicit formulas to derive the ARL for detecting changes in the mean of a seasonal MA of order q (SMA(q)) process running on a modified EWMA control chart. Recently, Petcharat [13] provided explicit formulas for the ARL for detecting changes in the mean of a stationary seasonal autocorrelated process with a trend running on a CUSUM control chart. Peerajit [14] solved explicit formulas for the ARL for monitoring changes in the mean of a long memory seasonal fractionally integrated MAX model running on a CUSUM control chart. Petcharat [15] studied the performance of a seasonal MA process with exogenous variables running on an EWMA control chart. Recently, Suriyakat and Petcharat [16] proposed explicit formulas and numerical integral equation (NIE) approaches for the ARL to detect changes in the mean of a stationary MA process with exogenous variables running on an EWMA control chart and compare their performances.
The aim of the present study is to derive explicit formulas for the ARL to detect changes in the mean of a MAX(q,r) model with exponential white noise running on an HWMA control chart, which, to the best of our knowledge, has not yet been reported. We also conducted a simulation study to compare the performance of our method to detect changes in the mean of a MAX(q,r) model with exponential white noise running on HWMA and CUSUM control charts.

2. Materials and Methods

The characteristics of the MAX(q,r) process and HWMA and CUSUM control charts are presented here.

2.1. Control Charts

2.1.1. Homogenously Weighted Moving Average (HWMA) Control Chart

The HWMA statistic is considered under the assumption { H t ;   t = 1 , 2 , 3 , } , as a sequence of i.i.d continuous random variables with a common probability density function. The HWMA statistic ( H t ) is an upper HWMA statistic based on the MAX(q,r) process H t . The recursive formula can express it as in (1)
H t = λ Y t + ( 1 λ ) Y ¯ t 1 ,   for   t = 1 , 2 , ,
where Y t is a sequence of the MAX(q,r) process with exponential white noise, the starting value Y ¯ 0 = u is an initial value, and u [ 0 , b ] where b is a control limit of the HWMA chart.
The control limits of the HWMA control chart consist of
Upper control limit : U C L t = μ + L σ 2 λ 2 n , t = 1 μ + L σ 2 n [ λ 2 + ( 1 λ ) 2 ( t 1 ) ] , t > 1
Center Line :   C L = μ
Lower control limit : L C L t = μ L σ 2 λ 2 n , t = 1 μ L σ 2 n [ λ 2 + ( 1 λ ) 2 ( t 1 ) ] , t > 1
where L is the width of the control limits.
The HWMA stopping time ( τ b ) with a predetermined threshold b is defined as
τ b = inf t > 0 ; H t b ,   for   b > u .

2.1.2. Cumulative Sum (CUSUM) Control Chart

Page [2] proposed the CUSUM control chart for quality control, which can be used to spot minor differences in process mean. The CUSUM statistics based on the MAX(q,r) process can be expressed using the algorithm in (2) as follows:
C t = C t 1 + Y t a   for   t = 1 , 2 , ,
where C t is a sequence of the MAX(q,r) process with exponential white noise where h is a control limit and a usually called the CUSUM control chart’s reference value.
The CUSUM stopping time ( τ h ) with a predetermined threshold h is defined
τ h = inf t > 0 ; C t h ,   for   h > u .

2.2. 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 a point θ . In statistical process control (SPC), it is generally desirable to have an appropriate control chart that provides a large Average Run Length (ARL) at the change point time for θ = . A large ARL means that, under normal operating conditions (when the process is in control), the control chart will typically require a long sequence of data points before signaling a false alarm or indicating a shift in the process. This is the behavior of the in-control state of ARL, denoted by ARL0, or the state of no change ( α = α 0 ) . The expectation of the run length τ b for the in-control state can be defined as
A R L 0 = E θ ( τ b ) .
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, denoted by ARL1, which can be defined as
A R L 1 = E θ ( τ b | τ b 1 ) .

3. Average Run Length for MAX(q,r) Process

3.1. The Explicit Formula Method

Theorem 1.
The explicit formula of G ( u ) the ARL of MAX(q,r) process with an exponential white noise
For the in-control process α = α 0 , the ARL of the HWMA control chart can be expressed as follows:
A R L 0 = 1 [ e b α 0 λ 1 ] e ( 1 λ ) u + λ ( μ θ 1 e i = 2 q θ i ε 1 i + j = 1 r β j X j 1 ) α 0 λ 1 + e λ ( μ θ 1 e i = 2 q θ i ε 1 i + j = 1 r β j X j 1 ) α 0 λ λ ( e b α 0 1 ) .
Meanwhile, the out-of-control process ( α = α 1 ), as well as α 1 = ( 1 + δ ) α 0 , the ARL of the HWMA control chart, can be expressed as follows:
A R L 1 = 1 [ e b α 1 λ 1 ] e ( 1 λ ) u + λ ( μ θ 1 e i = 2 q θ i ε 1 i + j = 1 r β j X j 1 ) α 1 λ 1 + e λ ( μ θ 1 e i = 2 q θ i ε 1 i + j = 1 r β j X j 1 ) α 1 λ λ ( e b α 1 1 ) .
Proof of Theorem 1 is shown in Appendix A.

3.2. Numerical Integral Equation Method

After the explicit formula of the ARL is proved, we will use the NIE method to check the accuracy of the results. Numerical Integral Equations were first proposed by Crowder [17] to approximate ARL for Gaussian distributions. Afterward, Champ and Rigdon [18] thoroughly investigated them by comparing the run length distributions derived from the MCA and the Integral Equation approach for the case of a Gaussian distribution. Extensive investigations of the Integral Equation have been conducted by Srivastava and Wu [19] for continuous-time systems and by Srivastava and Wu [20] for discrete processes. The advantage of using the NIE method with quadrature rules is that it provides a computationally efficient and accurate way to estimate the ARL. The ARL estimated via the NIE method derived with quadrature rules denoted G ˜ u is a well-known technique as given in Appendix B that can verify the ARL via the explicit formula. Different quadrature rules can be employed to obtain similar ARL estimates, and the results obtained from these rules are generally very close [21].
The approximation of the numerical integral for the function G u is,
G ˜ u = 1 + 1 λ k = 1 n w k G ( a k ) f ( a k 1 λ u μ + θ 1 e + i = 2 q θ i ε 1 i j = 1 r β j X j 1 λ ) .

3.3. Existence and Uniqueness of ARL

Banach’s Fixed-point Theorem provides theoretical support for the ARL equation’s validity, ensuring a unique solution to the integral equation for explicit formulas. Let T be an operation on the class of all continuous functions defined by
T ( G ( u ) ) = 1 + 1 λ 0 b G ( W ) f ( W 1 λ u μ + θ 1 e + i = 2 q θ i ε 1 i j = 1 r β j X j 1 λ ) d W
According to Banach’s Fixed-point Theorem, if an operator T is a contraction, the fixed-point equation T ( G ( u ) ) = G ( u ) has a unique solution. The theorem can be used as follows below to show that the equation in (6) exists and has a unique solution.
Theorem 2.
Banach’s Fixed-point Theorem
Let ( X , d ) be defined on a complete metric space and T : X X satisfy the conditions of a contraction mapping with contraction constant 0 r < 1 such that T ( G 1 ) T ( G 2 ) r G 1 G 2 , G 1 , G 2 X . There exists a unique G ( ) X such that T ( G ( u ) ) = G ( u ) , i.e., a unique fixed-point in X [22].
Proof of Theorem 2.
Let T, defined in (6), be a contraction mapping for G 1 ,   G 2 F [ 0 , b ] , such that T ( G 1 ) T ( G 2 ) r G 1 G 2 , G 1 , G 2 F [ 0 , b ] with 0 r < 1 under the norm G = sup u [ 0 , b ] G ( u ) , so
T ( G 1 ) T ( G 2 ) = sup u [ 0 , b ] 1 α λ e 1 λ u + μ θ 1 e i = 2 q θ i ε 1 i + j = 1 r β j X j 1 α λ 0 b ( G 1 ( W ) G 2 ( W ) ) e W α λ d W sup u [ 0 , b ] G 1 G 2 1 α λ e 1 λ u + μ θ 1 e i = 2 q θ i ε 1 i + j = 1 r β j X j 1 α λ ( α λ ) ( e b α λ 1 ) = G 1 G 2 sup u [ 0 , b ] e 1 λ u + μ θ 1 e i = 2 q θ i ε 1 i + j = 1 r β j X j 1 α λ 1 e b α λ r G 1 G 2
where r = sup u [ 0 , b ] e 1 λ u + μ θ 1 e i = 2 q θ i ε 1 i + j = 1 r β j X j 1 α λ 1 e b α λ ; 0 r < 1 . □

4. Numerical Results

We conducted a simulation study to compare the efficacies of the explicit formulas ( G u ) and NIE ( G ˜ u ) methods for the ARL of an MAX(q,r) process running on an HWMA control chart via the following steps.
Step 1: Setting up the control limit for the MAX(q,r) process:
i
Determine the exponential white noise ( α 0 ) and smoothing parameters for the in-control process.
ii
Determine the initial values for the MAX(q,r) process and the HWMA statistic.
iii
Select acceptable values for ARL0 and the shift sizes ( δ ) .
iv
Compute the upper control limit (b) that yields the desired ARL for the control process using (3).
Step 2: For the in-control ARL:
i
Compute ARL0 using (3) when given the upper control limit (b) from Step 1.
ii
Approximate the value of ARL0 via the NIE method by using (5).
iii
If necessary, change the value of b according to the desired ARL0 value.
Step 3: For the out-of-control ARL:
i
Compute ARL1 for various shift sizes and α 1 = ( 1 + δ ) α 0 by using (4) and the value of b from Step 1.
ii
Approximate ARL1 via the NIE method by using (5).
iii
Compare the ARL values obtained using the explicit formulas and NIE methods.
To compare these, the absolute relative change (ARC) is computed as follows:
A R C ( % ) = G ( u ) G ˜ ( u ) G ( u ) × 100
Next, the efficiency of the HWMA control chart is compared with that of the CUSUM control chart. Several performance measures are commonly used to assess a control chart’s ability to detect process variations. First, the relative mean index (RMI) [23] is a statistical metric used to assess which control chart more efficiently detects shifts or changes in the process mean. A lower RMI indicates a more efficient control chart. The RMI is calculated as follows:
R M I = 1 n i = 1 n A R L i ( r ) A R L i ( s ) A R L i ( s ) ,
where A R L i ( r ) is the ARL value for each control chart for the determined shift size i ,   A R L i ( s ) and is the lowest ARL for i obtained by each of the control charts.
The standard deviation run length (SDRL) and median run length (MRL) are tools for assessing the performance of control charts in maintaining process stability and quickly detecting an out-of-control situation [24]. For the in-control process, th7e SDRL and MRL are calculated as follows:
A R L 0 = 1 ς ,   S D R L 0 = 1 ς ς 2 ,   M R L 0 = log ( 0.5 ) log ( 1 ς ) ,
where ς represents a type I error. In this study, ARL0 was fixed at 370, and it can be calculated as SDRL0 and MRL0 by (9) at approximately 370 and 256, respectively. On the other hand, for out-of-control situations, SDRL1 and MRL1 are calculated by
A R L 1 = 1 1 ψ ,   S D R L 1 = ψ ( 1 ψ ) 2 ,   M R L 1 = log ( 0.5 ) log ψ ,
where ψ represents type II error.
The control chart’s effectiveness in detecting various types of process variations can be evaluated by considering the values of SDRL1, MRL1, and ARL1, after which informed decisions about its performance can be made. Lower values of these measurements indicate better performance in terms of sensitivity and efficiency. Furthermore, the comparison of the performances of the HWMA and CUSUM control charts in terms of the expected ARL (EARL), expected SDRL (ESDRL), and expected MRL (EMRL) is calculated as follows:
E A R L = 1 Δ δ = δ min δ max A R L ( δ ) ,   E S D R L = 1 Δ δ = δ min δ max S D R L ( δ ) ,   E M R L = 1 Δ δ = δ min δ max M R L ( δ ) .
For the results, a simulation of the in-control process is given with ARL0 = 370, and then the initial parameter value was studied α 0 = 1 . The out-of-control process α 1 = ( 1 + δ ) α 0 is computed by determining shift sizes ( δ ) to be 0.001, 0.003, 0.005, 0.01, 0.03, 0.05, 0.1, 0.3, and 0.5. The control limits for the HWMA control chart running a MAX(q,r) process when ARL0 = 370 are provided in Table 1. For example, for a MAX(2,1) process with parameter values δ = 1 , θ 1 = 0.1 ,   θ 2 = 0.2 ,   β 1 = 0.2 , the control limit is 0.00179. In Table 2 and Table 3, the ARL values obtained using the explicit formulas and NIE methods for the MAX(1,1) and MAX(2,3) models running on an HWMA control chart for λ = 0.1 or 0.2 are presented. It can be seen that the ARL values from both methods are similar. This was confirmed by the ARC values being very low.
A comparison of the ARL1 results for MAX(1,1) and MAX(2,3) processes running on HWMA and CUSUM control charts is provided in Table 4 and Table 5. In this case, the parameter values were set as ARL0 = 370, λ = 0.1, 0.2, or 0.3, and the reference value (a) = 4. The ARL values derived by using the explicit formulas were lower for the HWMA control chart than for the CUSUM control chart for all shift sizes and all values of λ . In addition, as λ . was increased, the ARL1 values decreased accordingly. Moreover, the SDRL and MRL values were the same as the ARL values. Subsequently, the ARL values obtained from each control chart using the explicit formulas method in Table 4, Table 5 and Table 6 were used to calculate the EARL, ESDRL, and EMRL values. It was found that the proposed method for the HWMA control chart provided the best performed the best because it obtained the lowest EARL, ESDRL, and EMRL values. Therefore, it can be concluded that the HWMA control chart performs better than the CUSUM control chart for this scenario, where the results of the performance comparison are consistent with Abbas [3].

5. Practical Applications with Real Data

In this section, the ARL formula has been applied to real data with the following steps.
  • To estimate parameters from interesting data such as stock price, which must include a MAX model.
  • To estimate the parameter of exponentially distributed residuals.
  • Using the parameter values from 1 and 2, determine the ARL value in Equations (3) and (4).
  • To compare the performance using the ARL value calculated from 3 and other control charts.
  • To detect changes in the process mean, determine the UCL value using the equation in (3) and use actual data to compute control chart statistics before plotting the control chart statistics on a graph.
In the application to a real problem, the S&P 500 index was gathered as the observations for the MAX(q,r) process, and the AAPL stock price was collected as the exogenous variable (X).
The explicit formulas for the ARL of a MAX(q,r) process on the HWMA control chart are applied and compared with the performance with the CUSUM control chart using 41 real-world data observations of the S&P 500. The exogenous variable is Apple Inc. (AAPL) stock price from April 2023 to May 2023.
Time series model MAX in the practical real data S&P 500 with exogenous AAPL stock price decomposes the actual series into fitted values and residuals. The parameters of the practical time series model MAX are estimated using the Kolmogorov–Smirnov test. Then, the exponential distribution of residuals behaving as white noise was subsequently determined.
The model has an improvement pattern with three MAX processes, i.e., MAX(1,1), MAX(2,1), and MAX(3,1), so these models should be included in the model estimation as shown in Table 7. Consequently, the MAX(3,1) has the lowest RMSE, MAPE, and MAE, implying that the MAX(3,1) is the best model, as shown in Table 8. Based on the final result of the coefficient parameter in Table 9, the MAX(3,1) coefficient parameters are obtained as follows: θ ^ 1 = −1.085, θ ^ 2 = −0.765, θ ^ 3 = −0.435, β ^ = 24.40. The in-control parameter is equal to 29.42908, as shown in Table 9. The parameters of this prediction model can be assigned as follows:
Y ^ t = 1.085 ε t 1 + 0.765 ε t 2 + 0.435 ε t 3 + 24.40 X t .
The ARL values for MAX(3,1) on the HWMA and CUSUM control charts were compared using the explicit formula method, the results of which are summarized in Table 6; it can be seen that the results are obviously in agreement with those in Table 4 and Table 5. The table shows that the HWMA control chart has the lowest RMI, EARL, ESDRL, and EMRL of all λ levels, as shown in Figure 1. To sum up, the explicit formula approach is a good alternative for practical applications in detecting mean process changes on the HWMA control chart. In addition, the HWMA (Ht) and CUSUM (Ct) statistics for the S&P 500 with Apple Inc. (AAPL) stock price as an exogenous variable fitted to the MAX(3,1) model are presented in Figure 2. These results indicate that the HWMA control chart can detect a shift at the first time at the fifth observation, while the CUSUM scheme is found the first time at the sixth observation. That is to say, the first hitting time for the HWMA control chart for the S&P 500 dataset fitted to the MAX(3,1) process with exogenous (AAPL) stock price takes a smaller hitting time than for the CUSUM control chart.
Hence, the results show that the HWMA control chart for the S&P 500 dataset fitted to the MAX(3,1) process with exogenous (AAPL) stock price is more effective than the CUSUM control chart.

6. Discussion and Conclusions

The zero-stated ARL derivations based on the explicit formulas and NIE methods for an MAX process with exponential white noise running on an HWMA control chart with a symmetric one-sided control limit were derived and evaluated. The control charts, such as EWMA and DEWMA control charts, which have similar characteristics to the HWMA control chart, were reviewed in the literature. However, the HWMA control chart, a recent control chart between EWMA and DEWMA control charts, was selected to compare the results with the CUSUM control chart. The efficiencies of the proposed method for MAX processes running on HWMA and CUSUM control charts were compared considering the differences between their parameters (the smoothing parameter for the HWMA control chart and the reference value for the CUSUM control chart). Consequently, the fixed parameter values for the HWMA and CUSUM control charts were independently selected. We will consider optimal parameters for the HWMA and CUSUM control charts in future research. Although only exponential white noise was considered in the present research, it is representative of real data with events occurring randomly with nonlinear noise. Thus, this supports the applicability of our approach to real situations, such as the S&P 500 index with the AAPL stock price as an exogenous variable. The ARL values obtained by using the explicit formulas and NIE methods were similar. Furthermore, the existence and uniqueness of the ARL derivation based on the explicit formulas were proved. The ARL, SDRL, and MRL values obtained using the proposed method for MAX processes running on HWMA and CUSUM control charts were used to compare their performances. While varying the value of λ , the ARL, SDRL, and MRL values for the HWMA control chart were less than those for the CUSUM control chart. When applying the proposed method to real data from the S&P 500 index with the AAPL stock price as an exogenous variable, the ARL values for the HWMA control chart were less than those for the CUSUM control chart. Furthermore, the first out-of-control value detected by the HWMA control chart was sooner than that detected by the CUSUM control chart. The advantage of this research is that it brings these concepts and results for making strategies to detect the change in stock price level based on control limits of the proposed control charts. The detected change in the movement of stock price can generate the buying and selling signals for the investor.
In summary, the results indicate that the HWMA control chart performed better than the CUSUM control chart for all magnitudes of changes. In addition, the results obtained for a real-world scenario involving S&P 500 stock price datasets were consistent with those obtained in the simulation study. Although the proposed explicit formula derivation for the ARL can be applied to other scenarios, it is limited to cases involving exponential white noise and to the MAX model only. If the examined data contains further white noise patterns, determining the ARL value could require the use of alternative techniques, such as the NIE or Markov Chain approach, etc. For future research, explicit formulations for the ARL will be developed for other models relevant to real-world situations. (e.g., ARX, ARMAX, and ARIMAX) running on a HWMA control chart.

Author Contributions

Conceptualization, R.S., Y.A. and S.S.; methodology, R.S. and Y.A.; software, R.S.; validation, R.S. and S.S.; formal analysis, R.S.; investigation, R.S. and Y.A.; writing—original draft preparation, Y.A.; writing—review and editing, Y.A.; visualization, Y.A. and S.S.; supervision, Y.A.; funding acquisition, Y.A. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by Thailand Science Research and Innovation Fund (NSRF) and King Mongkut’s University of Technology North Bangkok with Contract no. KMUTNB-FF-67-B-11.

Data Availability Statement

This data can be found here: [https://www.investing.com/indices/us-spx-500-futures (accessed on 20 August 2023)].

Acknowledgments

The authors are grateful to the editor and referees for their valuable time and efforts on our manuscript.

Conflicts of Interest

The author(s) declare no potential conflict of interest with respect to the research, authorship, and/or publication of this article.

Appendix A

Proof of Theorem 1.
From the recursion of HWMA statistics in (1),
H t = λ Y t + ( 1 λ ) Y ¯ t 1 .
Therefore, the HWMA control chart for the MAX process can be written as,
H t = λ ( μ + ε t i = 1 q θ i ε t i + j = 1 r β j X j t ) + ( 1 λ ) Y ¯ t 1 .
For t = 1,
H 1 = λ ( μ θ 1 ε 0 i = 2 q θ i ε 1 i + j = 1 r β j X j 1 ) + λ ε 1 + ( 1 λ ) u .
Let,
M = λ ( μ θ 1 ε 0 i = 2 q θ i ε 1 i + j = 1 r β j X j 1 ) .
Consider the in-control process, given LCL = 0, UCL = b and the initial value Y ¯ 0 = u ,   ε 0 = e that is
0 < H t < b
0 < λ M + ( 1 λ ) Y ¯ t 1 < b .
The change-point time at t = 1 is studied, and then we set Y 0 = v . According to the approach proposed by Champ and Rigdon [18], the integral equation representing the ARL of the HWMA control chart ( G ( u ) ) can be expressed by Fredholm integral equation of the second kind as follows,
G ( u ) = 1 + 0 b 1 λ u M λ G ( M + λ y + ( 1 λ ) u ) f ( y ) d y .
Let, W = M + λ y + ( 1 λ ) u , then d y = 1 λ d w .
After changing the variable in (3), it can be rewritten as
G ( u ) = 1 + 1 λ 0 b G ( W ) 1 α e 1 α [ W 1 λ u M λ ] d W .
Since, we determine ε 1 ~ E x p ( α ) then f ( x ) = 1 α e x α . Thus,
G ( u ) = 1 + e 1 λ u + M α λ α λ 0 b G ( W ) 1 α e W α λ d W .
Let
Q ( u ) = e 1 λ u + M α λ α λ , R = 0 b G ( W ) 1 α e W α λ d W .
So that
G ( u ) = 1 + Q ( u ) R .
Consider R = 0 b G ( W ) 1 α e W α λ d W , we have
= 0 b 1 + Q ( W ) R e W α λ d W = 0 b e W α λ d W + R α λ 0 b e W λ W + M W α λ d W = 0 b e W α λ d W + R e M α λ α λ 0 b e λ W α λ d W .
Then,
R = α λ [ e b α λ 1 ] [ 1 + e M α λ λ ( e b α 1 ) ] .
Substituting R in (A2), we have
G ( u ) = 1 [ e b α λ 1 ] e ( 1 λ ) u + M α λ 1 + e M α λ λ ( e b α 1 ) = 1 [ e b α λ 1 ] e ( 1 λ ) u + λ ( μ θ 1 e i = 2 q θ i ε 1 i + j = 1 r β j X j 1 ) α λ 1 + e λ ( μ θ 1 e i = 2 q θ i ε 1 i + j = 1 r β j X j 1 ) α λ λ ( e b α 1 ) .

Appendix B

In this study, we use the Gauss–Legendre rule to evaluate the ARL
G ( u ) = 1 + 1 λ 0 b G ( W ) f ( W 1 λ u μ + θ 1 e + i = 2 q θ i ε 1 i j = 1 r β j X j 1 λ ) d W .
The approximation for an integral is evaluated by the quadrature rule as follows;
0 b f x d x k = 1 n w k f a k
where a k is a point and w k is a weight that is determined by the different rules.
Using the quadrature formula, the system of n linear equations is as follows;
G ˜ a b = 1 + 1 λ k = 1 n w k G ( a k ) f ( W 1 λ u μ + θ 1 e + i = 2 q θ i ε 1 i j = 1 r β j X j 1 λ ) ,   b = 1 , 2 , , n
G ˜ a 1 = 1 + 1 λ k = 1 n w k G ( a k ) f ( a k 1 λ u μ + θ 1 e + i = 2 q θ i ε 1 i j = 1 r β j X j 1 λ )
G ˜ a 2 = 1 + 1 λ k = 1 n w k G ( a k ) f ( a k 1 λ u μ + θ 1 e + i = 2 q θ i ε 1 i j = 1 r β j X j 1 λ )
G ˜ a n = 1 + 1 λ k = 1 n w k G ( a k ) f ( a k 1 λ u μ + θ 1 e + i = 2 q θ i ε 1 i j = 1 r β j X j 1 λ ) .
This system can be shown as
G n × 1 = 1 n × 1 + R n × n L n × 1   or   I n R n × n = 1 n × 1   or   M n × 1 = I n R n × n 1 1 n × 1 ,
where G n × 1 = G ˜ a 1 G ˜ a 2 G ˜ a n ,   I n = d i a g 1 , 1 , , 1 and 1 n × 1 = 1 1 1 .
Let R n × n is a matrix and define the n to n t h as an element of the matrix R as follows;
R b k 1 λ w k f ( W 1 λ u μ + θ 1 e + i = 2 q θ i ε 1 i j = 1 r β j X j 1 λ ) .
If I - R 1 exists, the numerical approximation for the integral equation is the term of the matrix,
G n × 1 = I n × 1 R n × n 1 1 n × 1 .
Finally, we substitute a b by u in G ˜ a b , the approximation of numerical integral for the function G u is,
G ˜ u = 1 + 1 λ k = 1 n w k G ( a k ) f ( a k 1 λ u μ + θ 1 e + i = 2 q θ i ε 1 i j = 1 r β j X j 1 λ ) .

References

  1. Page, E.S. Continuous inspection schemes. Biometrika 1954, 41, 100–115. [Google Scholar] [CrossRef]
  2. Roberts, S. Control chart tests based on geometric moving averages. Technometrics 1959, 42, 239–250. [Google Scholar] [CrossRef]
  3. Abbas, N. Homogeneously weighted moving average control chart with an application in substrate manufacturing process. Comput. Ind. Eng. 2018, 20, 460–470. [Google Scholar] [CrossRef]
  4. Knoth, S.; Tercero-Gómez, V.G.; Khakifirooz, M.; Woodall, W.H. The impracticality of homogeneously weighted moving average and progressive mean control chart approaches. Qual. Reliab. Eng. Int. 2021, 37, 3779–3794. [Google Scholar] [CrossRef]
  5. Riaz, M.; Ahmad, S.; Mahmood, T.; Abbas, N. On Reassessment of the HWMA Chart for Process Monitoring Muhammad. Processes 2022, 10, 1129. [Google Scholar] [CrossRef]
  6. Lucic, M.; Xydis, G. Performance of the autoregressive integrated moving average model with exogenous variables statistical model on the intraday market for the Denmark-West bidding area. Energy Environ. 2023, 2023, 0958305X231199154. [Google Scholar] [CrossRef]
  7. Phengsalae, Y.; Areepong, Y.; Sukparungsee, S. An Approximation of ARL for Poisson GWMA using Markov Chain Approach. Thail. Stat. 2015, 13, 111–124. [Google Scholar]
  8. Riaz, M.; Zaman, B.; Mehmood, R.; Abbas, N.; Abujiya, M. Advanced multivariate cumulative sum control charts based on principal component method with application. Qual. Reliab. Eng. Int. 2021, 37, 2760–2789. [Google Scholar] [CrossRef]
  9. Bualuang, D.; Peerajit, W. Performance of the CUSUM Control Chart using Approximation to ARL for Long-Memory Fractionally Integrated Autoregressive Process with Exogenous Variable. Appl. Sci. Eng. Prog. 2023, 16, 5917. [Google Scholar] [CrossRef]
  10. Chananet, C.; Phanyaem, S. Improving CUSUM Control Chart for Monitoring a Change in Processes Based on Seasonal ARX Model. IAENG Int. J. Appl. Math. 2022, 52, IJAM_52_3_08. [Google Scholar]
  11. Phanyaem, S. The integral equation approach for solving the average run length of EWMA procedure for autocorrelated process. Thail Stat. 2021, 19, 627–641. [Google Scholar]
  12. Supharakonsakun, Y. Comparing the effectiveness of statistical control charts for monitoring a change in process mean. Eng. Lett. 2021, 29, 1108–1114. [Google Scholar]
  13. Petcharat, K. The Effectiveness of CUSUM Control Chart for Trend Stationary Seasonal Autocorrelated Data. Thail Stat. 2022, 20, 475–488. [Google Scholar]
  14. Peerajit, W. Developing Average Run Length for Monitoring Changes in the Mean on the Presence of Long Memory under Seasonal Fractionally Integrated MAX Model. Math. Stat. 2023, 11, 34–50. [Google Scholar] [CrossRef]
  15. Petcharat, K. Designing the performance of EWMA control chart for seasonal moving average process with exogenous variables. IAENG Int. J. Appl. Math. 2023, 53, 1–9. [Google Scholar]
  16. Suriyakat, W.; Petcharat, K. Exact Run Length Computation on EWMA Control Chart for Stationary Moving Average Process with Exogenous Variables. Math. Stat. 2022, 10, 624–635. [Google Scholar] [CrossRef]
  17. Crowder, S.V. A simple method for studying run length distributions of exponentially weighted moving average charts. Technometrics 1987, 29, 401–407. [Google Scholar]
  18. Champ, C.W.; Rigdon, S.E. A comparison of the Markov chain and the integral equation approaches for evaluating the run length distribution of quality control charts. Commun. Stat. Simul. Comput. 1991, 20, 191–204. [Google Scholar] [CrossRef]
  19. Srivastava, M.S.; Wu, Y. Comparison of EWMA, CUSUM and Shiryayev-Roberts procedure for detecting a shift in the mean. Ann. Stat. 1993, 21, 645–670. [Google Scholar] [CrossRef]
  20. Srivastava, M.S.; Wu, Y. Evaluation of optimum weights and average run lengths in EWMA control schemes. Commun. Stat. Theory Methods 1997, 26, 1253–1267. [Google Scholar] [CrossRef]
  21. Phanyaem, S. Explicit Formulas and Numerical Integral Equation of ARL for SARX(P,r)L model based on CUSUM Chart. Math. Stat. 2022, 10, 88–99. [Google Scholar] [CrossRef]
  22. Sofonea, M.; Han, W.; Shillor, M. Analysis and Approximation of Contact Problems with Adhesion or Damage; Chapman & Hall/CRC: New York, NY, USA, 2005. [Google Scholar]
  23. Tang, A.; Castagliola, P.; Sun, J.; Hu, X. Optimal design of the adaptive EWMA chart for the mean based on median run length and expected median run length. Qual. Technol. Quant. Manag. 2018, 16, 439–458. [Google Scholar] [CrossRef]
  24. Fonseca, A.; Ferreira, P.H.; Nascimento, D.C.; Fiaccone, R.; Correa, C.U.; Piña, A.G.; Louzada, F. Water Particles Monitoring in the Atacama Desert: SPC approach Based on proportional data. Axioms 2021, 10, 154. [Google Scholar] [CrossRef]
Figure 1. The RMI, EARL, ESDRL, and EMRL values on the control charts for MAX(3,1) when (a) λ = 0.1, (b) λ = 0.2, and (c) λ = 0.3.
Figure 1. The RMI, EARL, ESDRL, and EMRL values on the control charts for MAX(3,1) when (a) λ = 0.1, (b) λ = 0.2, and (c) λ = 0.3.
Symmetry 15 02112 g001
Figure 2. The S&P 500 dataset fitted to MAX(3,1) process running on (a) HWMA control chart and (b) CUSUM control chart.
Figure 2. The S&P 500 dataset fitted to MAX(3,1) process running on (a) HWMA control chart and (b) CUSUM control chart.
Symmetry 15 02112 g002
Table 1. Control limits of HEWMA control chart with MAX processes.
Table 1. Control limits of HEWMA control chart with MAX processes.
ModelsCoefficients
δ θ 1 θ 2 θ 3 β 1 β 2 β 3 λ = 0.1 λ = 0.2 λ = 0.3
MAX(1,1)10.1 0.2 0.00146380.060650.10252
MAX(1,2)10.1 0.20.3 0.00108000.044400.074865
MAX(1,3)10.1 0.20.30.40.00072300.029440.049523
MAX(2,1)10.10.2 0.2 0.00179000.074830.12679
MAX(2,2)10.10.2 0.20.3 0.00132200.054640.09227
MAX(2,3)10.10.2 0.20.30.40.00088500.036140.060845
MAX(3,1)10.10.20.30.2 0.00242000.103000.17547
MAX(3,2)10.10.20.30.20.3 0.00179000.074830.12679
MAX(3,3)10.10.20.30.20.30.40.00119500.049250.08309
Table 2. The ARL of HWMA control chart for MAX(1,1) using explicit formula against NIE method is given β 1 = 0.2 ,   δ = 1 , and α 0 = 1 .
Table 2. The ARL of HWMA control chart for MAX(1,1) using explicit formula against NIE method is given β 1 = 0.2 ,   δ = 1 , and α 0 = 1 .
θ 1 δ λ =  0.1
b = 0.001195
ARC(%) λ =  0.2
b = 0.04925
ARC(%)
Explicit
Formula
NIEExplicit
Formula
NIE
−0.10370.3770885370.3772.390 × 10−5370.5593435370.5599.270 × 10−5
0.001366.1943273366.1948.938 × 10−5362.1715955362.1720.00011677
0.003357.9938367357.9944.560 × 10−5346.3219822346.3225.133 × 10−6
0.005350.0079350350.0081.858 × 10−5331.600544331.601.641 × 10−5
0.01330.9408108330.9415.718 × 10−5299.0211502299.0215.023 × 10−5
0.03265.9258522265.9265.558 × 10−5209.3451951209.3459.320 × 10−5
0.05215.4434020215.4430.00018659156.1001736156.1000.00011124
0.1131.5709136131.5716.564 × 10−587.7090161787.70901.844 × 10−5
0.326.9037828726.90386.368 × 10−521.5669357321.56690.00016565
0.58.7626480418.762652.236 × 10−59.4177389959.417741.067 × 10−5
1.02.0390955872.039100.000216433.1377293773.137731.984 × 10−5
3.01.0393338821.039330.000373501.2454058341.245410.00033454
5.01.0111019321.011100.000191071.1024696331.102473.333 × 10−5
θ 1 δ λ =  0.1
b = 0.001463
ARC(%) λ =  0.2
b = 0.06065
ARC(%)
Explicit
Formula
NIEExplicit
Formula
NIE
0.10.00370.7863113370.7868.395 × 10−5370.6764977370.6760.00013428
0.001366.6757192366.6767.658 × 10−5362.7898379362.7904.467 × 10−5
0.003358.6141296358.6143.614 × 10−5347.8319481347.8321.493 × 10−5
0.005350.7601349350.7603.845 × 10−5333.8731750333.8735.240 × 10−5
0.01331.9940916331.9942.760 × 10−5302.7570590302.7571.948 × 10−5
0.03267.8441508267.8445.630 × 10−5215.4444901215.4440.0002275
0.05217.8316782217.8320.00014800162.3849054162.3855.823 × 10−5
0.10134.2173814134.2170.0002840092.7595388792.75954.190 × 10−5
0.3028.1975721428.19769.881 × 10−523.4366146923.43666.269 × 10−5
0.509.3213116629.321311.783 × 10−510.3358707910.33590.00028256
1.02.1517374132.151740.000120003.4311530453.431158.875 × 10−5
3.01.0458226091.045820.000249001.2900082181.290010.00013814
5.01.0131492151.013157.748 × 10−51.1227243331.122720.00038594
Table 3. The ARL of HWMA control chart for MAX(2,3) using explicit formula against NIE method given θ 1 = 0.1 ,   β 1 = 0.1 ,   β 2 = 0.15 ,   β 3 = 0.2 ,   μ = 1 and α 0 = 1 .
Table 3. The ARL of HWMA control chart for MAX(2,3) using explicit formula against NIE method given θ 1 = 0.1 ,   β 1 = 0.1 ,   β 2 = 0.15 ,   β 3 = 0.2 ,   μ = 1 and α 0 = 1 .
θ 2 δ λ =  0.1
b = 0.00093
ARC (%) λ =  0.2
b = 0.03805
ARC (%)
Explicit
Formula
NIEExplicit
Formula
NIE
−0.20.00370.5910199370.5915.373 × 10−6370.8965713370.8970.00011557
0.001366.3099585366.3101.133 × 10−5361.8637773361.8646.154 × 10−5
0.003357.9201174357.9203.281 × 10−5344.8749336344.8751.924 × 10−5
0.005349.7541889349.7545.401 × 10−5329.1876507329.1880.00010610
0.01330.2752321330.2757.026 × 10−5294.7876499294.7880.00011877
0.03264.0649507264.0651.868 × 10−5202.3095739202.3100.00021061
0.05212.9132635212.9130.000123736148.9225782148.9230.00028323
0.10128.5909253128.5915.811 × 10−582.0557016282.05571.969 × 10−6
0.3025.4235506525.42360.00019410119.5386935119.53873.320 × 10−5
0.58.1320708958.132071.100 × 10−58.4349585298.434961.744 × 10−5
1.01.9156967821.915700.0001679772.8295462292.829550.00013327
3.01.0325731601.032570.0003060781.1999665621.199970.00028652
5.01.0090053791.009010.0004579281.0820684261.082070.00014546
θ 2 δ λ =  0.1
b = 0.00000003275
ARC(%) λ =  0.2
b = 0.05756
ARC(%)
Explicit
Formula
NIEExplicit
Formula
NIE
0.20.00370.4632642370.4637.133 × 10−5370.4063980370.4060.00010745
0.001366.3370877366.3372.395 × 10−5362.4032052362.4035.661 × 10−5
0.003358.2455837358.2460.00011600347.2378814347.2383.416 × 10−5
0.005350.3632872350.3638.197 × 10−5333.1015864333.1020.00012416
0.01331.5330963331.5332.904 × 10−5301.6456317301.6460.00012209
0.03267.2044272267.2040.000160213.7943893213.7940.00018209
0.05217.1032216217.1030.000102160.7119670160.7122.054 × 10−5
0.10133.4717712133.4720.00017191.4261460191.42615.032 × 10−5
0.3027.8521147227.85215.287 × 10−522.9427837022.94287.104 × 10−5
0.509.1730716179.173071.762 × 10−510.0927962910.09283.672 × 10−5
1.02.1218027772.121800.0001313.3531170413.353128.826 × 10−5
3.01.0440797251.044082.634 × 10−51.2780457271.278050.00033430
5.01.0125968611.012600.000311.1172740991.117270.00036684
Table 4. The ARL of HWMA control chart for MAX(1,1) using explicit formula against CUSUM control chart given θ 1 = 0.1 ,   β 1 = 0.2 ,   μ = 1 and α 0 = 1 .
Table 4. The ARL of HWMA control chart for MAX(1,1) using explicit formula against CUSUM control chart given θ 1 = 0.1 ,   β 1 = 0.2 ,   μ = 1 and α 0 = 1 .
λ λ = 0.1 λ = 0.2 λ = 0.3
δ Control ChartHWMACUSUMHWMACUSUMHWMACUSUM
UCL0.0011952.2490.049252.2490.083092.249
0.00ARL0370.3770885370.531000370.5593435370.531000370.0709468370.531000
SDRL0369.8767506370.030662370.0590057370.030662369.5706086370.030662
MRL0256.3791049256.485788256.5054345256.485788256.1669035256.485788
0.001ARL1366.1943273368.30800362.1715955368.308000338.4953143368.30800
SDRL1365.6939855367.80766361.6712499367.807660337.9949445367.80766
MRL1253.479834254.944921250.6914870254.944921234.2803282254.944921
0.003ARL1357.9938367363.91300346.3219822363.913000288.8651605363.91300
SDRL1357.4934871363.412656345.8216208363.412656288.3647271363.412656
MRL1247.7956834251.898537239.7053649251.898537199.8792977251.898537
0.005ARL1350.007935359.588000331.6000544359.588000251.6370603359.588000
SDRL1349.5075773359.087652331.0996769359.087652251.1365626359.087652
MRL1242.2602744248.900674229.5008948248.900674174.0747153248.900674
0.01ARL1330.9408108349.070000299.0211502349.070000189.5958457349.070000
SDRL1330.4404325348.569641298.5207315348.569641189.0951846348.569641
MRL1229.0439415241.610147206.9189001241.610147131.0709468241.610147
0.03ARL1265.9258522310.873000209.3451951310.87300092.93583386310.873000
SDRL1265.4253813310.372597208.8445966310.37259792.43448156310.372597
MRL1183.9789635215.133984144.7601816215.13398464.07101272215.133984
0.05ARL1215.443402278.070000156.1001736278.07000059.89936967278.070000
SDRL1214.9428204277.569550155.5993703277.56955059.39726524277.569550
MRL1148.9871443192.396655107.8534504192.39665541.17153316192.396655
0.10ARL1131.5709136214.15600087.70901617214.15600029.91698008214.156000
SDRL1131.0699599213.65541587.20758282213.65541529.41273053213.655415
MRL190.85099354148.09478460.44802133148.09478420.38833309148.094784
0.30ARL126.9037828792.022400021.5669357392.02240008.15135272192.0224000
SDRL126.3990482791.521034221.0610014291.52103427.63499826291.5210342
MRL118.2995197963.437862414.5997448463.43786245.29595566263.4378624
0.50ARL18.76264804149.53670009.41773899549.53670004.31820076549.5367000
SDRL18.24750584449.03415088.90371095649.03415083.78532126549.0341508
MRL15.72023358533.98847246.17482297033.98847242.6313771533.9884724
RMI00.91801.17303.836
EARL228.194265.06202.584265.06140.424265.06
ESDRL227.69264.559202.08264.559139.92264.559
EMRL157.824183.378140.073183.37896.985183.378
Table 5. The ARL of HWMA control chart for MAX(2,3) using explicit formula against CUSUM control chart given θ 1 = 0.1 ,   θ 2 = 0.2 ,   β 1 = 0.1 ,   β 2 = 0.15 ,   β 3 = 0.2 ,   μ = 1 and α 0 = 1 .
Table 5. The ARL of HWMA control chart for MAX(2,3) using explicit formula against CUSUM control chart given θ 1 = 0.1 ,   θ 2 = 0.2 ,   β 1 = 0.1 ,   β 2 = 0.15 ,   β 3 = 0.2 ,   μ = 1 and α 0 = 1 .
λ λ = 0.1 λ = 0.2 λ = 0.3
δ Control ChartsHWMACUSUMHWMACUSUMHWMACUSUM
UCL0.001392.08990.057562.08990.097252.0899
0.00ARL0370.4632642370.086000370.4063980370.086000370.1734101370.086000
SDRL0369.9629264369.585662369.9060601369.585662369.673072369.585662
MRL0256.4388374256.177338256.3994207256.177338256.2379257256.177338
0.001ARL1366.3370877367.874000362.4032052367.874000340.1548137367.874000
SDRL1365.8367461367.373660361.9028598367.373660339.6544456367.373660
MRL1253.578788254.644095250.8520267254.644095235.4306064254.644095
0.003ARL1358.2455837363.501000347.2378814363.501000292.4145378363.501000
SDRL1357.7452343363.000656346.7375209363.000656291.9141096363.000656
MRL1247.9701813251.612961240.3402183251.612961202.3395410251.612961
0.005ARL1350.3632872359.198000333.1015864359.198000256.1488957359.198000
SDRL1349.8629299358.697652332.6012106358.697652255.6484068358.697652
MRL1242.5065860248.630346230.5416782248.630346177.2020854248.630346
0.01ARL1331.5330963348.733000301.6456317348.733000194.8249504348.733000
SDRL1331.0327187348.232641301.1452166348.232641194.3243071348.232641
MRL1229.4544829241.376556208.7380538241.376556134.6954942241.376556
0.03ARL1267.2044272310.716000213.7943893310.71600097.00143645310.716000
SDRL1266.7039585310.215597213.2938032310.21559796.50014113310.215597
MRL1184.8652052215.025160147.8441338215.02516066.88910003215.025160
0.05ARL1217.1032216278.054000160.7119670278.05400062.90341186278.054000
SDRL1216.6026445277.553550160.2111868277.55355062.40140873277.553550
MRL1150.1376457192.385564111.0501127192.38556443.25382335192.385564
0.10ARL1133.4717712214.37000091.42614601214.37000031.63968451214.370000
SDRL1132.9708311213.86941690.92477126213.86941631.13567008213.869416
MRL192.16857389148.24311763.02456647148.24311721.58252945148.243117
0.30ARL127.8521147292.429900022.9427837092.42990008.69541886392.4299000
SDRL127.3475443191.928540322.4372132991.92854038.18015222091.9285403
MRL118.9569292163.720322715.5535781563.72032275.67357635363.7203227
0.50ARL19.17307161749.869800010.0927962949.86980004.60665531049.8698000
SDRL18.65864719649.36726809.57975682149.36726804.07610326649.3672680
MRL16.00504927034.21936776.64319391534.21936772.83239498734.2193677
RMI00.87801.08803.597
EARL229.031264.972204.817264.972143.154264.972
ESDRL228.53264.471204.31264.471142.65264.471
EMRL158.405183.318141.6201183.31898.8777183.318
Table 6. Comparison of the ARL values for a MAX(3,1) process running on HWMA and CUSUM control charts when ARL0 = 370, θ 1 = 1.085 ,   θ 2 = 0.765 ,   θ 3 = 0.435 ,   β 1 = 24.40 , and α 0 = 29.42908 .
Table 6. Comparison of the ARL values for a MAX(3,1) process running on HWMA and CUSUM control charts when ARL0 = 370, θ 1 = 1.085 ,   θ 2 = 0.765 ,   θ 3 = 0.435 ,   β 1 = 24.40 , and α 0 = 29.42908 .
λ λ = 0.1 λ = 0.2 λ = 0.3
δ Control ChartHWMACUSUMHWMACUSUMHWMACUSUM
UCL1.289098.92.636368.94.045858.9
0.00ARL0370.1444170370.020000370.5206530370.020000370.0740739370.020000
SDRL0369.6440789369.519662370.0203152369.519662369.5737357369.519662
MRL0256.2178292256.131590256.4786163256.131590256.169071256.131590
0.001ARL1362.8410891369.946000362.1731457369.946000361.5464713369.946000
SDRL1362.3407441369.445662361.6728001369.445662361.0461250369.445662
MRL1251.1555449256.080297250.6925615256.080297250.2581836256.080297
0.003ARL1349.0679755369.797000346.5604091369.797000345.6210733369.797000
SDRL1348.5676169369.296662346.0600479369.296662345.1207111369.296662
MRL1241.6087437255.977018239.8706300255.977018239.2195315255.977018
0.005ARL1336.3044216369.648000332.2412574369.648000331.0428014369.648000
SDRL1335.8040493369.147661331.7408806369.147661330.5424232369.147661
MRL1232.7617160255.873739229.9453431255.873739229.1146361255.873739
0.01ARL1308.1450636369.277000301.1467802369.277000299.4763387369.277000
SDRL1307.6446573368.776661300.6463644368.776661298.9759207368.776661
MRL1213.2431207255.616581208.3922759255.616581207.2344131255.616581
0.03ARL1230.8967203367.798000219.2027893367.798000216.8787189367.798000
SDRL1230.3961777367.297660218.7022177367.297660216.3781412367.297660
MRL1159.6985864254.591416151.5929576254.591416149.9820320254.591416
0.05ARL1184.6809502366.327000172.3987162366.327000170.0814255366.327000
SDRL1184.1802715365.826658171.8979890365.826658169.5806884365.826658
MRL1127.6641927253.571796119.1507744253.571796117.5445464253.571796
0.10ARL1123.2147895362.683000112.5553949362.683000110.6446094362.683000
SDRL1122.7137709362.182655112.0542794362.182655110.1434746362.182655
MRL185.05893965251.04596677.67036555251.04596676.34590106251.045966
0.30ARL153.18429732348.58300047.51179380348.58300046.54370778348.583000
SDRL152.68192464348.08264147.00913482348.08264146.04099289348.082641
MRL136.51687573241.27258432.58486361241.27258431.91381168241.272584
0.50ARL134.12578910335.20800030.35834753335.20800029.72494727335.208000
SDRL133.62207151334.70762729.85416080334.70762729.22066979334.707627
MRL123.30590301232.00173420.69429472232.00173420.25521318232.001734
RMI03.39603.85803. 948
EARL200.072356.393194.040356.393192.748356.393
ESDRL199.570355.892193.5379355.892192.246355.892
EMRL138.332246.686134.151246.686133.255246.686
Table 7. MAX estimate for S&P 500 with Apple Inc. (AAPL) stock price as exogenous variable.
Table 7. MAX estimate for S&P 500 with Apple Inc. (AAPL) stock price as exogenous variable.
ProcessVariableCoefficientStd. ErrortSig.
MAX(1,1)MA(1) ( θ ^ )−0.8460.103−8.2270.00
Apple Inc. stock price ( β ^ )24.4290.098250.2370.00
MAX(2,1) MA ( 1 )   ( θ ^ 1 ) −1.2220.126−9.6950.00
MA ( 2 )   ( θ ^ 2 ) −0.6670.128−5.2040.00
Apple Inc. stock price ( β ^ )24.4170.117207.9120.00
MAX(3,1) MA ( 1 )   ( θ ^ 1 ) −1.0850.158−6.8500.00
MA ( 2 )   ( θ ^ 2 ) −0.7650.211−3.6270.00
MA ( 3 )   ( θ ^ 3 ) −0.4350.165−2.6470.01
Apple Inc. stock price ( β ^ )24.4000.131186.4350.00
Table 8. Model fit.
Table 8. Model fit.
ProcessRMSEMAPEMAE
MAX(1,1)58.9511.12046.329
MAX(2,1)46.4070.85635.411
MAX(3,1)45.5710.79432.829
Table 9. Exponential white noise of residual using the Kolmogorov–Smirnov goodness of fit test.
Table 9. Exponential white noise of residual using the Kolmogorov–Smirnov goodness of fit test.
Process Mean   α 0 Kolmogorov–SmirnovSig.
MAX(3,1)29.429080.6790.745
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Sunthornwat, R.; Sukparungsee, S.; Areepong, Y. Analytical Explicit Formulas of Average Run Length of Homogenously Weighted Moving Average Control Chart Based on a MAX Process. Symmetry 2023, 15, 2112. https://doi.org/10.3390/sym15122112

AMA Style

Sunthornwat R, Sukparungsee S, Areepong Y. Analytical Explicit Formulas of Average Run Length of Homogenously Weighted Moving Average Control Chart Based on a MAX Process. Symmetry. 2023; 15(12):2112. https://doi.org/10.3390/sym15122112

Chicago/Turabian Style

Sunthornwat, Rapin, Saowanit Sukparungsee, and Yupaporn Areepong. 2023. "Analytical Explicit Formulas of Average Run Length of Homogenously Weighted Moving Average Control Chart Based on a MAX Process" Symmetry 15, no. 12: 2112. https://doi.org/10.3390/sym15122112

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