Introduction

Manufacturing or service processes do not solely include one-stage processes, and the products’ reliability is mostly the result of several different process steps. In such multistage processes, cascade property is a principal feature in which the outgoing quality characteristic is affected by the changes in the incoming variables (Yang 1999; Tsung et al. 2008). To deal with this problem, cause-selecting chart (CSC) is first introduced by Zhang (1984). The CSCs are most widely used to monitor and diagnose the multistage processes. Two-stage processes with normal output variable are reviewed by Wade and Woodall (1993). The CSC can also be used to monitor more than two-stage processes (Xiang and Tsung 2008). However, there exists a critical issue that quality variables do not follow the normal distribution in all the cases, while the major assumption using the CSC monitoring procedure is normally distributed quality characteristic. Therefore, some other regression-adjusted monitoring procedures based on the generalized linear models (GLMs) have been proposed to relax the normality assumption. These models have been extended to include the exponential family distributions (Jearkpaporn et al. 2003, 2007; Skinner et al. 2003).

To improve the product reliability in manufacturing and service processes, monitoring and evaluating reliability data are widely used. The reliability data have two main features which make the monitoring of such data complicated. The first one is that the reliability data often follow the specific parametric distributions, namely, location scale and log-location scale (Meeker and Escobar 1998). Among them, the lognormal, Weibull, and extreme value are the most commonly used distributions to model reliability data (Lawless 2003). The second issue is that it is not always possible to record the exact values of the reliability data due to the lack of time, resources or expenses. This problem makes us to consider the censoring as another property while dealing with reliability data. Furthermore, it would be more complicated when the variable-competing risk takes place.

Many authors investigated the monitoring of the reliability data in the literature. Padgett and Spurrier (1990) developed Shewhart-type chart to detect the shift of a percentile of lognormal and Weibull reliability data. Xie et al. (2002) proposed a new technique to monitor the inter-failure times which follow the exponential distribution. After that, the control charts were extended to monitor time between r failures (Surucu and Sazak 2009). In addition, Zhang et al. (2011a, b) designed the economic inter-failure times control chart system when the times follow the exponential distribution. Nichols and Padgett (2006) designed a new bootstrap control chart for monitoring the tensile strength of carbon fiber. Batson et al. (2006) suggested a new approach to monitor mean time between failures. This approach is based on transforming exponential, lognormal, and Weibull failure time data to normal distributed data. The CUSUM control chart has been developed to monitor the time between events by Shafae et al. (2014). In addition, Akhundjanov and Pascual (2015) proposed the EWMA control chart to diagnose the small shifts when a single measurement is taken per sampling period.

In real situations, the observations may be censored at a pre-specified level because of time and cost limitations. Moreover, the variable-competing risk may be considered as well which censors the values of response quality variables. For example, it is not possible to record the values of bond strength accurately when the tensile strength of adhesive bond between vinyl fabric and PVC foam backing is monitored and evaluated. This problem would happen due to the failing of the foam backing sooner. Then, this kind of censoring is introduced as a variable-competing risk which cannot be easily neglected for the sake of proposing optimal monitoring schemes. It is significant that the main assumption of all the above-mentioned researches is that the observations were recorded with no fixed and variable censoring, even though the location-scale and log-location-scale distributions have been addressed. Censored observations at fixed level are considered for monitoring in Steiner and MacKay (2000). In addition, Steiner and MacKay (2001) proposed exponentially weighted moving average (EWMA) control chart based on the conditional expected value to monitor the bond strength values which are censored under the competing risk variable. Moreover, the EWMA control chart is used to monitor the mean of censored lifetimes when censoring occurs at fixed level (Zhang and Chen 2004; Lu and Tsai 2008). Then, some control charts are developed to monitor the time-to-failure data in the presence of right censoring using rank tests (Li et al. 2012; Li and Kong 2015). The base of these control charts is using the rank statistics to derive the generic formula for the operating characteristic functions of the control chart.

On the other hand, as discussed earlier, the products usually come from processes with more than two stages. Shamsuzzaman et al. (2009) developed a control chart system to monitor the time between successive events at different process stages in the multistage manufacturing system. Asadzadeh and Aghaie (2012) proposed two control charts to monitor and improve the product reliability in a two-stage process with this assumption that the reliability data follow the Weibull distribution. Moreover, the outgoing quality characteristic is censored due to the presence of both the fixed- and variable-competing risks. In addition, Asadzadeh et al. (2013) proposed two regression-adjusted control schemes based on Cox-Snell residuals. In their paper, the control charts were extended to monitor the residuals in the presence of the right censoring at fixed level. In these papers, the AFT model is used to relate the quality characteristics. Furthermore, Zhang et al. (2015) investigated the effect of estimation error on the performance of risk-adjusted survival time CUSUM scheme in continuous time with the cardiac surgery data. They used the AFT model in their research that can be applied in multistage processes. Asadzadeh et al. (2014a, b) used the Proportional Hazard and Frailty models to relate the quality characteristics in a two-stage process. The monitoring schemes were developed in the presence of the right censoring at fixed level. In addition, Zhou et al. (2012) used proportional hazards (PH) model to link upstream supply chain quality/testing information as explanatory covariates for the early detection of reliability problems which is similar to the PH model for the multistage processes and cascade property.

It should be noted that all the discussed processes are assumed to have two stages and the outgoing quality characteristic has been censored. However, there exists a real case dealing with cotton spinning in which the three quality characteristics are Fiber Length, Fiber Strength, and Skein Strength. If the fiber length was to change, it would lead to change in the fiber strength. Moreover, a change in any of the two quality variables would affect the skein strength of the spun cotton. Obviously, fiber strength and skein strength are the reliability-related quality characteristics which bring about censored observations for the second and third stages. Considering the mentioned example and the concept of variable-competing risk discussed in the case of adhesive bond between vinyl fabric and foam backing, we address a three-stage process in which the quality characteristics of both the second and third stages evaluate and reflect the reliability of product. Thus, we use the residuals to construct the CSC and monitor the outgoing quality characteristic. It is remarkable that the proposed monitoring schemes are extended when the censoring occurred in these stages. As mentioned before, the lognormal distribution is widely used to model the reliability data. Furthermore, it is assumed that these reliability-related quality characteristics follow the lognormal distribution.

The structure of this paper is as follows: the problem statement and the AFT model are elaborated in the next section. The monitoring schemes under the absence and presence of the fixed- and variable-competing risks are proposed in Sect. 3. In Sect. 4, the performance of the proposed control charts is studied and compared by extensive simulation studies. Numerical example is provided in Sect. 5. Concluding remarks are presented in Sect. 6.

Problem statement

As illustrated in Fig. 1, suppose a three-stage manufacturing process in which the outgoing quality characteristic is affected by quality variables of the previous stages. In this process, the quality characteristics in the second and third stages reflect the reliability of product which are denoted by \( y_{1} \) and y 2, respectively. Thus, censoring would occur at fixed level due to the cost and time constraints in any of the discussed stages. Besides, some of actual observations would be censored due to the presence of another censoring mechanism which is referred to as variable-competing risk. As a result, two distinct competing risks, namely, fixed and variable, would happen in the process which prohibits the exact records of some values corresponding to the reliability-related quality characteristics of the second and third stages.

Fig. 1
figure 1

Three-stage process

Taking into account the dependency of reliability data to the previous stages, the survival analysis regression models have been used. There are two major approaches in this case. One is the accelerated failure time (AFT) model which relates the parameters of output quality characteristic to the identified covariates and the other one is the proportional hazards (PH) models in which covariates affect the associated hazard function (Padgett and Spurrier 1990). Since the AFT model is the most widely used models among the parametric ones, in this paper, the AFT model is considered to relate the parameter of the reliability-related quality characteristics of both the third and second stages to the quality characteristics in the previous stages.

As discussed in the previous section, we assumed that the reliability-related quality characteristics of both the third and second stages follow the lognormal distribution due to extensive usages among the variety distributions which can be used in survival regression models. Therefore, the general probability density and survival function of the lognormal distribution are given in Eqs. (1) and (2), respectively, as follows:

$$ f(y) = \frac{1}{{\sqrt {2\pi } \sigma y}}e^{{ - \left( {\frac{1}{2}\left( {\frac{\log y - \mu }{\sigma }} \right)^{2} } \right)}} \quad y > 0, $$
(1)

and

$$ s(y) = 1 - \phi \left( {\frac{{{ \log }\,y - \mu }}{\sigma }} \right). $$
(2)

For the parameterization, μ is the location parameter and \( \sigma \) is the shape parameter. These parameters are the mean and standard deviation of the associated normal distribution, respectively. In addition, \( \phi (.) \) is the cumulative distribution function of normal standard distribution. It is assumed in this paper that only the location parameters of the quality characteristics in the second and third stages (μ 1 and μ 2) depend on covariates of the previous stages and their dependency is shown as follows:

$$ \mu_{{y_{2} |x,y_{1} }} = \alpha_{0} + \alpha_{1} x + \alpha_{2} \log (y_{1} ), $$
(3)

and

$$ \mu_{{y_{1} |x}} = \beta_{0} + \beta_{1} x. $$
(4)

Then, the AFT-based survival functions are defined for quality characteristics of both the third and second stages as

$$ s(y_{2} |x,y_{1} ) = 1 - \phi \left( {\frac{{\log y_{2} - \alpha_{0} - \alpha_{1} x - \alpha_{2} \log y_{1} }}{{\sigma_{2} }}} \right), $$
(5)

and

$$ s(y_{1} |x) = 1 - \phi \left( {\frac{{\log y_{1} - \beta_{0} + \beta_{1} x}}{{\sigma_{1} }}} \right), $$
(6)

where \( \beta_{0} \), \( \beta_{1} \), \( \alpha_{0} \), \( \alpha_{1} \), and \( \alpha_{2} \) are the parameters of regression models of two different reliability-related quality characteristics. In addition, μ 1,σ 1, μ 2, and σ 2 are considered as the mean and standard deviation of the quality characteristics in the second and third stages (\( y_{1} \) and y 2). Without loss of generality, the covariates most widely follow the normal distribution, i.e., \( x\sim N(\mu_{x} ,\sigma_{x} ) \). Therefore, this fact directs us toward using \( \log (y_{1} ) \), which transforms the distribution of the second-stage quality characteristic to normal distribution, to relate the parameter of quality characteristic of the third stages to the previous stage.

In the next section, the cause-selecting control strategies are elaborated based on the AFT model. The two proposed control charts are extended in the presence of both the fixed- and variable-competing risks.

Regression-adjusted control schemes

In this section, the control charts are designed under two scenarios whether the process observations are censored or not. Subsequently, we have proposed the monitoring schemes in the following sub-sections for the sake of finding out-of-control situations immediately.

Regression-adjusted control schemes in the absence of censoring

In this sub-section, monitoring schemes are developed in the absence of both the fixed- and variable-competing risks. Doing so, we concentrate on developing the control charts to monitor the quality characteristics to detect decreasing shifts, although it is easy to establish the proposed control charts for the sake of detecting increasing and decreasing shifts simultaneously. Accordingly, two regression-adjusted control schemes, including CUSUM and EWMA, are proposed.

Having represented the manufacturing process and the corresponding distributions for quality characteristics, we concentrate on developing CUSUM control chart to monitor the response variable, first. The statistic of this proposed control chart is constructed based on the likelihood function. The likelihood function related to the ith observation in the absence of censoring is modified as \( L_{i} = f(y_{i} ) \) that can be calculated by Eq. (1). Then, the one-sided CUSUM statistic is given by

$$ \begin{array}{*{20}l} {c_{i}^{ - } = \hbox{min} \left\{ {0,c_{i - 1}^{ - } - w_{i} } \right\},} \hfill \\ {c_{0}^{ - } = 0,} \hfill \\ \end{array} $$
(7)

where \( w_{i} \) is the CUSUM score proposed by Page (1954) and is computed by

$$ w_{i} = { \log }\left( {\frac{{L(\omega_{i1} |y_{2i} )}}{{L(\omega_{i0} |y_{2i} )}}} \right). $$
(8)

In this equation, \( \omega_{i0} \) and \( \omega_{i1} \) are defined as in-control and out-of-control values of the parameters corresponding to the quality characteristic in the last stage. The vector of in-control parameter is shown as \( \omega_{i0} = (\alpha_{0} + \alpha_{1} x + \alpha_{2} \log (y_{1} ) , \sigma_{2} ) \), and the out-of-control parameter vector is \( \omega_{i1} = (\alpha_{0} + \alpha_{1} x + \alpha_{2} \log (y_{1} ) - \delta , \sigma_{2} ) \), where \( \delta \) is the decreasing shift in the in-control location parameter. Taking our attention into the mean of survival time which is calculated by following equation, it implies that changing the location parameter leads to changing the mean of survival time:

$$ E(y_{2} ) = \exp \left( {\mu_{2} + \frac{{\sigma_{2}^{2} }}{2}} \right). $$
(9)

Hence, the CUSUM score is given by the following equation based on the lognormal density function of quality characteristic in the third stage:

$$ w_{i} = \frac{ - \delta }{{2\sigma_{z}^{2} }}(2\log (y_{2i} )) + \delta - 2\mu_{2i} . $$
(10)

This statistic is set to detect decreasing shifts, even though the CUSUM control procedure signals an out-of-control status when its statistic exceeds the lower control limit, LCL1. The LCL1 is set by simulation to achieve the desired in-control average run length (ARL) criterion.

Since the proposed CUSUM control chart is CSC, the next monitoring surveillance EWMA control chart is also proposed based on the residuals to omit the effect of covariates in the previous stages on the quality characteristics in the last stage. The residuals are computed as follows:

$$ z_{i} = \frac{{y_{2i} - E(y_{2i} )}}{{\sqrt {{\text{Var}}(y_{2i} )} }}, $$
(11)

where \( E(y_{2i} ) \) and \( {\text{Var}}(y_{2i} ) \) are the mean and variance of the quality characteristic in the third stage. Since the quality characteristic of the last stage follows the lognormal distribution, the mean of survival time is given by Eq. (9) and its variance is calculated as follows:

$$ {\text{Var}}(y_{2} ) = \exp (2\mu_{2} + \sigma_{2}^{2} )(\exp (\sigma_{2}^{2} ) - 1). $$
(12)

By considering Eq. (3), the mean and variance of lognormal quality characteristic in the third stage are calculated as \( E(y_{2} ) = e^{{\alpha_{0} + \alpha_{1} x + \alpha_{2} \log (y_{1} ) + \frac{{\sigma_{2}^{2} }}{2}}} \) and \( {\text{Var}}(y_{2} ) = e^{{2(\alpha_{0} + \alpha_{1} x + \alpha_{2} \log (y_{1} )) + \sigma_{2}^{2} }} \left( {e^{{\sigma_{2}^{2} }} - 1} \right) \). The proposed residual \( z_{i} \) in Eq. (11) is standardized; hence, the mean and standard deviation of \( z_{i} \) are equal to 0 and 1, respectively. Note that changing the scale parameter of the last stage quality characteristic \( \mu_{2} \) leads to changing in the mean of interest. Consequently, the one-sided EWMA statistic based on the residuals in Eq. (11), is derived as follows to detect decreasing shifts in the mean of the quality characteristic in the third stage:

$$ Q_{i} = \hbox{min} \{ \mu_{0} , \lambda z_{i} + (1 - \lambda )Q_{i - 1} \} = \hbox{min} \{ 0 , \lambda z_{i} + (1 - \lambda )Q_{i - 1} \} , $$
(13)

where λ is the smoothing parameter (\( 0 < \lambda \le 1 \)) and \( Q_{0} \) is equal to the in-control mean of the residual statistic, i.e., \( Q_{0} = 0 \). The general one-sided lower control limit of the EWMA statistic is given by \( {\text{LCL}_2} = \mu_{0} - L\sigma \sqrt {\frac{\lambda }{2 - \lambda }} \). Since \( z_{i} \) are standardized residuals, then \( {\text{LCL}}_{2} \) reduces to

$$ {\text{LCL}_2} = - L\sqrt {\frac{\lambda }{2 - \lambda }} . $$
(14)

The one-sided EWMA control chart triggers a signal when \( Q_{i} < {\text{LCL}}_{2} \). The \( {\text{LCL}}_{2} \) is set, such that a desirable in-control ARL is obtained.

In the next sub-section, our proposed control charts are developed when the censoring data exist.

Regression-adjusted control schemes in the presence of censoring

After proposing the monitoring schemes in the absence of censoring mechanisms, we concentrate on developing the control chart strategies in the presence of both the fixed- and variable-competing risks. Moreover, we present the formulas regardless of which stage is considered. At the end, they would be adopted to the quality characteristics \( y_{2} \) and \( y_{1} \).

As mentioned before, the variable-competing risk can occur unwantedly which precludes the accurate recording of quality characteristic values. We assume that this variable follows the normal distribution. Therefore, the values of reliability-related quality characteristics are recorded completely unless they reach the pre-determined limit denoted by c or the failure related to variable-competing risk, which is denoted by cr. Given that the existence of the fixed- and variable-competing risks affect the actual values deleteriously, all censored data can be replaced with their conditional expected values (CEV) which are calculated by the following formulas considering which competing risk occurs first

$$ w_{c} = {\text{CEV(}}y |y > c ) \quad {\text{or}} \quad w_{cr} = {\text{CEV}}(y |y > cr), $$
(15)

where the CEV weights of the process are defined as follows:

$$ w = \left\{ {\begin{array}{*{20}l} y \hfill & {{\text{if}}\,\,\,y \le c\;{\text{and}}\;y \le cr} \hfill \\ {w_{\text{c}} } \hfill & {{\text{if}}\,\,\,c < y \;{\text{and}}\;c \le cr} \hfill \\ {w_{\text{cr}} } \hfill & {\text{otherwise}} \hfill \\ \end{array} } \right.. $$
(16)

Assuming lognormal distribution, the CEV of the quality characteristics observation censored at q is derived by the following equation regardless of which competing risk occurs

$$ {\text{CEV(}}y )= E(y |y > q) = \frac{{\frac{1}{2}e^{{\frac{1}{2}\sigma^{2} + \mu }} + \frac{1}{2}e^{{\frac{1}{2}\sigma^{2} + \mu }} {\text{erf}}\left( {\frac{{\mu - \log y + \sigma^{2} }}{\sqrt 2 \sigma }} \right)}}{S(q)}, $$
(17)

where S(q) is the survival function of the reliability-related quality characteristic, and erf(.) is the error function that is defined as follows:

$$ {\text{erf}}(t) = \int\limits_{0}^{t} {\frac{2}{\sqrt \pi }} e^{{ - t^{2} }} {\text{d}}t. $$
(18)

Subsequently, the CEV weight, which was presented in Eq. (16), can be given by the following equation:

$$ w = \left\{ {\begin{array}{*{20}l} y \hfill & {{\text{if}}\quad y \le c\; {\text{and}}\;y \le cr} \hfill \\ {\frac{{\frac{1}{2}e^{{\frac{1}{2}\sigma^{2} + \mu }} + \frac{1}{2}e^{{\frac{1}{2}\sigma^{2} + \mu }} {\text{erf}}\left( {\frac{{\mu - { \log }(c) + \sigma^{2} }}{\sqrt 2 \sigma }} \right)}}{S(c)}} \hfill & {{\text{if}}\quad c < y \;{\text{and}}{\mkern 1mu} c \le cr} \hfill \\ {\frac{{\frac{1}{2}e^{{\frac{1}{2}\sigma^{2} + \mu }} + \frac{1}{2}e^{{\frac{1}{2}\sigma^{2} + \mu }} {\text{erf}}\left( {\frac{{\mu - { \log }(cr) + \sigma^{2} }}{\sqrt 2 \sigma }} \right)}}{S(cr)}} \hfill & {{\text{otherwise}}.} \hfill \\ \end{array} } \right. $$
(19)

Now, we can establish the CEV weights for the reliability-related quality characteristic of the second stage by considering \( y_{1} \), \( \beta_{0} + \beta_{1} x \), and \( \sigma_{1} \) instead of y, \( \mu \) and \( \sigma \), respectively, in Eq. (18). Thus, the CEV weights of the second stage can be indicated as follows:

$$ w_{1} = \left\{ {\begin{array}{*{20}l} {y_{1} } \hfill &\quad {{\text{if}}\quad y_{1} \le c_{1} \;{\text{and}} {\mkern 1mu} y_{1} \le cr_{1} } \hfill \\ {\frac{{\frac{1}{2}e^{{\frac{1}{2}\sigma_{1}^{2} + \beta_{0} + \beta_{1} x}} + \frac{1}{2}e^{{\frac{1}{2}\sigma_{1}^{2} + \beta_{0} + \beta_{1} x}} {\text{erf}}\left( {\frac{{\beta_{0} + \beta_{1} x - \log (c_{1} ) + \sigma_{1}^{2} }}{{\sqrt 2 \sigma_{1} }}} \right)}}{{S(c_{1} )}}} \hfill &\quad {{\text{if}}\quad c_{1} < y_{1} \;{\text{and}}\;c_{1} \le cr_{1} } \hfill \\ {\frac{{\frac{1}{2}e^{{\frac{1}{2}\sigma_{1}^{2} + \beta_{0} + \beta_{1} x}} + \frac{1}{2}e^{{\frac{1}{2}\sigma_{1}^{2} + \beta_{0} + \beta_{1} x}} {\text{erf}}\left( {\frac{{\beta_{0} + \beta_{1} x - \log (cr_{1} ) + \sigma_{1}^{2} }}{{\sqrt 2 \sigma_{1} }}} \right)}}{{S(cr_{1} )}}} \hfill &\quad {\text{otherwise,}} \hfill \\ \end{array} } \right. $$
(20)

where \( c_{1} \) and \( cr_{1} \) are the pre-determined limit and the variable-competing risk of the second-stage quality characteristic.

Constructing the CEV weights of the third-stage quality characteristics is similar to the second one, but there is a difference in defining the location parameter, \( \mu_{2} \). Since the censoring mechanism occurs in stage two as well, it is indispensable to use the CEV weights of the second stage for defining \( \mu_{2} \) specified in Eq. (3). Consequently, the CEV weights of the third stage quality characteristic can be obtained as follows when the location parameter \( \mu_{2} \) is defined as \( \alpha_{0} + \alpha_{1} x + \alpha_{2} \log (w_{1} )\):

$$ w_{2} = \left\{ {\begin{array}{*{20}l} {y_{2} } \hfill & {{\text{if}}\quad y_{2} \le c_{2} \;{\text{and}}\;y_{2} \le cr_{2} } \hfill \\ {\frac{{\frac{1}{2}e^{{\frac{1}{2}\sigma_{2}^{2} + \alpha_{0} + \alpha_{1} x + \alpha_{2} \log (w_{1} )}} \left( {1 + {\text{erf}}\left( {\frac{{\alpha_{0} + \alpha_{1} x + \alpha_{2} \log (w_{1} ) - \log (c_{2} ) + \sigma_{2}^{2} }}{{\sqrt 2 \sigma_{2} }}} \right)} \right)}}{{S(c_{2} )}}} \hfill & {{\text{if}}\quad c_{2} < y_{2} \;{\text{and}}\; c_{2} \le cr_{2} } \hfill \\ {\frac{{\frac{1}{2}e^{{\frac{1}{2}\sigma_{2}^{2} + \alpha_{0} + \alpha_{1} x + \alpha_{2} \log (w_{1} )}} \left( {1 + {\text{erf}}\left( {\frac{{\alpha_{0} + \alpha_{1} x + \alpha_{2} \log (w_{1} ) - \log (cr_{2} ) + \sigma_{2}^{2} }}{{\sqrt 2 \sigma_{2} }}} \right)} \right)}}{{S(cr_{2} )}}} \hfill & {{\text{otherwise}} . } \hfill \\ \end{array} } \right. $$
(21)

Moreover, occurring of the censoring mechanism changes the likelihood function of survival time. Hence, the likelihood function associated with the ith observation is defined as follows, where the probability density and the cumulative distribution functions for y are shown by f and F and by g and G for cr, respectively:

$$ L_{i} = [(1 - F(c))(1 - G(c))]^{{\tau_{i} }} \times [[f(y_{i} )(1 - G(y_{i} )]^{{\gamma_{i} }} [g(cr_{i} )(1 - F(cr_{i} ))]^{{(1 - \gamma_{i} )}} ]^{{1 - \tau_{i} }} , $$
(22)

in which

$$ \tau_{i} = \left\{ {\begin{array}{*{20}c} 1 & {{\text{if}}\quad c \le y_{i } \;{\text{and}}\; c \le cr_{i} } \\ 0 & {{\text{if}}\quad c > y_{i} \;{\text{and}}\;c > cr_{i} } \\ \end{array} } \right.\;{\text{and}}\;\gamma_{i} = \left\{ {\begin{array}{*{20}c} 1 & {{\text{if}}\quad y_{i} \le cr_{i} } \\ 0 & {{\text{if}}\quad y_{i} > cr_{i} .} \\ \end{array} } \right. $$
(23)

For the simplicity, variable t is defined as

$$ t_{i} = \hbox{min} (y_{i} ,\,cr_{i} ,\,c). $$
(24)

Therefore, the likelihood function is written as follows:

$$ L_{i} = [(1 - F(t_{i} ))(1 - G(t_{i} ))]^{{\tau_{i} }} \times [[f(t_{i} )(1 - G(t_{i} ))]^{{\gamma_{i} }} [g(t_{i} )(1 - F(t_{i} ))]^{{(1 - \gamma_{i} )}} ]^{{1 - \tau_{i} }} . $$
(25)

The proposed likelihood function is used to construct the CUSUM score which is defined in Eq. (8).

As a consequence, the lognormal CUSUM score for the censored observations is written as

$$ w_{i} = { \log }\left( {\frac{{[(1 - F(t_{i} |\omega_{i1} ))(1 - G(t_{i} ))]^{{\tau_{i} }} \times [[f(t_{i} |\omega_{i1} )(1 - G(t_{i} ))]^{{\gamma_{i} }} [g(t_{i} )(1 - F(t_{i} |\omega_{i1} ))]^{{(1 - \gamma_{i} )}} ]^{{1 - \tau_{i} }} }}{{[(1 - F(t_{i} |\omega_{i0} ))(1 - G(t_{i} ))]^{{\tau_{i} }} \times [[f(t_{i} |\omega_{i0} )(1 - G(t_{i} ))]^{{\gamma_{i} }} [g(t_{i} )(1 - F(t_{i} |\omega_{i0} ))]^{{(1 - \gamma_{i} )}} ]^{{1 - \tau_{i} }} }}} \right). $$
(26)

At the end, this score is reduced to

$$ \begin{aligned} w_{i} = \tau_{i} \log \left[ {\frac{{1 - \varPhi \left( {\frac{{\ln c - \mu_{0} }}{{\sigma_{y} }}} \right)}}{{1 - \varPhi \left( {\frac{{\ln c - (\mu_{0} - \delta )}}{{\sigma_{y} }}} \right)}}} \right] + \frac{\delta }{{2\sigma_{y}^{2} }}\gamma_{i} (1 - \tau_{i} )(2\ln y - 2\mu_{0} + \delta ) \hfill \\ + (1 - \gamma_{i} )(1 - \tau_{i} )\log \left[ {\frac{{1 - \varPhi \left( {\frac{{\ln cr - \mu_{0} }}{{\sigma_{y} }}} \right)}}{{1 - \varPhi \left( {\frac{{\ln cr - (\mu_{0} - \delta )}}{{\sigma_{y} }}} \right)}}} \right]. \hfill \\ \end{aligned} $$
(27)

The CUSUM statistic regarding the presence of censoring is similar to Eq. (7). However, it is constructed based on the CUSUM score in Eq. (27) to identify the decreasing shifts. Then, it is needed to set the lower control limit shown as \( {\text{LCL}}_{3} \) and compared with the CUSUM statistic. Note that the one-sided CUSUM control chart generates a signal when this statistic is less than \( {\text{LCL}}_{3} \).

Another control scheme is EWMA control chart which was described completely. There is a critical issue that the proposed residual is not suitable in the presence of censoring, because the observations are not the actual value and the mean and variance of them would be changed. Hence, we present a new residual based on the CEV weights as follows:

$$ z^{\prime}_{i} = \frac{{W_{2i} - {\text{E}}(W_{2i} )}}{{\sqrt {{\text{Var}}(W_{2i} )} }}, $$
(28)

where \( E(W_{2i} ) \) and \( {\text{Var}}(W_{2i} ) \) are the mean and variance of observations. Its mean can be obtained as

$$ E (W_{2} )= y_{2} \times p(y_{2} \le c_{2} \;{\text{and}}\;y_{2} \le cr_{2} ) + w_{{c_{2} }} \times p(c_{2} \le y_{2} \;{\text{and}}\;c_{2} \le cr_{2} ) + w_{{cr_{2} }} \times p(cr_{2} \le y_{2} \;{\text{and}}\; cr_{2} \le c_{2} ). $$
(29)

The variance of observations is computed based on the traditional definition; \( {\text{Var}}(W_{2} ) = E(W_{2}^{2} ) - {\text{E}}^{2} (W_{2} ) \). Finally, by calculating the probability in Eq. (29), the mean and \( E(W_{2}^{2} ) \) can be indicated as follows:

$$ \begin{aligned} E(W_{2}^{2} ) = \int\limits_{0}^{{c_{2} }} {y_{2}^{2} } \times f_{{y_{2} }} (y_{2} ) \times (1 - G_{{cr_{2} }} (y_{2} )){\text{d}}_{{y_{2} }} + W_{{c_{2} }}^{2} \times [1 - F_{{y_{2} }} (c_{2} )] \times [1 - G_{{cr_{2} }} (c_{2} )] \hfill \\ + \int\limits_{0}^{c} {W_{{cr_{2} }}^{2} } \times g_{{cr_{2} }} (cr_{2} ) \times (1 - F_{{y_{2} }} (cr_{2} )){\text{d}}_{{cr_{2} }} . \hfill \\ \end{aligned} $$
(30)

The presented mean and variance of observations lead to long time to set the lower control limit, \( {\text{LCL}}_{4} \) by simulation. Therefore, we propose the general mean and variance. The significant advantage in applying the general mean and variance is that the censoring mechanism in the second stage does not influence on the last stage, although the simulation error to set the lower control limit would increase. In addition, the general mean and variance of quality characteristic in the third stage are fixed for each observation. The general \( E(W_{2} ) \) and \( E(W_{2}^{2} ) \), to compute the variance of observations, are indicated by the following formulas:

$$ \begin{aligned} {\text{E}}(W_{2} ) = \int\limits_{0}^{{c_{2} }} {\int\limits_{{y_{1} }} {\int\limits_{x} {\frac{1}{{\sigma_{{y_{2} }} \sqrt {2\pi } }}} } } e^{{ - \frac{1}{2}\left( {\frac{{\ln (y_{2} ) - \alpha_{0} - \alpha_{1} x - \alpha \log (y_{1} )}}{{\sigma_{{y_{2} }} }}} \right)}} \times \left[ {\int\limits_{{y_{2} }}^{ + \infty } {\frac{1}{{\sigma_{{cr_{2} }} \sqrt {2\pi } }}} e^{{ - \frac{1}{2}\left( {\frac{{cr_{2} - \mu_{{cr_{2} }} }}{{\sigma_{{cr_{2} }} }}} \right)^{2} }} {\text{d}}cr_{2} } \right] \times f_{x} (x) \times f_{{y_{1} }} (y_{1} ){\text{d}}_{x} {\text{d}}_{{y_{1} }} {\text{d}}_{{y_{2} }} \hfill \\ + \int\limits_{{y_{1} }} {\int\limits_{x} {\frac{{\frac{1}{2}e^{{\frac{1}{2}\sigma_{{y_{2} }}^{2} + \alpha_{0} + \alpha_{1} x + \alpha_{2} \log (y_{1} )}} \left( {1 + {\text{erf}}\left( {\frac{{\alpha_{0} + \alpha_{1} x + \alpha_{2} \log \left( {y_{1} } \right) - \log \left( {c_{2} } \right) + \sigma_{{y_{2} }}^{2} }}{{\sqrt 2 \sigma_{{y_{2} }} }}} \right)} \right)}}{{S(c_{2} )}}} } \times \left[ {1 - \phi_{{y_{2} }} \left( {\frac{{\ln c - \alpha_{0} - \alpha_{1} x - \alpha_{2} \log (y_{1} )}}{{\sigma_{{y_{2} }} }}} \right)} \right] \hfill \\ \times f_{x} (x) \times f_{{y_{1} }} (y_{1} ){\text{d}}_{x} {\text{d}}_{{y_{1} }} \times \left[ {\mathop \int \limits_{{c_{2} }}^{ + \infty } \frac{1}{{\sigma_{{cr_{2} }} \sqrt {2\pi } }}e^{{ - \frac{1}{2}\left( {\frac{{cr_{2} - \mu_{{cr_{2} }} }}{{\sigma_{{cr_{2} }} }}} \right)^{2} }} {\text{d}}cr_{2} } \right] \hfill \\ + \int\limits_{0}^{{c_{2} }} {\int\limits_{{y_{1} }} {\int\limits_{x} {\frac{1}{2}e^{{\frac{1}{2}\sigma_{{y_{2} }}^{2} + \alpha_{0} + \alpha_{1} x + \alpha_{2} \log (y_{1} )}} } } } \frac{{\left( {1 + {\text{erf}}\left( {\frac{{\alpha_{0} + \alpha_{1} x + \alpha_{2} \log (y_{1} ) - \log (cr_{2} ) + \sigma_{{y_{2} }}^{2} }}{{\sqrt 2 \sigma_{{y_{2} }} }}} \right)} \right)}}{{S(cr_{2} ) }} \times \frac{1}{{\sigma_{{cr_{2} }} \sqrt {2\pi } }}e^{{ - \frac{1}{2}\left( {\frac{{cr_{2} - \mu_{{cr_{2} }} }}{{\sigma_{{cr_{2} }} }}} \right)^{2} }} \hfill \\ \times \left[ {1 - \phi_{{y_{2} }} \left( {\frac{{\ln cr_{2} - \alpha_{0} - \alpha_{1} x - \alpha_{2} log(y_{1} )}}{{\sigma_{{y_{2} }} }}} \right)} \right] \times f_{x} (x) \times f_{{y_{1} }} (y_{1} ){\text{d}}_{x} {\text{d}}_{{y_{1} }} {\text{d}}cr_{2} , \hfill \\ \end{aligned} $$
(31)

and

$$ \begin{aligned} E (W_{2}^{2} )= \mathop \int \limits_{0}^{{c_{2} }} \int\limits_{{y_{1} }} {\int\limits_{x} {y_{2} \times \frac{1}{{\sigma_{{y_{2} }} \sqrt {2\pi } }}e^{{ - \frac{1}{2}\left( {\frac{{\ln (y_{2} ) - \alpha_{0} - \alpha_{1} x - \alpha_{2} \log (y_{1} )}}{{\sigma_{{y_{2} }} }}} \right)}} } } \times \left[ {\mathop \int \limits_{{y_{2} }}^{ + \infty } \frac{1}{{\sigma_{{cr_{2} }} \sqrt {2\pi } }}e^{{ - \frac{1}{2}\left( {\frac{{cr_{2} - \mu_{{cr_{2} }} }}{{\sigma_{{cr_{2} }} }}} \right)^{2} }} {\text{d}}cr_{2} } \right] \times f_{x} (x) \times f_{{y_{1} }} (y_{1} ){\text{d}}_{x} {\text{d}}_{{y_{1} }} {\text{d}}_{{y_{2} }} \hfill \\ + \int\limits_{{y_{1} }} {\int\limits_{x} {\left[ {\frac{{\frac{1}{2}e^{{\frac{1}{2}\sigma_{{y_{2} }}^{2} + \alpha_{0} + \alpha_{1} x + \alpha_{2} \log (y_{1} )}} \left( {1 + {\text{erf}}\left( {\frac{{\alpha_{0} + \alpha_{1} x + \alpha_{2} \log (y_{1} ) - \log (c_{2} ) + \sigma_{{y_{2} }}^{2} }}{{\sqrt 2 \sigma_{{y_{2} }} }}} \right)} \right)}}{{S(c_{2} )}}} \right]} }^{2} \hfill \\ \times \left[ {1 - \phi_{{y_{2} }} \left( {\frac{{\ln c - \alpha_{0} - \alpha_{1} x - \alpha_{2} \log (y_{1} )}}{{\sigma_{{y_{2} }} }}} \right)} \right] \times f_{x} (x) \times f_{{y_{1} }} (y_{1} ){\text{d}}_{x} {\text{d}}_{{y_{1} }} \times \left[ {\mathop \int \limits_{{c_{2} }}^{ + \infty } \frac{1}{{\sigma_{{cr_{2} }} \sqrt {2\pi } }}e^{{ - \frac{1}{2}\left( {\frac{{cr_{2} - \mu_{{cr_{2} }} }}{{\sigma_{{cr_{2} }} }}} \right)^{2} }} {\text{d}}cr_{2} } \right] \hfill \\ + \int\limits_{0}^{{c_{2} }} {\int\limits_{{y_{1} }} {\int\limits_{x} {\left[ {\frac{{\frac{1}{2}e^{{\frac{1}{2}\sigma_{{y_{2} }}^{2} \alpha_{0} + \alpha_{1} x + \alpha_{2} \log \left( {y_{1} } \right)}} \left( {1 + erf\left( {\frac{{\alpha_{0} + \alpha_{1} x + \alpha_{2} \log (y_{1} )\log (cr_{2} ) + \sigma_{{y_{2} }}^{2} }}{{\sqrt 2 \sigma_{{y_{2} }} }}} \right)} \right)}}{{S(cr_{2} )}}} \right]} } }^{2} \times \frac{1}{{\sigma_{{cr_{2} }} \sqrt {2\pi } }}e^{{ - \frac{1}{2}\left( {\frac{{cr_{2} - \mu_{{cr_{2} }} }}{{\sigma_{{cr_{2} }} }}} \right)^{2} }} \hfill \\ \times \left[ {1 - \phi_{{y_{2} }} \left( {\frac{{\ln cr_{2} - \alpha_{0} - \alpha_{1} x - \alpha_{2} \log (y_{1} )}}{{\sigma_{{y_{2} }} }}} \right)} \right] \times f_{x} (x) \times f_{{y_{1} }} (y_{1} ){\text{d}}_{x} {\text{d}}_{{y_{1} }} {\text{d}}cr_{2} . \hfill \\ \end{aligned} $$
(32)

Finally, obtaining the residuals, the one-sided EWMA statistic is constructed. The EWMA control chart signals an alarm when the EWMA statistic falls below \( {\text{LCL}}_{4} \). \( {\text{LCL}}_{4} \) is obtained by simulation to achieve a desired in-control ARL.

It should be noted that a three-stage process has been studied in this paper. One may easily consider a multistage process in which the response variable is dependent on several preceding quality variables. Subsequently, the parameters of the survival regression model can be modeled in terms of all effective prior quality variables for a multistage process with n stages as follows:

$$ \mu_{{y_{n - 1} |x,y_{1} , \ldots ,y_{n - 2} }} = \alpha_{0} + \alpha_{1} x + \sum\limits_{i = 2}^{n - 1} {\alpha_{i} \log (y_{i - 1} )} . $$
(33)

Performance analysis

This section analyzes and compares the performance of the proposed control charts to determine which monitoring method is better at detecting decreasing step shifts in the response mean or equivalently the location parameter of the lognormal distribution. It is remarkable that the simulation runs are performed to calculate ARLs with 10,000 replicates. In addition, the lower control limit for all the control charts is set through simulation to achieve the in-control ARL of roughly 200.

The simulation studies are done with assuming these input parameters: λ = 0.2, \( \beta_{0} = 1.5 \), \( \beta_{1} = - 1 \), \( \alpha_{0} = 2 \), \( \alpha_{1} = - 0.5 \), \( \alpha_{2} = - 0.5 \), x~N(2, 1), σ y1 = 1.3, and σ y2 = 1. Moreover, the presence of variable-competing risk is assumed and we aware of its occurrence which follows a normal distribution. The in-control parameters of normal distribution and also the fixed-censoring level are selected, respectively, to reach the situation in which the censoring rate becomes approximately 50 % for the third-stage quality characteristic. Adopting a special value for competing risks to achieve a special censoring rate of two fixed- and variable-competing risks for both the second and third stages is described in Appendices A and B, respectively.

The ARL values of the control charts are compared; under the presence and absence of censoring in the quality characteristic of the last stage. In addition, the independency of the proposed cause-selecting control charts under no censoring scenario against the shifts in the mean quality characteristics of the first and second stages is shown in this section.

Performance analysis under the absence of censoring in the last stage

In this sub-section, the ARL of the proposed control charts is compared in the absence of both the fixed- and variable-competing risks. Moreover, the presence of censoring in the second stage is considered to show its effect on the performance of the proposed control charts because of assuming quality characteristic of the second stage as reliability data. The results of ARL are summarized in Table 1 by considering three censoring rates of low (20 %), moderate (50 %), and high (80 %) in which the fraction of the fixed- and variable-competing risks is assumed the same.

Table 1 Comparison of the control charts in the absence of competing risk in the last stage

As illustrated in Table 1, the ARL values of the CUSUM control chart are less than the ARL values of EWMA control chart under different shifts. It implies that the proposed CUSUM control chart performs better in all censoring rates in the second stage. Besides, censoring scenario in the second stage has a detrimental effect on the performance of control charts and leads to increasing the corresponding out-of-control ARL values.

Performance analysis under the presence of censoring in the last stage

The detection ability of the proposed control charts is evaluated and compared when both the fixed- and variable-competing risks take place in the last stage. Three censoring rates of 20, 50, and 80 % are assumed in both the second and third stages. As discussed earlier, the proposed EWMA control chart is independent of which censoring rate happens in the second stage. Then, the ARL values are shown in Table 2.

Table 2 Comparison of the control charts in the presence of competing risk in the last stage

The outcomes of performing simulation study indicate that CUSUM control chart outperforms the EWMA control chart. There is an exception that the EWMA control chart performs better in the low and moderate (20 and 50 %) censoring rates when 80 % of outcomes of the second-stage quality characteristic are censored under the small shifts. In general, the performance of control charts deteriorates as the censoring rate increases.

Performance analysis under mean shifts in the previous sub-processes

In this section, we investigate that the proposed control charts are CSC through simulation. In other words, any shifts in the mean of quality characteristics in the first and second stages do not affect the ARL of the CSC control charts developed to monitor the quality characteristic in the third stage. For this purpose, the performance of the proposed control charts is studied under decreasing shifts of \( E(X) - \gamma \sigma_{X} \) or \( E(y_{1} ) - \vartheta \sigma_{{y_{1} }} \) in the mean of \( X \) and \( Y_{1} \). Table 3 presents the ARL results in the absence of censoring with decreasing shifts, in the mean of the first- and second-stage quality characteristics.

Table 3 ARLs of the CSC charts under shift in the mean of the first- and second-stage quality characteristics

A numerical example

To evaluate and compare the performance of the proposed monitoring procedures, a numerical example is used in this section. It is remarkable that the skein strength and fiber strength aim to reflect the product reliability in this case. We consider some scenarios to evaluate the performance of the proposed EWMA and CUSUM control charts. In the first scenario, there are no censored data in both the second and third stages. The second scenario includes high-censored data (80 %) in the second stage. In the third scenario, censoring occurs in the third stage by the high-censoring rate (80 %). In addition, the presence of censoring in both the second and third stages is considered as the last scenario.

In the illustrative example, the data are generated by the parameters which are introduced at the previous section. After generating 10 in-control samples, the data are generated under the out-of-control status. This status is occurred by a decreasing shift in the mean of quality characteristic in the third stage which is equal to 0.2.

The CUSUM and EWMA control charts for the data set are shown in Fig. 2. The lower control limit of the EWMA control chart is −0.4507, and the lower control limit of the CUSUM control chart is −2.8. As shown in this figure, the CUSUM control chart performs better than EWMA control chart.

Fig. 2
figure 2

Proposed control charts under the absence of censoring

As illustrated in Fig. 3, the CUSUM control chart outperforms the EWMA control chart in detecting decreasing shift in the presence of censoring in the second stage. It should be noted that the values of the fixed- and mean-variable-competing risks are obtained by solving the equations in Appendix A, i.e., \( c = 0. 1 5 8 3 \) and \( \mu_{cr} = 0. 1 6 8 5 \). In addition, the LCL of the EWMA and the LCL of the CUSUM control charts are −0.44 and −2, respectively.

Fig. 3
figure 3

Proposed control charts under the presence of high-censoring rate in the second stage

Figure 4 shows the CUSUM and EWMA control charts under the presence of high-censoring rate (80 %) in the third stage, respectively. In this case, we have c = 3.8901, \( \mu_{cr} = 3. 9 8 8 3 \), LCL = −2.28, and LCL = −0.6568. In addition, the mean and variance of observations are obtained generally based on Eqs. (31) and (32), whose values are equal to 6.7356 and 31.7678, respectively. It is clear that the CUSUM control chart performs better than the EWMA control chart in this case.

Fig. 4
figure 4

Proposed control charts under the presence of high-censoring rate in the third stage

Figure 5 shows the control charts under the last scenario when the data are censored in moderate rate (50 %) of the last stage and the high rate (80 %) of the second stage. The fixed and mean variable completing risks of the second stage are similar to the previous cases, and for the third stage, its values are 3.9 and 3.99, respectively. In addition, the mean and variance of observations under the moderate censoring rate are equal to 7.1075 and 71.6985, respectively. Moreover, the lower control limit of the EWMA and the lower control limit of the CUSUM control charts are −0.68 and −1.9, respectively. The figure implies that the performance of EWMA control chart is better than the CUSUM control chart in this situation.

Fig. 5
figure 5

Proposed control charts under the presence of high-censoring rate in the second and third stages

By comparing the figures, we conclude that as the censoring rate decreases, the performance of control charts deteriorates. In addition, the effect of censoring rate on the performance of both EWMA and CUSUM control charts in the third stage is more than the censoring rate in the second stage. It means that the control charts perform better when the censoring mechanism (80 %) is occurred in the second stage instead of the third stage.

Conclusion and future researches

In this paper, a three-stage process with reliability-related quality characteristic in the second and third stages was considered. We assumed that the quality characteristics of the second and third stages follow lognormal distribution due to its vast application in real world. In addition, censoring under both fixed- and variable-competing risks was considered in this study. The AFT model, which is the most widely used among the survival regression models, was considered to relate the quality characteristics in three stages. Then, we designed the EWMA and CUSUM cause-selecting control charts based on this model and conditional expected value to alleviate censoring mechanism. The performances of monitoring schemes were investigated by the ARL values. The results of simulation study confirmed that the censoring scenario in each stage deteriorates the performance of the proposed control charts. Moreover, the CUSUM control chart was usually better than the EWMA control chart to detect shifts. The EWMA control chart performs better just in the high-censoring rate of the third stage when the censoring rate of the second stage is 20 or 50 % simultaneously. Finally, it was shown that the monitoring procedures are independent against changing the mean shifts of the preceding stages. Moreover, an illustrative example was provided to show the performance of control charts. It is clear that the censoring would affect the performance of the control charts and leads to deteriorating the performance of the control charts. It was also shown that the effect of the censoring on the performance of the control charts is larger when the censoring happens in the third stage rather than the previous stages. The authors suggest using the proposed methods of this paper in a real case as a future research. Furthermore, in this paper, we considered one quality characteristic in each stage. However, sometimes, this assumption violates, and there is more than one quality characteristic in each stage. Therefore, developing control charts for monitoring the multivariate lognormal quality characteristics in a three-stage process could be considered as a future research. In addition, the quality characteristics in different stages may follow different distributions. This case can also be considered as a fruitful area for future researches.