1 Introduction

In many statistical process control (SPC) applications, the quality of a product can be characterized by a functional relationship between a response variable and one or more independent variables. This functional relationship is often called profile. The profile that links a response variable to the explanation variables can be linear and nonlinear in nature. In statistical quality control, Jensen et al. [6] considered a general linear profile model with m profiles. We assume that there are n observations in each of the j-th profile, j = 1, 2, …, m. The general linear profile model is defined as

$$\displaystyle \begin{aligned} {\mathbf{y}}_{j}=\boldsymbol{\gamma}_{0,j} + {\mathbf{X}}_{j} \boldsymbol{\gamma}_{j} + {\mathbf{Z}}_{j} {\mathbf{b}}_{j}+\boldsymbol{\epsilon}_{j}, \end{aligned} $$
(1)

where y j is a n × 1 vector of responses, X j is a n × p matrix of the regressor variables associated with the fixed effects, γ j is a p × 1 parameter vector of coefficients for the fixed effects, Z j is a n × q matrix of predictors associated with random effects, b j ∼ MN(0, D) is a q × 1 vector of random effect coefficients, MN(0, D) denotes a multivariate normal distribution with zero mean vector 0 and positive definite variance-covariance matrix D, 𝜖 j ∼ MN(0, R j) is a n × 1 vector of errors, and MN(0, R j) is a multivariate normal distribution with zero mean vector 0 and positive definite variance-covariance matrix R j for j = 1, 2, ⋯ , m. If the errors are assumed to be independent, then R j = σ 2 I where I is the identity matrix. If the errors are correlated, R j is often assumed as a simple form such as the autoregressive (AR) model in order to reduce the number of covariance parameters needed to be estimated. When Eq. (1) is reduced to the model that has only one fixed effect regressor variable and no random effect terms, the profile model is called a simple linear profile (SLP) model. The currently developed SPC on SLP models have been focused on the same levels of fixed effect regressor for all the profiles. Therefore, the SLP model can be defined as

$$\displaystyle \begin{aligned} y_{i,j}=\gamma_{0} + x_{i} \gamma_{1} + \epsilon_{i,j}, \end{aligned} $$
(2)

where y i,j is the response in the j-th profile at the i-th level of predictor, x i, γ 0 is the intercept, γ 1 is the model parameter for the predictor and 𝜖 i,j are N(0, σ 2) distributed for i = 1, 2, ⋯ , n and j = 1, 2, ⋯ , m. SPC methods that involve monitoring a SLP process have drawn considerable attention over the past two decades because a SLP model is easy to handle and can be applied to many production processes. Process monitoring using control charts is a two-stage process, which has Phase I and Phase II. Phase I is to evaluate the stability of the process and estimate the in-control values of the process parameters, and Phase II is to monitor the future online data obtained after Phase I and detect shifts in the process parameters. In phase I, it is important to confirm the process stability under a given false alarm rate, i.e., a type-I error probability. In Phase II, the emphasis is on detecting process change as soon as possible. Both stages are usually measured by parameters, mean and standard deviation, of the run length distribution, where run length is the number of samples taken before an out-of-control signal is occurred. Therefore, the average run length (ARL 1) when the process out-of-control during the Phase II monitoring is often used to compare the performance of competing control chart methods under a given average run length ARL 0 for in-control Phase I. Numerous studies have been conducted on the use of profile monitoring methods, for example, Mestek et al. [11], Stover and Brill [17], Kang and Albin [7], Kim et al. [8], and Mahmoud et al. [10] studied some Phase I monitoring methods for SLP processes in order to set and evaluate the stability of a process and to estimate process parameters. Kang and Albin [7], Kim et al. [8], Noorossana [13], Gupta et al. [5], Zou et al. [19], and Saghaei et al. [14] studied Phase II monitoring methods for SLP processes to detect shifts in the process parameters as soon as possible. Woodall et al. [18] reviewed the research papers related to SPC using profiles, provided examples of profile monitoring methods, identified some weaknesses in existing methods and proposed some new research directions. All the aforementioned studies have assumed that all the m profile models have the same n values of one fixed effect regressor variable, and the error terms in the models are independent and follow a normal distribution. When the error terms are not independent, Noorossana et al. [12] studied a SLP model with error terms that have a first-order autocorrelation structure between profiles and showed the impact on the ARL performance of the T 2 control chart proposed by Kang and Albin [7]. In Noorossana et al. [12], three methods based on exponentially weighted moving average/range (EWMA/R) and T 2 [7] and EWMA-3 [8] were provided to eliminate the effect of autocorrelation between profiles and the ARL. When the response variables are produced at set of points over time, the response of a profile are very often autocorrelated. In this case, Soleimani et al. [16] considered a SLP model with error terms that follow a first-order autoregressive model (AR(1)) within profile and suggested the use of Hotelling T 2 control charts and EWMA-type control charts, namely EWMA-3 charts, for monitoring SLP processes in the presence of within-profile autocorrelation. These charts are simple to detect process shifts in SLP processes. The simulation results in Soleimani et al. [16] showed that among many competitive methods, EWMA-type control charts are the most effective in detecting shifts in the intercept or slope of a SLP model. Three EWMA control charts are obtained for EWMA-3 charts by re-parameterizing the SLP model in terms of its intercept and slope. The intercept of the transformed SLP model being monitored is a linear combination of the intercept and slope in the original SLP model. The EWMA-3 charts of Soleimani et al. [16] are less sensitive if the original intercept and slope shift simultaneously in opposite directions. Chiang et al. [3] investigated an operational and effective Phase II monitoring method for a SLP model with error terms follow an AR(1) within-profile. In Chiang et al. [3], a new multivariate MEWMA control chart, namely MEWMA-SLP chart, was developed on the basis of the design of Lowry et al. [9] for quickly detecting process shifts associated with the original intercept or slope in the presence of within-profile autocorrelation.

In this chapter, we survey the work of SLP model with AR(1) autocorrelation for the error terms. The rest of this chapter is organized as follows. A SLP model with between-profile autocorrelation and EWMA-3 charts are reviewed in Sect. 2. In Sect. 3, a SLP model with within-profile autocorrelation is introduced along with the Hotelling T 2, EWMA-3 and MEWMA-SLP control charts for this SLP model. In Sect. 4, we present the construction of the two process capability indices studied by Chiang et al. [3]. In Sect. 5, Monte Carlo simulations are conducted to explore the performance of the MEWMA-SLP chart are discussed, and the applications of the proposed process capability indices are illustrated. Finally, conclusions are provided in Sect. 6.

2 SLP Model with Between-Profile Autocorrelated Error Terms

When the error terms in a SLP model satisfy the following autocorrelation structure

$$\displaystyle \begin{aligned} \epsilon_{i,j}=\rho \epsilon_{i,j-1} + a_{i,j}, ~i=1,2,\cdots,n, ~j=1,2,\cdots,m, \end{aligned} $$
(3)

where a i,j, i = 1, 2, ⋯ , n, j = 1, 2, ⋯ , m are independent and identically distributed normal random variables with mean 0 and variance σ 2 and the random error terms 𝜖 i,j for i = 1, 2, ⋯ , n within the j-th profile are independent, then the SLP model is a SLP model with between-profile autocorrelation [12]. Based on the autocorrelation structure between errors defined in Eq. (3), Noorossana et al. [12] provided the following autocorrelation structure between two different profiles at the same level of x i:

$$\displaystyle \begin{aligned} y_{i,j} - (\gamma_{0} + x_{i} \gamma_{1}) = \rho ( y_{i,j-1} - (\gamma_{0} + x_{i} \gamma_{1})) + a_{i,j}, \end{aligned} $$
(4)

and the prediction equation, \(\hat {y}_{i,j}= \rho y_{i,j-1} + (1- \rho )(\gamma _{0} + x_{i} \gamma _{1})\). Although there exists an AR(1) structure between errors corresponding to each level of predictor in different profiles in Eq. (4), Noorossana et al. [12] showed that the residual \(e_{i,j}= y_{i,j} - \hat {y}_{i,j}\) equates to a i,j, for i = 1, 2, ⋯ , n and j = 1, 2, ⋯ , m and the residuals are independent random variables with the expected value E(e i,j) = 0 and variance var(e i,j) = σ 2. Hence, e i,j can be monitored using traditional control charts. Noorossana et al. [12] proposed three methods to monitor the residuals e i,j for i = 1, 2, ⋯ , n and j = 1, 2, ⋯ , m. Let \(\bar {e}_{j}=\sum _{i=1}^{n} e_{i,j}/n\) for the j-th profile. The three methods are reviewed as follows. When the model parameters are unknown, the corresponding maximum likelihood estimates can be used to replace the values of the model parameters to establish the control charts.

Method 1: EWMA Chart Combining with R-Chart for Monitoring the Error Variance

The first method is EWMA in combining with R-chart, which is the same as the control charts used by Kang and Albin [7]. The EWMA chart procedure is constructed as follows:

Step 1::

Define the EWMA sequence using residuals, e i,j for i = 1, 2, ⋯ , n and j = 1, 2, ⋯ , m, as \(z_{j} = \theta \bar {e}_{j} +(1-\theta ) z_{j-1}\) with 0 < θ < 1 as a smoothing constant and z 0 = 0

Step 2::

Define the lower control limit (LCL) and the upper control limit (UCL) for EWMA chart as \(LCL_{EWMA} = -L \sigma \sqrt {\frac {\theta }{(2-\theta ) n}}\) and \(UCL_{EWMA} = L \sigma \sqrt {\frac {\theta }{(2-\theta ) n}}\), where L is a positive constant selected to give a specified in-control ARL, ARL 0.

The R-chart to detect shifts in the process variance is constructed as follows:

Step 1::

Define the R sequence as R j = max i(e i,j) − min i(e i,j) for the j-th profile.

Step 2::

Define the lower control limit (LCL) and the upper control limit (UCL) for the R chart as LCL R = σ(d 2 − Ld 3) and UCL R = σ(d 2 + Ld 3), where L is a positive constant chosen to give a specified in-control ARL 0 and the values of d 2 and d 3 are constants depending on the sample size n.

Method 2: Modified Hotelling T 2 Control Chart

The second method proposed by Noorossana et al. [12] is a modified Hotelling T 2 control chart studied by Kang and Albin [7]. The modified Hotelling T 2 control chart is described as follows:

Step 1::

Define \(T_{j}^{2} = ({\mathbf {e}}_{j} - \mathbf {0}) \varSigma ^{-1} ({\mathbf {e}}_{j} - \mathbf {0})^{T}\) where e j = (e 1,j, e 2,j, ⋯ , e n,j), 0 is a n × 1 zero vector, Σ = σ 2 I and I is a n × n identity matrix.

Step 2::

Define the upper control limit as \(UCL_{T} = \chi _{n,\alpha }^{2}\), which is the 100(1 − α) percentile of the chi-square distribution with n degree of freedom.

Method 3: Modified EWMA-3

The third method proposed by Noorossana et al. [12] is a modified EWMA-3 studied by Kim et al. [8] which was designed to deal with the autocorrelation between profiles. Noorossana et al. [12] proposed the scaling of the x-variable such that the average x-value is zero and the transformed SLP model of Eq. (2) with autocorrelation in Eq. (3) is

$$\displaystyle \begin{aligned} y_{i,j}= b_{0} + x_{i}^{*} b_{1} + \epsilon_{i,j}, \epsilon_{i,j}=\rho \epsilon_{i,j-1} + a_{i,j},~i=1,2,\cdots,n,~j=1,2,\cdots,m, \end{aligned} $$
(5)

where \(x_{i}^{*}=(x_{i} - \bar {x})\), \(b_{0} = \gamma _{0} + \gamma _{1} \bar {x}\) and \(\bar {x}=\sum _{i=1}^{n} x_{i}/n\). Noorossana et al. [12] showed that the AR(1) structure between observations can be transformed into the intercept and the slope estimators in the successive profiles. Let \(\hat {b}_{0,j}\) be the least squared estimate for b 0 and \(\hat {b}_{1,j}\) be the least squared estimate for b 1 using the sample from the j-th profile. Noorossana et al. [12] calculated the residual for the intercept as \(e_{0}(j) = \hat {b}_{0,j} - \rho \hat {b}_{0,j-1} - (1 - \rho ) b_{0}\), the residual for the slope as \(e_{1}(j) = \hat {b}_{1,j} - \rho \hat {b}_{1,j-1} - (1 - \rho ) b_{1}\), and the residual as \(e_{i,j} = y_{i,j} - \hat {y}_{i,j} = y_{i,j} - \rho y_{i,j-1} - (1 - \rho )(b_{0} + b_{1} x_{i}^{*})\), then the mean squared error (MSE) is defined as \(MSE_{j} = \sum _{i=1}^{n} e_{i,j}^{2}/n\) for the j-th profile. The process of EWMA-3 that contains three control charts is described as follows:

Step 1::

EWMA-3 for monitoring the intercept b 0 is established as follows:

  1. 1.1

    Define EWMA 0(j) = θe 0(j) + (1 − θ)EWMA 0(j − 1), where 0 < θ ≤ 1 is a smoothing constant and EWMA 0(0) = 0.

  2. 1.2

    Define the lower control limit (LCL) and upper control limit (UCL) respectively as \(LCL_1 = - L_{0} \sigma \sqrt {\theta /[(2-\theta )n]}\) and \(UCL_1 = L_{0} \sigma \sqrt {\theta /[(2-\theta )n]}\), where L 0 > 0 is chosen to give a specified in-control ARL 0.

Step 2::

EWMA-3 for monitoring the slop b 1 is established as follows:

  1. 2.1

    Define EWMA 1(j) = θe 1(j) + (1 − θ)EWMA 1(j − 1), where 0 < θ ≤ 1 is a smoothing constant and EWMA 1(0) = 0.

  2. 2.2

    Define the lower control limit (LCL) and upper control limit (UCL) respectively as \(LCL_2 = - L_{1} \sigma \sqrt {\theta /[(2-\theta )\sum _{i=1}^{n} x_{i}^{*2}]}\) and \(UCL_2 = L_{1} \sigma \sqrt {\theta /[(2-\theta )\sum _{i=1}^{n} x_{i}^{*2}]}\), where L 1 > 0 is chosen to give a specified in-control ARL 0.

Step 3::

EWMA-3 for monitoring the error variance is established as follows:

  1. 3.1

    Define \(EWMA_{E}(j) = \max \{\theta (MSE_{j} - 1) +(1 - \theta ) EWMA_{E}(j-1),0 \}\) with 0 < θ ≤ 1 as a smoothing constant and EWMA E(0) = 0

  2. 3.2

    Define the upper control limit as \(UCL_3 = L_{E} \sqrt {\theta Var(MSE_{j})/(2-\theta )}\) where \(Var(MSE_{j}) = Var(\sum _{i=1}^{n} e_{i,j}^{2}/n) = 2 \sigma ^{4}/n\) and L E > 0 is chosen to give a specified in-control ARL 0.

3 SLP Model with Within-Profile Autocorrelated Error Terms

When the error terms in a SLP model satisfy the following autocorrelation structure

$$\displaystyle \begin{aligned} \epsilon_{i,j}=\rho \epsilon_{i-1,j} + a_{i,j},~i=1,2,\cdots,n,~j=1,2,\cdots,m, \end{aligned} $$
(6)

where a i,j, i = 1, 2, ⋯ , n, j = 1, 2, ⋯ , m are independent and identically distributed normal random variables with mean 0 and variance σ 2 and the random error terms 𝜖 i,j for j = 1, 2, ⋯ , m between any two different profiles are independent, then the SLP model is a SLP model with within-profile autocorrelation. Let \(y_{i,j}^\prime = y_{i,j}-\rho y_{i-1,j}\), then the model based on Eqs. (2) and (6) can be expressed as

$$\displaystyle \begin{aligned} y_{i,j}^\prime=\gamma_0^\prime+\gamma_1^\prime x_i^\prime + a_{i,j},~i=2,3,\cdots,n,~j=1,2,\cdots,m, \end{aligned} $$
(7)

where \(\gamma _0^\prime = \gamma _0 (1-\rho )\), \(\gamma _1^\prime = \gamma _1\), and \(x_i^\prime = x_i-\rho x_{i-1}\). If the model parameters are unknown, they are replaced with their corresponding maximum likelihood estimates. In the Phase II monitoring, the model parameters γ 0, γ 1, σ 2, and ρ are treated as known constants. We define the residuals for the j-th profile as \(e_{i,j} = y_{i,j}^{\prime } - \gamma _{0}^{\prime } - \gamma _{1}^{\prime } x_{i}^{\prime }\), i = 1, 2, ⋯ , n. Following the approach proposed by Kang and Albin [7] for monitoring independent SLP processes, Soleimani et al. [16] proposed the four control charts, T 2 method, T 2 based on the residuals, EWMA/R and EWMA-3, based on the residuals from the transformed model in Eq. (7) to monitor SLP processes with within-profile autocorrelation. The first two Hotelling T 2 charts are stated as follows:

Hotelling T 2 Method for the Transformed Model

Step 1::

Let \(\hat {\gamma }_{0,j}^{\prime }\) and \(\hat {\gamma }_{1,j}^{\prime }\) be the respective estimators of \(\gamma _{0}^{\prime }\) and \(\gamma _{1}^{\prime }\) based on the jth profile sample.

Step 2::

Define \(T_{j}^{2} = [\hat {\gamma }_{0,j}^{\prime }, \hat {\gamma }_{1,j}^{\prime }] - [\gamma _{0,j}^{\prime }, \gamma _{1,j}^{\prime }]^{T} S^{-1} [\hat {\gamma }_{0,j}^{\prime }, \hat {\gamma }_{1,j}^{\prime }] - [\gamma _{0,j}^{\prime }, \gamma _{1,j}^{\prime }]\), where

$$\displaystyle \begin{aligned} \begin{array}{rcl} S=\left[ \begin{array}{cc} \sigma^{2}(1/(n-1)+\bar{x}^{\prime 2}/s_{x^{\prime} x^{\prime}}) &\displaystyle -\sigma_{2} \bar{x}^{\prime}/s_{x^{\prime} x^{\prime}} \\ -\sigma_{2} \bar{x}^{\prime}/s_{x^{\prime} x^{\prime}} &\displaystyle \sigma_{2}/s_{x^{\prime} x^{\prime}} \end{array} \right]. \end{array} \end{aligned} $$
Step 3::

Under in-control process, T 2 has a central chi-square distribution of two degree freedom. Therefore, the upper control limit (UCL) for the chart is \(UCL = \chi ^{2}_{2,\alpha }\), where \(\chi ^{2}_{2,\alpha }\) is the 100(1 − α)-th percentile of the chi-square distribution with two degree of freedom.

Hotelling T 2 Method Based on the Residuals from the Transformed Model

Step 1::

Define \(T_{j}^{2} = ({\mathbf {e}}_{j} -\mathbf {0}) \varSigma ^{-1} ({\mathbf {e}}_{j} - \mathbf {0})^{T}\) where e j = (e 1,j, e 2,j, ⋯ , e n,j), 0 is a n × 1 vector of zeros, Σ = σ 2 I and I is a n × n identity matrix.

Step 2::

Define upper control limit as \(UCL = \chi _{n-1,\alpha }^{2}\), which is the 100(1 − α)-th percentile of the chi-square distribution with n − 1 degree of freedom.

The EWMA-3 charts for the intercept, slope, and the variance of error terms [16] can be respectively constructed using the following three charting processes:

Control Chart 1: EWMA-3 Chart for Monitoring the Intercept

The first EWMA-3 chart, namely the EWMA-3I chart, is constructed using the following steps:

Step 1::

Let \(B_0=\gamma _0^\prime +\gamma _1^\prime \bar {x}^\prime \), \(B_1=\gamma _1^\prime \), \(x_i^{\prime \prime }=(x_i^\prime -\bar {x}^\prime )\), and express the model in Eq. (7) as

$$\displaystyle \begin{aligned} y_{i,j}^\prime=B_0+B_1 x_i^{\prime\prime}+a_{i,j},~i = 1, 2, \cdots, n,~j=1, 2, \cdots, m. \end{aligned} $$
(8)
Step 2::

Derive the EWMA sequence of the B 0 estimates from the equation

$$\displaystyle \begin{aligned} \omega_I (j)=\theta b_{0,j}+(1-\theta) \omega_I (j-1),~j=1,2,\cdots,m, \end{aligned}$$

where b 0,j is the least squares estimate obtained based on the observations in the j-th subgroup. Furthermore, ω I(0) = B 0, and θ (0 < θ ≤ 1) is a smoothing constant. The control limits can be represented as

$$\displaystyle \begin{aligned} LCL_I=B_0-L_I \sigma\sqrt{\frac{\theta}{(2-\theta)(n-1)} } \end{aligned}$$

and

$$\displaystyle \begin{aligned} UCL_I=B_0+L_I \sigma\sqrt{\frac{\theta}{(2-\theta)(n-1)} }, \end{aligned}$$

where L I(> 0) is a control chart parameter.

Control Chart 2: EWMA-3 Chart for Monitoring the Slope

The second EWMA-3 chart, namely the EWMA-3S chart, is constructed using the following steps:

Step 1::

On the basis of the transformations of B 0, B 1, and \(x_i^{\prime \prime }\) in Eq. (8), the EWMA sequence of the B 1 estimates can be derived through

$$\displaystyle \begin{aligned} \omega_S (j)=\theta b_{1,j}+(1-\theta) \omega_S (j-1),~j=1,2,\cdots,m, \end{aligned}$$

where ω S(0) = B 1, and b 1,j is the least squares estimate obtained based on the observations in the j-th subgroup.

Step 2::

The control limits can be obtained as

$$\displaystyle \begin{aligned} LCL_S=B_1-L_S \sigma\sqrt{\frac{\theta}{(2-\theta)S_{xx}}} \end{aligned}$$

and

$$\displaystyle \begin{aligned} UCL_S=B_1+L_S \sigma\sqrt{\frac{\theta}{(2-\theta)S_{xx}}}, \end{aligned}$$

where \(S_{xx}=\sum _{i=2}^n x_i^{\prime \prime 2}\) and L S(> 0) is a control chart parameter.

Control Chart 3: EWMA-3 Chart for Monitoring the Error Variance

The third chart, namely the EWMA-3e chart, is constructed using the following steps:

Step 1::

Evaluate the MSE for each profile as

$$\displaystyle \begin{aligned} \begin{array}{rcl} MSE_{j}=\frac{\sum_{i=2}^n e_{i,j}^2} {n-1},~j=1,2,\cdots,m. \end{array} \end{aligned} $$
Step 2::

The EWMA sequence of MSE j can be derived through

$$\displaystyle \begin{aligned} \omega_E (j) = \max\{\theta(MSE_j-1)+(1-\theta) \omega_E (j-1),0\},~j = 1,2,\cdots, m, \end{aligned}$$

where ω E(0) = 0. The upper control limit can be obtained as

$$\displaystyle \begin{aligned} UCL = L_E \sqrt{\frac{\theta Var(MSE_j)}{2-\theta}}, \end{aligned}$$

where

$$\displaystyle \begin{aligned} \begin{array}{rcl} Var(MSE_j)=\frac{2\sigma^4}{n-1} \end{array} \end{aligned} $$

and L E(> 0) is a control chart parameter.

The control chart parameters L I, L S, and L E in the three EWMA-3 charts can be determined numerically such that a specified in-control average run length ARL 0 is reached.

3.1 MEWMA-SLP Chart

For the SLP model defined in Eqs. (2) and (6), the variance-covariance matrix of the error terms can be represented as σ 2 Ψ, where

$$\displaystyle \begin{aligned} \begin{array}{rcl} \varPsi = \frac{1}{1-\rho^2} [\psi_{i,j}], \end{array} \end{aligned} $$
(9)

ψ k,l = 1 for k = l, and ψ k,l = ρ (lk) for k < l. For each subgroup of size n, the SLP model in Eqs. (2) and (6) can be represented by Y = X γ + 𝜖, where Y T = (y 1, y 2, ⋯ , y n), X = (1, x), 1 is a n × 1 vector with entries 1, x T = (x 1, x 2, ⋯ , x n), γ T = (γ 0, γ 1), and 𝜖 T = (𝜖 1, 𝜖 2, ⋯ , 𝜖 n). Because of Ψ is a positive definite matrix, the linear model can be expressed as Y  = X γ + 𝜖 , where Y  = Ψ −1∕2 Y, X  = Ψ −1∕2 X and 𝜖  = Ψ −1∕2 𝜖. Chiang et al. [3] mentioned that E(𝜖 ) = 0 and Cov(𝜖 ) = σ 2 I, where 0 is an order n column vector with entries 0 and I is an order n identity matrix. The generalized least squares (GLS) estimator of the model parameters γ 0 and γ 1, \(\boldsymbol {\gamma }^T_G=(\hat {\gamma }_{G0}, \hat {\gamma }_{G1})\), of γ T, can be obtained as

$$\displaystyle \begin{aligned} \hat{\boldsymbol{\gamma}}_G=({\mathbf{X}}_{*}^{T} {\mathbf{X}}_*)^{-1} {\mathbf{X}}_*^T \mathbf{Y}=({\mathbf{X}}^T \varPsi^{-1} \mathbf{X})^{-1} {\mathbf{X}}^T \varPsi^{-1} \mathbf{Y}. \end{aligned} $$
(10)

Chiang et al. [3] constructed the MEWMA-SLP chart based on the design of Lowry et al. [9] using the GLS estimates obtained from the Phase I samples of SLP process. The control chart procedure can be described as follows:

MEWMA-SLP Chart

Step 1::

Obtain the GLS estimates \(\hat {\boldsymbol {\gamma }}_{G,j}\) for j = 1, 2, ⋯ , m using Eq. (10) and the Phase I samples of SLP process.

Step 2::

Compute \(\bar {\hat {\boldsymbol {\gamma }}}_G=\sum _{j=1}^m \hat {\boldsymbol {\gamma }}_{G,j}/m=(\bar {\hat {\gamma }}_{G0},\bar {\hat {\gamma }}_{G1})^T\). Let S 0 and S 1 denote the sample standard deviation of \(\hat {\gamma }_{G0,j}\) and \(\hat {\gamma }_{G1,j}\), j = 1, 2, ⋯ , m, respectively, and let U j be the rescaled vector of \(\hat {\boldsymbol {\gamma }}_{G,j}\) for j = 1, 2, ⋯ , m, where the rescaling involves the use of \(\bar {\hat {\boldsymbol {\gamma }}}_G\), S 0, and S 1. The sample variance-covariance matrix of U j’s, denoted by S U, can be obtained as

$$\displaystyle \begin{aligned} \mathbf{S_U} = \frac{1}{m-1} \sum_{j=1}^m ({\mathbf{U}}_j-\bar{\mathbf{U}})({\mathbf{U}}_j-\bar{\mathbf{U}})^T, \end{aligned}$$

where \(\bar {\mathbf {U}}\) is the sample mean of U j, j = 1, 2, ⋯ , m.

Step 3::

Derive the chart parameters κ (0 < κ ≤ 1), and UCL(= H) from the values suggested by Lowry et al. [9] for an in-control ARL 0 = 200. Useful parameter combinations are outlined as (κ, H) = (0.2, 9.65), (0.4, 10.29), (0.6, 10.53) and (0.8, 10.58). Other chart parameters can be obtained from the study of Lowry et al. [9] or through Monte Carlo simulations.

Step 4::

Compute the EWMA series of U j from

$$\displaystyle \begin{aligned} \begin{array}{rcl} {\mathbf{Z}}_j=\kappa {\mathbf{U}}_j+(1-\kappa) {\mathbf{Z}}_{j-1},~ j = 1, 2, \cdots, m, \end{array} \end{aligned} $$

and the test statistics from

$$\displaystyle \begin{aligned} T_i^2={\mathbf{Z}}_i^T {\mathbf{S}}_{{\mathbf{Z}}_i}^{-1} {\mathbf{Z}}_i,~ j = 1, 2, \cdots, m, \end{aligned}$$

where

$$\displaystyle \begin{aligned} \begin{array}{rcl} {\mathbf{S}}_{{\mathbf{Z}}_j} = \frac{\kappa}{2-\kappa}[1-(1-\kappa)^{2 j}]\mathbf{S_U}\rightarrow \frac{\kappa}{2-\kappa} \mathbf{S_U}~ \mathrm{as}~ j ~{\text{goes to}}~ \infty. \end{array} \end{aligned} $$

4 Process Capability Indices

The process capability indices C P and C PK are widely used to evaluate the capability of a univariate process. These indices are defined as C P = (U − L)∕6σ and \(C_{PK}=\min \{U-\mu ,\mu -L\}/3\sigma \), where L and U are the lower and upper specification limits of the univariate process characteristic quality and μ and σ are the mean and standard deviation of the process, respectively. For two-dimensional processes, C P and C PK are denoted by BC P and BC PK, respectively. The evaluations of BC P and BC PK for SLP processes are described as follows.

Let \(\hat {\boldsymbol {\gamma }}_{G,j}\), j = 1, 2, ⋯ , m be the GLS estimators of the of the model parameters γ = (γ 0, γ 1) obtained by using the j-th in-control subgroups of the SLP process and the specification limits of γ 0 and γ 1 be labeled as \((L^\prime _1, U^\prime _1)\) and \((L^\prime _2, U^\prime _2)\), respectively. Chiang et al. [3] improved the method proposed by Castagliola and Garcia Castellanos [2] through the following two steps:

Step 1::

Let U j be the bivariate vectors defined in the Step 2 of MEWMA-SLP, and let \(L_1=(L_1^\prime -\bar {\hat {\gamma }}_{G0})/S_1\), \(U_1=(U_1^\prime -\bar {\hat {\gamma }}_{G0})/S_1\), \(L_2=(L_2^\prime -\bar {\hat {\gamma }}_{G1})/S_2\), and \(U_2=(U_2^\prime -\bar {\hat {\gamma }}_{G1})/S_2\). Derive the bivariate process capability indices from U j, j = 1, 2, ⋯ , m, L 1, U 1, L 2, and U 2.

Step 2::

Use an orthogonal decomposition method to obtain the variance-covariance matrix of U j, j = 1, 2, ⋯ , m. The variance-covariance matrix is given by

$$\displaystyle \begin{aligned} \mathbf{S_U=R}\varLambda {\mathbf{R}}^T, \end{aligned} $$
(11)

where Λ is a diagonal matrix of rank two with eigenvalues λ 1 < λ 2 of S U as the diagonal elements. Furthermore, \(\mathbf {R}=[{\mathbf {r}}_1^T,{\mathbf {r}}_2^T]\), where \({\mathbf {r}}_1^T=(r_{1,1}, r_{2,1})\) and \({\mathbf {r}}_2^T=(r_{1,2},r_{2,2})\) are the eigenvectors corresponding to λ 1 and λ 2, respectively.

Let D 1 and D 2 be two lines passing through the point \(G(\hat {\gamma }_{G0}, \hat {\gamma }_{G1})\) in the directions of the eigenvectors r 1 and r 2, respectively. The lines D 1 and D 2 split the \((\hat {\gamma }_{G0}, \hat {\gamma }_{G1})\)-plane into four disjoint areas, which are denoted by A 1, A 2, A 3, and A 4 (see, Fig. 1). Because of \(\hat {\boldsymbol {\gamma }}_G\) follows a bivariate normal (BVN) distribution which is symmetric about its mean β, we can show that \(P(\hat {\boldsymbol {\gamma }}_G\in A_i)=1/4\), i = 1, 2, 3, and 4. Let

$$\displaystyle \begin{aligned} A=\{(\hat{\gamma}_{G0}, \hat{\gamma}_{G1})|L_1\leq \hat{\gamma}_{G0}\leq U_1,~ L_2\leq \hat{\gamma}_{G1}\leq U_2 \}=Q_1\cup Q_2\cup Q_3\cup Q_4, \end{aligned}$$

where Q i = A ∩ A i for i = 1, 2, 3, and 4. Let \(q=P(\hat {\boldsymbol {\gamma }}_G\in A)\) and p = 1 − q, where p is the proportion of non-conformity. Furthermore, let \(q_i=P(\hat {\boldsymbol {\gamma }}_G\in Q_i)\) and \(p_i=P(\hat {\boldsymbol {\gamma }}_G \in A_i)-q_i=1/4-q_i\) for i = 1, 2, 3, and 4. Hence, q = q 1 + q 2 + q 3 + q 4 and p = p 1 + p 2 + p 3 + p 4 (Fig. 2). When the means of \(\hat {\gamma }_{G0}\) and \(\hat {\gamma }_{G1}\) are considered as the midpoints of their respective specification limits, then p 1 = p 2 = p 3 = p 4 = p∕4 and q 1 = q 2 = q 3 = q 4 = q∕4. According to the method presented in [2], the process capability indices for the GLS estimator \(\hat {\boldsymbol {\gamma }}_{G}\) can be defined as

$$\displaystyle \begin{aligned} BC_P=-\frac{1}{3} \varPhi^{-1} (p/2) \end{aligned}$$

and

$$\displaystyle \begin{aligned} BC_{PK}=\min\{-\varPhi^{-1} (2p_1 ),-\varPhi^{-1} (2p_2 ),-\varPhi^{-1} (2p_3 ),-\varPhi^{-1} (2p_4)\}, \end{aligned}$$

where Φ(⋅) is the cumulative distribution function of the standard normal distribution. Chiang et al. [3] suggested that the probabilities p i and q i, i = 1, 2, 3, and 4, can be obtained using the R packages mvtnorm:pmvnorm [4] and pracma:triquad [1] and they proposed the following two algorithms to obtain BC P and BC PK.

Fig. 1
figure 1

The lines D 1 and D 2, and polygons Q i for i = 1, 2, 3, 4

Fig. 2
figure 2

The probabilities of p i and q i for i = 1, 2, 3, 4

Algorithm A: Evaluation of BC PK

Step 1::

Obtain U j, L 1, U 1, L 2, and U 2, then evaluate the sample variance-covariance matrix S U from U j, j = 1, 2, ⋯ , m.

Step 2::

Find the diagonal matrix Λ of eigenvalues and the matrix of eigenvectors R from the orthogonal decomposition S U = R Λ R T.

Step 3::

Let c 1, c 2, ⋯ , c be the vertices of the polygon Q i, then obtain the transformed vertices of Q i through \({\mathbf {c}}_l^\prime =\mathbf {R}\varLambda ^{-1/2} {\mathbf {R}}^T {\mathbf {c}}_l\) for l = 1, 2, ⋯ , .

Step 4::

Determine the probabilities \(\hat {q}_i\) and p i(= 1∕4 − q i) for i = 1, 2, 3, and 4.

Step 5::

Estimate BC PK as

$$\displaystyle \begin{aligned} \hat{BC}_{PK}=\frac{1}{3} \min\{-\varPhi^{-1} (2\hat{p}_1), -\varPhi^{-1} (2\hat{p}_2), -\varPhi^{-1} (2\hat{p}_3), -\varPhi^{-1} (2\hat{p}_4)\}. \end{aligned}$$

Algorithm B: Evaluation of BC P

Step 1::

Let \(\hat {\boldsymbol {\gamma }}_{G,j}\) for j = 1, 2, ⋯ , m follow a BVN(μ B, S γ) distribution with mean \(\boldsymbol {\mu }_B=((L_1^\prime +U_1^\prime )/2, (L_2^\prime +U_2^\prime )/2)\) and variance-covariance matrix

$$\displaystyle \begin{aligned} \begin{array}{rcl} {\mathbf{S}}_{\boldsymbol{\gamma}}=\frac{1}{m-1} \sum_{j=1}^m (\hat{\boldsymbol{\gamma}}_{G,j}-\boldsymbol{\mu}_B)(\hat{\boldsymbol{\gamma}}_{G,j}-\boldsymbol{\mu}_B)^T, \end{array} \end{aligned} $$

and denote the probability density function of BVN(μ B, S γ) distribution as \(f(\hat {\gamma }_0,\hat {\gamma }_1)\).

Step 2::

Evaluate the probability

$$\displaystyle \begin{aligned} \begin{array}{rcl} \hat{q}=\int_{L_1^\prime}^{U_1^\prime}\int_{L_2^\prime}^{U_2^\prime} f(t_1,t_2 ) dt_1 dt_2, \end{array} \end{aligned} $$

and \(\hat {p}=1-\hat {q}\).

Step 3::

Estimate BC P as

$$\displaystyle \begin{aligned} \hat{BC}_P=-\frac{1}{3} \varPhi^{-1} (\hat{p}/2). \end{aligned}$$

5 Monte Carlo Simulation Study and Numerical Example

5.1 Monte Carlo Simulation Study

To evaluate the performance of the MEWMA-SLP chart, Chiang et al. [3] used the model settings as described in [15]. Let γ 0 = 3 and γ 1 = 2 for the models in Eqs. (2) and (6). The points set for Eq. (2) are x i = 2, 4, 6, and 8. Because Soleimani et al. [16] revealed that the EWMA-3 charts outperform other competitive methods, we only compare the performance of the EWMA-3 charts with the MEWMA-SLP chart.

The EWMA-3 charts use EWMA-3I, EWMA-3S and EWMA-3e charts to simultaneously monitor the intercept, slope, and error variance of a SLP model. The overall false alarm rate of EWMA-3 charts can be determined as

$$\displaystyle \begin{aligned} \begin{array}{rcl} \alpha_{EWMA} =1-(1-\alpha^\prime_1)(1-\alpha^\prime_2)(1-\alpha^\prime_3), \end{array} \end{aligned} $$

where \(\alpha ^\prime _1\), \(\alpha ^\prime _2\) and \(\alpha ^\prime _3\) are the false alarm rates for EWMA-3I, EWMA-3S and EWMA-3e, respectively. Chiang et al. [3] used the MEWMA-SLP chart and the EWMA-3e chart simultaneously to monitor the intercept, slope, and error variance of a SLP model. The overall false alarm rate of can be obtained as

$$\displaystyle \begin{aligned} \begin{array}{rcl} \alpha_{MEWMA} =1-(1-\alpha_1)(1-\alpha_2), \end{array} \end{aligned} $$

where α 1 and α 2 are the false alarm rates of the MEWMA-SLP and EWMA-3e charts, respectively. Because the EWMA-3e chart is used to monitor the error variance for both approaches, the performance of the EWMA-3e chart is omitted in the comparison. Specifically, the error variance was assumed to be in a statistical control state in the simulation study. Hence, Chiang et al. [3] only compared the performance of monitoring SLP process based on the EWMA-3I and EWMA-3S charts with the performance of monitoring SLP process based on the MEWMA-SLP chart.

In the simulation study, the correlation coefficient between the adjacent error terms, ρ, is set to be 0.1, 0.7 or 0.9, and the overall ARL 0 is set to be 200 (i.e., the overall false alarm rate α = 0.005). Without loss of generality, let \(\alpha _1^\prime =\alpha _2^\prime =1-\sqrt {1-\alpha } \cong 0.0025\) for the EWMA-3I and EWMA-3S charts, and let α 1 = α 2 = 0.005 for the MEWMA-SLP chart. The chart parameters of the MEWMA-SLP chart are set as κ = 0.2 and H = 9.65.

In Phase I monitoring for the model parameter, estimation of the parameters is involved in using the EWMA-3I and EWMA-3S charts and 10,000 in-control SLP processes were prepared. A simulation with 10,000 iterations was conducted to obtain the chart parameters, which are L I = 2.889 and L S = 2.895, for using the EWMA-3I and EWMA-3S simultaneously to achieve an approximated overall ARL 0 of 200. The EWMA-3 charts and the MEWMA-SLP chart were constructed in Phase I. The out-of-control average run length, denoted by ARL 1, was evaluated for different parameter shifts in the Phase II monitoring.

Two scenarios were considered for the parameter shift. Scenario I (SI) was set to be same as the simulation setting of Soleimani et al. [16]. In SI, the shift in either the intercept or the slope of a SLP model was considered, and the other parameter kept unchanged. In scenario II (SII), the shifts in both the intercept and the slope of a SLP model were considered simultaneously. Assume that the intercept shifts from γ 0 to \(\gamma _0^\prime =\gamma _0+\lambda \sigma \) and the slope shifts from γ 1 to \(\gamma _1^\prime =\gamma _1+\beta \sigma \) when an assignable cause is introduced. Here, λ and β are two constants. The parameter combinations for SI are (1) λ = 0.2, 0.4, 0.6, 0.8, 1, 1.2, 1.4, 1.6, 1.8 and 2, and β = 0; and (2) β = 0.025, 0.05, 0.075, 0.1, 0.125, 0.15, 0.175, 0.2, 0.225 and 0.25, and λ = 0.

In many practical applications, an intercept shift often accompanies with a slope shift for a SLP process. Figure 3 presents an example, in which the nominal regression line is characterized by the conditional expected value of y, given x, as follows:

$$\displaystyle \begin{aligned} \mu(y|x)=\gamma_0+\gamma_1 x. \end{aligned} $$
(12)

When the profile parameters shift because of an assignable cause, the nominal regression line shifts to

$$\displaystyle \begin{aligned} \mu^\prime(y|x)=\gamma_0^\prime+\gamma_1^\prime x. \end{aligned} $$
(13)

In Fig. 3, both μ(y|x) and μ (y|x) pass through the point \((P_x, P_y),=(\bar {x}, \mu (y|\bar {x}))\). Using \((P_x, P_y)=(\bar {x}, \mu (y|\bar {x}))\) in Eqs. (12) and (13), we can obtain

$$\displaystyle \begin{aligned} \begin{array}{rcl} P_y=\gamma_0+\gamma_1 \bar{x} \end{array} \end{aligned} $$

and

$$\displaystyle \begin{aligned} \gamma_0^\prime=(\gamma_0+\gamma_1 \bar{x})-\gamma_1^\prime \bar{x}. \end{aligned} $$
(14)

Because γ 0 = 3, γ 1 = 2, and x i = 2, 4, 6, 8, Eq. (14) reduces to

$$\displaystyle \begin{aligned} \gamma_0^\prime=13-5\gamma_1^\prime. \end{aligned} $$
(15)

To present the process shifts on the σ scale, Chiang et al. [3] obtained \(\gamma _0^\prime =\gamma _0+\lambda \sigma =3+\lambda \) and \(\gamma _1^\prime =\gamma _1+\beta \sigma =2+\beta \). Subsequently substituting \(\gamma _0^\prime =3+\lambda \) and \(\gamma _1^\prime =2+\beta \) into Eq. (15) yields the relationship between λ and β as λ = −5β. In the study conducted by Chiang et al. [3], β = −0.50, −0.46, −0.44, −0.42, −0.40, −0.38, −0.36, −0.34, −0.32, −0.30, −0.28, − 0.26, −0.24, −0.22, −0.20, −0.18, −0.16, −0.14, −0.12, −0.10, −0.08, −0.06, −0.04, and − 0.02 in the simulation for determining the speed of control charts for detecting process shifts. The values of λ can be obtained using the relation λ = −5β. The out-of-control ARL, denoted by ARL 1, was evaluated through a simulation with 10,000 realizations. A single alarm of the EWMA-3I or the EWMA-3S indicates that the process is out of control for EWMA-3. The value of ARL 1 obtained from this charting procedure is labeled as ARL 1-E3, and the value of ARL 1 determined from MEWMA-SLP is labeled as ARL 1-ME.

Fig. 3
figure 3

An example of an intercept shift accompanies a slope shift for a SLP

The Monte Carlo simulation study presented in [3] clearly showed that the MEWMA-SLP chart outperforms EWMA-3I and EWMA-3S simultaneous charting. The MEWMA-SLP chart is faster than the combined EWMA-3I and EWMA-3S charts in detecting the process shift for the two scenarios considered. In particular, the simulation results show that the MEWMA-SLP chart improves the performance of the combined EWMA-3I and EWMA-3S charts considerably when ρ is close to 1. When ρ = 0.9, the sensitivity of the combined EWMA-3I and EWMA-3S charts in detecting a process shift engendered by an intercept shift was low. More detail information, interested readers are suggested to read Chiang et al. [3].

5.2 Numerical Example

When a SLP process is identified as in-control, the process capability should be evaluated. To illustrate the application of the two new process capability indices, Chiang et al. [3] generated data sets of size m = 200 with ρ = 0.1, 0.7, and 0.9 based on the model in Eqs. (2) and (6) with γ 0 = 3 and γ 1 = 2. Let the lower and upper specification limits of the response variable y be LSL y and USL y, respectively. If the mean of y, given \(x=\bar {x}\), is the midpoint of the specification limits, then LSL y and USL y can be expressed as

$$\displaystyle \begin{aligned} LSL_y=E(y|x=\bar{x})-k\sigma=\gamma_0+\gamma_1 \bar{x}-k_1 \sigma \end{aligned} $$
(16)

and

$$\displaystyle \begin{aligned} USL_y=E(y|x=\bar{x})+k\sigma=\gamma_0+\gamma_1 \bar{x}+k_2\sigma, \end{aligned} $$
(17)

respectively. Using Eqs. (16) and (17), Chiang et al. [3] obtained

$$\displaystyle \begin{aligned} \gamma_0=\frac{LSL_y+USL_y-(k_2-k_1 )\sigma}{2}-\gamma_1 \bar{x}, \end{aligned}$$
$$\displaystyle \begin{aligned} \gamma_1=\frac{\frac{LSL_y+USL_y-(k_2-k_1 )\sigma}{2}-\gamma_0}{\bar{x}}, \end{aligned}$$

\(LSL_y-(k_2-k_1 )\sigma /2-\gamma _1 \bar {x}\leq \gamma _0\leq USL_y-(k_2-k_1 )\sigma /2-\gamma _1 \bar {x}\) and \((LSL_y-(k_2-k_1 )\sigma /2-\gamma _0)/\bar {x}\leq \gamma _1\leq (USL_y-(k_2-k_1 )\sigma /2-\gamma _0)/\bar {x}\). On the basis of the specification limits of the response variable, the specifications limits of \(\hat {\gamma }_{G0}\) and \(\hat {\gamma }_{G1}\) can be expressed as

$$\displaystyle \begin{aligned} LSL_{G0}=LSL_y-\gamma_1 \bar{x}, \end{aligned}$$
$$\displaystyle \begin{aligned} USL_{G0}=USL_y-\gamma_1 \bar{x}, \end{aligned}$$

and

$$\displaystyle \begin{aligned} LSL_{G1}=\frac{LSL_y-\gamma_0}{\bar{x}}, \end{aligned}$$
$$\displaystyle \begin{aligned} USL_{G1}=\frac{USL_y-\gamma_0}{\bar{x}}. \end{aligned}$$

When the parameters γ 0 and γ 1 are unknown, the parameters γ 0 and γ 1 can be replaced with the sample means of \(\hat {\gamma }_{G0,j}\) and \(\hat {\gamma }_{G1,j}\), respectively.

In the numerical examples, let k 1 = 4, k 2 = 3.5, LSL y = 9, USL y = 16.5, \(LSL_{G0}=LSL_y-\gamma _1 \bar {x}=-0.75\), \(USL_{G0}=USL_y-\gamma _1 \bar {x}=6.75\), \(LSL_{G1}=LSL_y-\gamma _0/\bar {x} =1.25\), and \(USL_{G1}=USL_y-\gamma _0/\bar {x}=2.75\). Chiang et al. [3] studied the relationship between ρ and the process capability indices BC p and BC pk. The study showed that BC p and BC pk were influenced by the with-profile correlation and they are overestimated if the with-profile correlation was ignored. Furthermore, the maximal values of BC p and BC pk were attained for ρ = 0. The value of BC pk decreases as ρ increases and the values of BC p and BC pk were closed because the mean of \(\hat {\boldsymbol {\gamma }}_{G,j}\) for j = 1, 2, ⋯ , m were closed to the midpoint of the specification limits. For more information, interested readers are suggested to read Chiang et al. [3].

6 Conclusion

The main purpose of this chapter is to review the recent developments on the SPC to monitor SLP processes with correlated error terms; specially, SLP processes with within-profile autocorrelation. The common skill is to transform the SLP model with autocorrelated error terms to a SLP model with independent error terms and independent residuals so that the control charts for independent errors can be applied. Interested readers are suggested to read Chiang et al. [3] for potential research directions.