Introduction

Quality product is the ultimate satisfaction of the customer, which leads to an increase in the profitability of the producer. ISO-9000 certification not only leads the producers to produce high quality goods but also compels them to enhance the product quality to remain in the main steam of their business. Therefore, quality control techniques are the basic requirement to maintain quality standards during production and to save the raw material losses due to defective production. The statistical process control (SPC) provides techniques to perceive variations in the production processes prior to produce defective goods. Control charts (CCs) are valuable tools in SPC that enable quality engineers to efficiently monitor and enhance product quality. Shewhart1 was the first who floated the concept of the memory-less type of CCs only utilizing the current sample information. The CCs discussed in this context have a recognized capability to identify notable changes in the production process. The cumulative sum (CUSUM) and exponentially weighted moving average (EWMA) CCs, initially introduced by Page2 and Roberts3, are widely acknowledged as examples of memory-type CCs. This is because they make use of both current and historical sample data in their calculations. The CUSUM and EWMA CCs exhibit greater sensitivity in identifying small and moderate shifts in process parameters when compared to the classical Shewhart CC. These memory-type CCs, specifically EWMA and CUSUM, hold significant value in chemical and industrial production processes. Al-Omari and Bouza4 presents a literature review on RSS, a sampling method proposed as an efficient alternative to SRS for estimating population mean. The review covers different modifications of RSS and its wide range of applications. Ali et al.5 proposes a new non-parametric CC for monitoring manufacturing processes using sign statistics and RSS. Through simulation and comparison with existing CCs, it demonstrates robustness and improved detection of process shifts, validated by a practical application in substrate manufacturing. Abbas et al.6 suggested nonparametric CC for monitoring manufacturing processes, using the Wilcoxon signed rank test and RSS. The CC outperforms existing methods in detecting shifts in process location. Ali et al.7 studied nonparametric CC utilizing sign statistic and RSS for monitoring non-normal manufacturing processes. It effectively detects small and persistent shifts in process location, outperforming other alternatives, and is demonstrated using real-world data on piston ring diameter. This is primarily due to their enhanced ability to identify and promptly respond to minor to moderate disturbances, which often carry significant consequences. However, measurements of the variables required for construction of the CCs affect the efficiency of these charts during the process control, if not correctly measured.

The performance of the CCs is affected when measurement error (ME) creeps in during measurements of collected data regarding study variable(s) from sample chosen for construction of the CCs. Sometimes, the variation arises due to ME because of the deviation from actual measurement of the study variable which causes quality disturbances and undesired results. Consequently, the detection power of the CCs to find out-of-control signals is affected due to inaccurate measurements of the variables under study. To tackle the challenge of ME, researchers have introduced various methods for CCs. Mittag and Stemann8 investigates the impact of ME, specifically gauge imprecision, on the effectiveness of Shewhart-type \(\overline{X} - S\) CCs. The study demonstrates that gauge imprecision can significantly affect the chart's ability to quickly detect process disturbances or result in incorrect signals of an out-of-control process state, depending on the timing of the error. This CC is based on the model \(Y\, = \,X\, + \,\varepsilon\), where X embodies the true value of the study variable, \(\varepsilon\) represents the random error term, and Y represents the observed value during the measurement process. Stemann and Weihs9 conducted a comprehensive study exploring the use of the EWMA \(\overline{X} - S\) CC in the presence of ME. Linna and Woodall10 performed an analysis on the effectiveness of the \(\overline{X} - S^{2}\) CC when ME is present. They employed a model \(Y = A + BX + \varepsilon\), where A and B are known constants. In a related study, Linna et al.11 investigated the influence of ME on multivariate CCs. Maravelakis et al.12 suggested the application of the EWMA CC in the presence of ME, incorporating a model with linear covariates. Additionally, they investigated the implications of multiple measurements and a linearly increasing variance. Afterwards many authors studied the impact of ME on the efficiency of the CCs during industrial production e.g., Huwang and Hung13, Wu14, Hu et al.15, 16, Sabahno and Amiri 17, Riaz et al.18, Javaid et al.19, Noor-ul-Amin et al.20, 21 etc. Imran et al.22 examined the influence of ME on multivariate CUSUM CCs for compositional data (CoDa). ME had a significant impact on the CCs, particularly due to the error variance–covariance matrix. Subgroup size and the powering operator enhanced the CCs by reducing ARL. Conversely, an increase in the number of variables had an adverse effect, leading to higher ARL values. Real-world examples illustrated the practical application of these CCs in uncoated aspirin tablet manufacturing and muesli production machine monitoring. The researchers employed various techniques, including the covariate method, multiple measurements of the same sampled variable of interest, and the linearly increasing variance method. These techniques were used to compare the performance of CCs in the presence and absence of ME. The study’s conclusion emphasized that ME has a significant influence on the effectiveness of the CCs.

CCs typically rely on the classical approach, which considers only sample information and disregards prior knowledge. In contrast, the Bayesian analysis utilizes the posterior (P) distribution to seamlessly integrate sample information with prior knowledge. Menzefricke23 introduced a CC for the location parameter of a process by employing Bayesian theory. Within the Bayesian framework, the utilization of a LF serves the purpose of mitigating risks linked with the estimator, ultimately aiming to achieve the optimal Bayes estimator. In a study by Wu and Tian24, the CUSUM CC was recommended for monitoring both the process mean and variance, considering the weighted LF of the production process. Menzefricke25 conducted a study on variance CCs using the distribution applying Bayesian methodology. Additionally, Serel26 recommended a Bayesian-EWMA CC for both the process mean and variance, employing different LF techniques. Noor et al.27 investigates the application of Bayesian theory in control charting, incorporating symmetric and asymmetric LFs with informative and non-informative priors to create a hybrid EWMA (HEWMA) CC. The effectiveness of the offered chart is assessed using ARL and SERL measures, with simulations and a real data example provided. A novel adaptive EWMA (AEWMA) CC that integrates the Shewhart chart and EWMA chart to detect both large and small/moderate shifts in process mean suggested by Noor-ul-Amin and Noor28. The AEWMA chart is implemented using Bayesian theory, considering various LFs, informative priors, and performance measures like ARL and SDRL. A comparative study compares the suggested AEWMA chart with existing Bayesian EWMA charts, supported by a real-data example and a Monte Carlo simulation study for assessment. Noor et al.29 introduced a EWMA CC based on the Bayesian approach that incorporated diverse LFs, demonstrating the efficacy of their proposed approach.

All previous studies discussed in this article have predominantly focused on classical and Bayesian approaches utilizing SRS. In contrast, the objective of this research is to propose a Bayesian-EWMA CC that incorporates the concept of ME and employs various RSS techniques. We investigate two distinct LFs, namely the SELF and the LLF, to identify shifts in the location parameter of process. The effectiveness of the offered CC is assessed using the ARL and the SDRL. The structure of this paper is as follows: Sect. “Bayesian approach” discusses the Bayesian approach for the EWMA control chart and the employed LFs. Section “Ranked set sampling” provides an explanation of the different RSS designs. ME is explored in Sect. “Measurement error”, followed by the introduction of the recommended EWMA CC with ME using RSS applying Bayesian methodology in Sect. “Proposed Bayesian-EWMA CC based on with and without measurement error using various LFs under RSS schemes”. Section “Discussion on tables and main findings” presents the key findings, while Sect. “Real life data applications” demonstrates real-life data applications. Finally, Sect. “Conclusion” contains the conclusion of the article, and the limitations and recommendations are included in Sects. “Limitations of the study” and “Future recommendation”, respectively.

Bayesian approach

The Bayesian approach is a powerful technique employed to estimate unknown population parameters by leveraging the P distribution, which incorporates information from both the sample data and prior knowledge. This methodology not only enables parameter estimation but also provides a robust framework for quantifying uncertainty and systematically updating beliefs. The prior distribution encapsulates our understanding or belief concerning an unknown population parameter prior to considering any specific evidence. It can be classified into two primary types: informative prior and non-informative prior. An informative prior is utilized when we have relevant information about the parameter of the prior distribution. On the other hand, the concept of a conjugate prior is explored, which occurs when the sampling distribution and prior distribution share the same family of distributions. The focus is on studying a variable X with a mean of \(\theta\) and a variance of \(\sigma^{2}\)for the in-control process. To model the prior distribution, we choose a conjugate normal prior with parameters \(\theta_{0}\) and \(\sigma_{0}^{2}\), which can be mathematically represented as follows:

$$p\left( \theta \right) = \frac{1}{{\sqrt {2\pi \delta_{0}^{2} } }}\exp \left\{ { - \frac{1}{{2\delta_{0}^{2} }}\left( {\theta - \theta_{0} } \right)^{2} } \right\}$$
(1)

When there is insufficient information about a parameter in the prior distribution, it is known as a non-informative prior. In such cases, the prior has minimal impact on the P distribution. One common approach is to represent a non-informative prior as a uniform distribution. The probability density function (pdf) of a uniform distribution is typically expressed as \(P\left( \theta \right)\, = \,c \, \surd \left( {n/\sigma^{2} } \right)\), where c represents a constant of proportionality.

The P distribution, characterized by parameter \(\theta\), combines the prior distribution and sample distribution in the following manner:

$$p\left( {\theta |x} \right) = \frac{{p\left( {x|\theta } \right)p\left( \theta \right)}}{{\int {p\left( {x|\theta } \right)p\left( \theta \right)d\theta } }}$$
(2)

When we encounter a new data point Y, the PP distribution is derived by treating the P distribution as a prior distribution. This method enables us to integrate the information gleaned from the observed data and revise our predictions for the new data point. By employing the P distribution as a prior, we take into account the uncertainty associated with parameter estimation, resulting in a distribution that captures our refined understanding. Essentially, the PP distribution combines the existing data with the P distribution to furnish an informed prediction for the new data point Y. which is mathematized as

$$p\left( {y|x} \right) = \int {p\left( {y|\theta } \right)p\left( {\theta |x} \right)d\theta }$$
(3)

In the Bayesian theory framework, LFs play a crucial part in curtailing the risk connected with the Bayes estimator. This study aims to explore the utilization of two specific types of LFs, namely symmetric and asymmetric, to address the research objectives at hand.

Squared error loss function

Gauss30 conducted a study on SELF as a symmetric LF, in which the study variable X and \(\hat{\theta }\) were employed as estimators to estimate the unknown population parameter \(\theta\). The expression for the SELF is provided below:

$$L\left( {\theta ,\hat{\theta }} \right) = \left( {\theta - \hat{\theta }} \right)^{2}$$
(4)

and the \(\hat{\theta }_{{\left( {SELF} \right)}}\) is mathematized as

$$\hat{\theta }_{{\left( {SELF} \right)}} = E_{\theta /x} \left( \theta \right)$$
(5)

Linex loss function (LLF)

The LLF is an asymmetric LF proposed by Varian31, which efficiently estimates the population parameter while mitigating the risks linked with the Bayes estimator. Mathematically, the LLF can be described as follows:

$$L\left( {\theta ,\hat{\theta }} \right) = \left( {e^{{c\left( {\theta - \hat{\theta }} \right)}} - c\left( {\theta - \hat{\theta }} \right) - 1} \right)$$
(6)

and \(\hat{\theta }_{{\left( {LLF} \right)}}\) is defined as

$$\hat{\theta }_{{\left( {LLF} \right)}} = - \frac{1}{c}InE_{\theta /x} \left( {e^{ - c\theta } } \right)$$
(7)

Ranked set sampling

Mclntyre32 initially introduced the concept of the RSS, which holds particular significance in cases where accurately measuring the study variable poses challenges. The estimator based on the RSS scheme is recognized for its superior efficiency when compared to simple random sampling (SRS). RSS combines the benefits of SRS using the additional sources of information, including auxiliary information, personal judgment, or expert knowledge. The comprehensive methodology for sample selection using the RSS scheme is elaborated upon within this context.

Step 1 To implement the RSS scheme, the initial step involves identifying the \(m^{2}\) units from the population under study. Subsequently, these units are randomly allocated into m sets of equal size, and all the units within the m sets are arranged in ascending order.

Step 2 Once the units have been ranked, the selection process commences by choosing the first unit from the first set, the second unit from the second set, and so on, until the last unit is selected from the last set. This cycle of selecting units completes one iteration of the RSS with a size of m.

If required, the above steps can be repetitive r times to achieve the anticipated sample size of n = mr. This repetition ensures that the sample size reaches the intended value.

The mathematical description of the mean estimator based on the RSS scheme is as follows:

$$\overline{Z}_{{\left( {RSS} \right)}} = \frac{1}{m}\sum\limits_{i = 1}^{m} {Z_{i\left( i \right)} }$$
(8)

and variance

$${\text{var}} \left( {\overline{Z}_{{\left( {RSS} \right)}} } \right) = \frac{{\delta^{2} }}{m} - \frac{1}{{m^{2} }}\sum\limits_{i = 1}^{m} {\left( {\mu_{\left( i \right)} - \mu } \right)}$$
(9)

Median ranked set sampling

Muttalk33 proposed the MRSS scheme as an altered rendition of RSS, with the objective of improving the estimation of the population mean. The succeeding two steps offers a comprehensive impression of the sample selection methodology utilized in MRSS:

Step 1 Following a similar approach to RSS, the MRSS scheme involves identifying m2 units from the population under study. These units are subsequently allocated into m sets, each comprising m units of equal size. The units within each set are organized in ascending order.

Step 2 After the ranking process is complete, if the sample size (represented as m) is an odd number, select the unit located at the \(\left\{ {{\raise0.7ex\hbox{${\left( {m + 1} \right)}$} \!\mathord{\left/ {\vphantom {{\left( {m + 1} \right)} 2}}\right.\kern-0pt} \!\lower0.7ex\hbox{$2$}}} \right\}\) th position from each set. In this situation of an even sample size, choose the units ranked at the \(\left( {{\raise0.7ex\hbox{$m$} \!\mathord{\left/ {\vphantom {m 2}}\right.\kern-0pt} \!\lower0.7ex\hbox{$2$}}} \right)\) th position from the first set and select the unit at the \(\left\{ {{\raise0.7ex\hbox{${\left( {m + 2} \right)}$} \!\mathord{\left/ {\vphantom {{\left( {m + 2} \right)} 2}}\right.\kern-0pt} \!\lower0.7ex\hbox{$2$}}} \right\}\) th position from the last \(\left( {{\raise0.7ex\hbox{$m$} \!\mathord{\left/ {\vphantom {m 2}}\right.\kern-0pt} \!\lower0.7ex\hbox{$2$}}} \right)\) th set. This series of steps constitutes a single cycle of the MRSS sample, with a size of m. To acquire an MRSS sample with a size of n = mr, the aforementioned steps can be repeated r times.

Applying MRSS, the mean estimator with single cycle, for an odd sample is expressed as follows:

$$\overline{Z}_{{\left( {MRSS} \right)O}} = \frac{1}{m}\left( {\sum\limits_{i = 1}^{m} {Z_{{i\left( {\frac{m + 1}{2}} \right)}} } } \right)$$
(10)

and variance

$${\text{var}} \left( {\overline{Z}_{{\left( {MRSS} \right)O}} } \right) = \frac{1}{m}\left( {\delta_{{\left( {\frac{m + 1}{2}} \right)}}^{2} } \right)$$
(11)

In the MRSS design, if the sample size is even, the population mean estimator for single cycle can be expressed as:

$$\overline{Z}_{{\left( {MRSS} \right)O}} = \frac{1}{m}\left( {\sum\limits_{i = 1}^{{{\raise0.7ex\hbox{$m$} \!\mathord{\left/ {\vphantom {m 2}}\right.\kern-0pt} \!\lower0.7ex\hbox{$2$}}}} {Z_{{i\left( \frac{m}{2} \right)}} } + \sum\limits_{i = 1}^{{{\raise0.7ex\hbox{$m$} \!\mathord{\left/ {\vphantom {m 2}}\right.\kern-0pt} \!\lower0.7ex\hbox{$2$}}}} {Z_{{\frac{m}{2} + i\left( {\frac{m + 1}{2}} \right)}} } } \right)$$
(12)

with variance

$${\text{var}} \left( {\overline{Z}_{{\left( {MRSS} \right)O}} } \right) = \frac{1}{m}\left( {\delta_{{\left( \frac{m}{2} \right)}}^{2} + \delta_{{\left( {\frac{m + 2}{2}} \right)}}^{2} } \right)$$
(13)

Extreme ranked set sampling

A modified version of Ranked Set Sampling (RSS), known as the Extreme RSS (ERSS) design, was introduced by Samawi et al. 34. This modification is particularly beneficial when gathering a collection of units becomes more challenging than selecting extreme units alone. The authors provided a comprehensive explanation of the entire process involved in selecting an ERSS sample.

Step 1 By randomly selecting m2 elements from the target population and distributing them into m sets, each of the same size, we ensure that the elements within each set are representative of the variable under consideration.

Step 2 In the ERSS process, after ranking the units, the selection of extreme units depends on the sample size. If the sample size is even, the smallest unit from the first \(\left( {{\raise0.7ex\hbox{$m$} \!\mathord{\left/ {\vphantom {m 2}}\right.\kern-0pt} \!\lower0.7ex\hbox{$2$}}} \right)\) th order set and the largest unit from the last \(\left( {{\raise0.7ex\hbox{$m$} \!\mathord{\left/ {\vphantom {m 2}}\right.\kern-0pt} \!\lower0.7ex\hbox{$2$}}} \right)\) th order set are chosen.

However, when the sample size is odd, the ERSS scheme involves selecting the smallest unit from the first \(\left( {{\raise0.7ex\hbox{${m - 1}$} \!\mathord{\left/ {\vphantom {{m - 1} 2}}\right.\kern-0pt} \!\lower0.7ex\hbox{$2$}}} \right)\) th order set, the largest unit from the last \(\left( {{\raise0.7ex\hbox{${m - 1}$} \!\mathord{\left/ {\vphantom {{m - 1} 2}}\right.\kern-0pt} \!\lower0.7ex\hbox{$2$}}} \right)\) th order set, and the median unit from the last set. This completes one full cycle of the ERSS sampling method.

If deemed necessary, the above-mentioned two steps can be iterated r times to acquire an ERSS sample consisting of n = mr observations. When dealing with a uniform sample size in a single cycle, the mathematical representation for calculating the mean estimator of ERSS can be expressed as follows:

$$\overline{Z}_{{\left( {ERSS} \right)O}} = \frac{1}{m}\left( {\sum\limits_{i = 1}^{{\left( {\frac{m - 1}{2}} \right)}} {Z_{i\left( 1 \right)} } + \sum\limits_{i = 1}^{{\left( {\frac{m - 1}{2}} \right)}} {Z_{{\left( {\frac{m - 1}{2}} \right) + i\left( l \right)}} } + Z_{{m\left( {\frac{m + 1}{2}} \right)}} } \right)$$
(14)

and

$${\text{var}} \left( {\overline{Z}_{{\left( {ERSS} \right)O}} } \right) = \frac{1}{{2m^{2} }}\left( {\delta_{\left( 1 \right)}^{2} + \delta_{\left( m \right)}^{2} } \right) + \frac{1}{{l^{2} }}\left( {\delta_{{\left( {\frac{m + 1}{2}} \right)}}^{2} } \right)$$
(15)

For odd sample size, the estimator of ERSS in case of with one cycle is defined as

$$\overline{Z}_{{\left( {ERSS} \right)e}} = \frac{1}{m}\left( {\sum\limits_{i = 1}^{{\left( \frac{m}{2} \right)}} {Z_{i\left( 1 \right)} } + \sum\limits_{i = 1}^{{\left( \frac{m}{2} \right)}} {Z_{{\frac{m}{2} + i\left( l \right)}} } } \right)$$
(16)

with variance

$${\text{var}} \left( {\overline{Z}_{{\left( {ERSS} \right)e}} } \right) = \frac{1}{2m}\left( {\delta_{\left( 1 \right)}^{2} + \delta_{\left( m \right)}^{2} } \right)$$
(17)

Measurement error

Measurement error refers to the variation between the observed value and the true value of a specific measurement. It is characterized by a constant magnitude that remains consistent across different observations. In this study, the covariate model has been employed to address ME. Additionally, to minimize the impact of ME, the multiple measurements technique has been utilized. This technique involves taking multiple measurements for each observation, allowing for a more precise estimation of the true underlying value.

Using covariate model, EWMA CC with ME

The inspiration of ME on the Shewhart CC is examined by employing the model proposed by Bennett35. The model is defined as follows:

$$Y = X + \varepsilon$$
(18)

The covariate model assumes that the variable under study X follows a normal distribution with a mean of \(\theta\) and a variance of \(\delta^{2}\) for the in-control process. This model takes into account measurement inexactness by incorporating a random error term, \(\varepsilon\). Linna and Woodall10 conducted further investigation on the covariate model, which is defined as follows:

$$Y = A + BX + \varepsilon$$
(19)

Assuming the known parameters involved in the model and the independence of X and \(\varepsilon\), (i.e., \(Cov\left( {X,\varepsilon } \right) = 0\)), we consider the measured variable Y. Y is assumed to follow a normal distribution with a mean of  + B and a variance of \(B^{2} \delta^{2} + \delta_{m}^{2}\). i.e. \(Y \sim N\left( {A + B\theta ,B^{2} \delta^{2} + \delta_{m}^{2} } \right)\). Based on these assumptions, the EWMA CC for the measured variable Y can be defined as follows:

$$F_{t} = \lambda \overline{y}_{t} + \left( {1 - \lambda } \right)F_{t - 1} ,\,and\,F_{0} = A + B\theta$$
(20)

Let \(\overline{y}_{t}\) represent the sample mean for \(t = 1,2,3,...\) , and smoothing constant \(\lambda\). The control limits for EWMA CC based on covariate model are determined as follows:

$$UCL = \left( {A + B\theta } \right) + L\sqrt {\frac{{\lambda \left( {B^{2} \delta^{2} + \delta_{m}^{2} } \right)}}{{n\left( {2 - \lambda } \right)}}}$$
(21)
$$LCL = \left( {A + B\theta } \right) - L\sqrt {\frac{{\lambda \left( {B^{2} \delta^{2} + \delta_{m}^{2} } \right)}}{{n\left( {2 - \lambda } \right)}}}$$
(22)

Under multiple measurements EWMA CC with ME

Linna and Woodall10 proposed a method, also adopted by Maravelakis et al.12 and Abbasi36 that is useful in minimaxing ME by taking multiple measurements instead of a single measurement per sampling unit. If the number of repeated measurements increases indefinitely, the variability of ME component tends to decrease towards zero. However, it should be noted that by increasing the number of measurements, the additional cost and time will be added at each additional measurement and these two factors cannot be ignored by the quality expert. Maravelakis et al.12 investigated how multiple measurements impact the effectiveness of the EWMA CC. They derived the plotting statistic specifically for the EWMA CC with multiple measurements as follows:

$$F_{t} = \lambda \overline{y} + \left( {1 - \lambda } \right)F_{t - 1} ,\,and\,F_{0} = A + B\theta$$
(23)

Assuming \(\overline{y}\) represents the mean of multiple observations at time t, the control limits for the EWMA CC with multiple measurements can be described as follows:

$$UCL = \left( {A + B\theta } \right) + L\sqrt {\frac{\lambda }{{\left( {2 - \lambda } \right)}}\left( {\frac{{B^{2} \delta^{2} }}{n} + \frac{{\delta_{m}^{2} }}{nk}} \right)}$$
(24)
$$LCL = \left( {A + B\theta } \right) - L\sqrt {\frac{\lambda }{{\left( {2 - \lambda } \right)}}\left( {\frac{{B^{2} \delta^{2} }}{n} + \frac{{\delta_{m}^{2} }}{nk}} \right)}$$
(25)

where k is the number of measurements taken for the same sampling unit.

Proposed Bayesian-EWMA CC based on with and without measurement error using various LFs under RSS schemes

In this section, we explore the utilization of various LFs within RSS schemes for the Bayesian-EWMA CC. The resulting P distribution, obtained through the implementation of a conjugate prior (normal prior), is presented as follows:

$$P\left( {\theta |y} \right) = \frac{1}{{\sqrt {2\pi } \sqrt {\frac{{\delta^{2} \delta_{0}^{2} }}{{\delta^{2} + n\delta_{0}^{2} }}} }}\exp \left[ { - \frac{1}{2}\left( {\frac{{\theta - \sum\limits_{i = 1}^{n} {\frac{{y_{i} \delta_{0}^{2} + \theta_{0} \delta_{0}^{2} }}{{\delta^{2} + n\delta_{0}^{2} }}} }}{{\sqrt {\frac{{\delta^{2} \delta_{0}^{2} }}{{\delta^{2} + n\delta_{0}^{2} }}} }}} \right)^{2} } \right]$$
(26)

the P distribution is normally distributed with mean \(\theta_{n}\) and variance \(\delta_{n}^{2}\) is given as \(\theta /Y \sim N\left( {\theta_{n} ,\delta_{n}^{2} } \right)\), where \(\theta_{n} = \frac{{n\overline{y} \delta_{0}^{2} + \delta^{2} \theta_{0} }}{{\delta^{2} + n\delta_{0}^{2} }}\) and \(\delta_{n}^{2} = \frac{{\delta^{2} \delta_{0}^{2} }}{{\delta^{2} + n\delta_{0}^{2} }}\).

The suggested statistic for the EWMA CC based on Bayesian analysis under different RSS strategies is written as:

$$F_{t} = \lambda \hat{\theta }_{{ME\left( {RSS_{i} } \right)LF}} + \left( {1 - \lambda } \right)F_{t - 1}$$
(27)

where \(i = 1,2,3,\) \(\begin{gathered} RSS_{1} = RSS \hfill \\ RSS_{2} = MRSS \hfill \\ RSS_{3} = ERSS \hfill \\ \end{gathered}\), and \(F_{0} = 0\).

Using covariate model, proposed CC with ME using various RSS designs applying SELF for P distribution

The Bayes estimator utilizing Bayesian-EWMA CC, considering various RSS schemes under the SELF for P distribution, is as follows:

$$\hat{\theta }_{{psc\left( {SELF} \right)}} = \frac{{n\overline{y}_{{(RSS_{i} )}} \delta_{0}^{2} + \left( {B^{2} \delta^{2} + \delta_{m}^{2} } \right)\theta_{0} }}{{n\delta_{0}^{2} + B^{2} \delta^{2} + \delta_{m}^{2} }}$$
(28)

The asymptotic control limits for the EWMA CC, taking into account various RSS strategies under the assumption of SELF for the P distribution, are given by:

$$UCL = E\left( {\hat{\theta }_{{psc\left( {SELF} \right)}} } \right) + LS_{psc} \sqrt {\frac{\lambda }{2 - \lambda }}$$
(29)
$$LCL = E\left( {\hat{\theta }_{{psc\left( {SELF} \right)}} } \right) - LS_{psc} \sqrt {\frac{\lambda }{2 - \lambda }}$$
(30)

where \(E\left( {\hat{\theta }_{{psc\left( {SELF} \right)}} } \right) = \frac{{n\left( {A + B\theta } \right)\delta_{0}^{2} + \left( {B^{2} \delta^{2} + \delta_{m}^{2} } \right)\theta_{0} }}{{n\delta_{0}^{2} + B^{2} \delta^{2} + \delta_{m}^{2} }}\) and \(S_{psc} = \sqrt {\frac{{n\delta_{0}^{2} B^{2} \delta^{2} + \delta_{m}^{2} }}{{\left( {n\delta_{0}^{2} + B^{2} \delta^{2} + \delta_{m}^{2} } \right)^{2} }}}\) where \(i = 1,2,3.\) \(\begin{gathered} RSS_{1} = RSS \hfill \\ RSS_{2} = MRSS \hfill \\ RSS_{3} = ERSS \hfill \\ \end{gathered}\).

Using multiple measurements method, Bayesian-EWMA CC with ME using various RSS strategies applying SELF for P distribution

The estimator for the EWMA CC using Bayesian methodology, considering distinct RSS strategies under the SELF for P distribution, is as follows:

$$\hat{\theta }_{{psmm\left( {SELF} \right)}} = \frac{{n\overline{y}_{{(RSS_{i} )}} \delta_{0}^{2} + \left( {\frac{{B^{2} \delta^{2} }}{n} + \frac{{\delta_{m}^{2} }}{nk}} \right)\theta_{0} }}{{n\delta_{0}^{2} + \left( {\frac{{B^{2} \delta^{2} }}{n} + \frac{{\delta_{m}^{2} }}{nk}} \right)}}$$
(31)

the asymptotic control limits for the recommended Bayesian CC, considering different RSS schemes using the SELF for P distribution with the multiple measurement’s method, are mathematized as follows:

$$UCL = E\left( {\hat{\theta }_{{psmm\left( {SELF} \right)}} } \right) + LS_{psmm} \sqrt {\frac{\lambda }{2 - \lambda }}$$
(32)
$$LCL = E\left( {\hat{\theta }_{{psmm\left( {SELF} \right)}} } \right) - LS_{psmm} \sqrt {\frac{\lambda }{2 - \lambda }}$$
(33)

where \(E\left( {\hat{\theta }_{{psmm\left( {SELF} \right)}} } \right) = \frac{{n\left( {A + B\theta } \right)\delta_{0}^{2} + \left( {\frac{{B^{2} \delta_{{\left( {RSS} \right)_{i} }}^{2} }}{n} + \frac{{\delta_{m}^{2} }}{nk}} \right)\theta_{0} }}{{n\delta_{0}^{2} + \left( {\frac{{B^{2} \delta_{{\left( {RSS} \right)_{i} }}^{2} }}{n} + \frac{{\delta_{m}^{2} }}{nk}} \right)}}\) and \(S_{psc} = \sqrt {\frac{{n\delta_{0}^{2} \left( {\frac{{B^{2} \delta_{{\left( {RSS} \right)_{i} }}^{2} }}{n} + \frac{{\delta_{m}^{2} }}{nk}} \right)}}{{\left( {n\delta_{0}^{2} + \left( {\frac{{B^{2} \delta^{2} }}{n} + \frac{{\delta_{m}^{2} }}{nk}} \right)} \right)^{2} }}}\), where \(i = 1,2,3.\) \(\begin{gathered} RSS_{1} = RSS \hfill \\ RSS_{2} = MRSS \hfill \\ RSS_{3} = ERSS \hfill \\ \end{gathered}\).

The Appendix A provides the remaining estimator, mean, standard deviation, and asymptotic control limits for the proposed Bayesian-EWMA CC based on ME. These estimates are based on different RSS designs under the assumption of LLF, while also incorporating an informative prior for both methods i.e., covariate model and multiple measurement of handling ME, and the complete r codes for evaluating the run length profile is included in Appendix B.

Discussion on tables and main findings

Tables 1, 2 and 3 display the outcomes of the Bayesian EWMA CC with and without ME, considering three RSS schemes and two LFs for P and PP distribution using informative priors. Similarly, Tables 4, 5 and 6 follow the same pattern but incorporate multiple measurements of the same sampled values. In this section, the tables are examined, and the key findings of the offered EWMA CC applying Bayesian theory utilizing various RSS design are presented.

Table 1 The run length profiles for Bayesian-EWMA CC with ME using P and PP distribution under SELF for covariate model, for \(\lambda\) = 0.25, n = 5.
Table 2 Under covariate model, run length outcomes of the Bayesian-EWMA CC with ME using LLF for P distribution using \(\lambda\) = 0.25, n = 5.
Table 3 ARL and SDRL outcomes for Bayesian-EWMA CC under ME for PP distribution under LLF for covariate model, for \(\lambda\) = 0.25, n = 5.
Table 4 Utilizing SELF, the run length profile values of the Bayesian-EWMA CC in presence ME for P and PP distribution for multiple measurements, for \(\lambda\) = 0.25, n = 5.
Table 5 The run length profile results for Bayesian-EWMA CC with ME for P distribution under LLF for multiple measurements method, for \(\lambda\) = 0.25, n = 5.
Table 6 Under LLF, ARL and SDRL results for Bayesian-EWMA CC in presence of ME for PP distribution for multiple measurements method, for \(\lambda\) = 0.25, n = 5.

Tables 1, 2, 3, 4, 5 and 6 reveal that ARL and SDRL values are decreased as the shift is increased from 0.10 to 0.20 and so on up till 4. Every minor to moderate shift in the process parameter detects earlier as the ARL for each shift is decreased as compared with the earlier ARL value which approaches unit value at shift 4. These phenomena can be observed for no error, error of 0.5, or 1 under all the three Bayesian RSS, MRSS, and ERSS techniques in all the six tables which is proved as the basic quality of EWMA CCs. Upon examining the tables concerning the influence of measurement error on CC efficiency, we observe a consistent pattern across all tables. As the error magnitude increases from zero to 0.5 and subsequently to a unit value, the ARLs also increase correspondingly. This leads to a delay in detecting process shifts for all types of RSS. This trend leads us to highlight that the ME has negative effect on the efficiency of EWMA CCs for identifying of moderate to minor process shifts in the industrial production. If we examine Table 1, we can observe the results for the run length profile of the proposed Bayesian-EWMA CC. The table displays these outcomes for distinct RSS designs applying SELF for the covariate model, taking into account A = 0 and B = 1. Additionally, the table presents results for different values of \(\frac{{\delta_{m}^{2} }}{{\delta^{2} }}\), representing no error, 0.5, and 1. The run length values increased with an increase in the value of \(\frac{{\delta_{m}^{2} }}{{\delta^{2} }}\). For example, at \(\frac{{\delta_{m}^{2} }}{{\delta^{2} }}\) = 0.0, 0.5 and 1 with \(\lambda = 0.25\) and shift \(\sigma = 0.40\), the ARL values are the 21.77, 34.79 and 44.98 for RSS, 17.19, 28.48 and 37.21 for MRSS while for ERSS are 26.17, 40.72 and 55.84. The same can be seen from Table 6 at \(\frac{{\delta_{m}^{2} }}{{\delta^{2} }}\) = 0.0, 0.5 and 1 with \(\lambda = 0.25\) and \(\sigma = 0.40\), the ARL values are 22.07, 24.79 and 27.06 for RSS, while 17.17, 19.08 and 31.23 for MRSS and for ERSS are 25.63, 29.71 and 33.74.

Another aspect of these tables can also be elaborated that ARL values of the Bayesian MRSS technique are smaller than the RSS and ERSS techniques for all the tables for any shift which indicates that the MRSS technique is efficient as compared with other two techniques of ranked set sampling and it performs better under the ME problem. It is also clearly seen from above mentioned values of Table 1. We can also see the same trend from Table 3. Table 3 displays the effectiveness evaluation of the suggested CC applying ME utilizing LLF. The table examines distinct RSS designs for PP distribution while considering changes in the values of \(\frac{{\delta_{m}^{2} }}{{\delta^{2} }}\) at λ = 0.25. For example, at \(\frac{{\delta_{m}^{2} }}{{\delta^{2} }}\) = 0.0, 0.5 and 1 with \(\sigma = 0.30\), the ARL outcomes are 38.60, 60.34 and 69.74 for RSS, 31.76, 48.57 and 61.96 for MRSS. The ARL values for ERSS are 48.21, 70.40 and 112.78.

When we compare the Tables 1, 2 and 3 with the Tables 4, 5 and 6 respectively, it can be observed that corresponding tables are the same except later ones are constructed with multiple measurements having all other features same as those of first three tables except “no error” columns of Tables 4, 5 and 6 are also same as were in Tables 1, 2 and 3. Tables 4, 5 and 6 reveal that the multiple measurements of the same sample play an important role to reduce the ME effect. The ARL values of Tables 4, 5 and 6 are comparatively smaller than the respective values under the Tables 1, 2 and 3 to show that multiple measurements reduce the effect of ME and increase the chart efficiency to detect the process shift earlier. For example, Table 4 shows that at \(\frac{{\delta_{m}^{2} }}{{\delta^{2} }}\) = 0.5 and 1 with \(\sigma = 0.40\), the ARL values are 25.48 and 26.97 for RSS, 20.85 and 22.46 applying MRSS and ARL outcomes for ERSS are 30.66 and 33.18 which are far less than the corresponding values of Table 1 explained in earlier discussion.

On the basis of above discussion, we can devise main findings here.

  • The EWMA CCs are efficient in detection of moderate to minor process shifts as shown from ARL and SDRL values in all the six tables for proposed charts.

  • That ME has negative effect on the efficiency of the recommended CCs which is also discussed above.

  • The MRSS performs better than other two i.e., RSS and ERSS even during the problem of ME for detection of process shifts earlier. The same is clear from all the ARL values shown in the tables constructed for proposed CCs.

  • The multiple measurements reduce the error effect as is clear from ARL values of Tables 4, 5 and 6 and discussion on tables earlier. It is proved that multiple measures reduce the error effect for our proposed charts.

  • Based on the analysis of P and PP distributions in the Bayesian framework, it can be observed that the offered Bayesian EWMA CC in the existence ME, implemented under the MRSS scheme, demonstrates reduced sensitivity to ME compared to other RSS designs. These observations are derived from the utilization of informative priors and the consideration of both LFs.

Real life data applications

In this article, we showcase the application of the proposed Bayesian-EWMA CC with ME using data obtained from Montgomery 37 in the context of the hard-bake process in semiconductor production. The dataset consists of 45 samples, where each sample consists of 5 wafers, resulting in a total of 225 data points. The measurements of the flow width are recorded in microns, with a fixed time interval of one hour between each sample. The first 30 samples, comprising 150 observations, are classified as the under-control process (referred to as the phase-I dataset). Conversely, the remaining 15 samples, totaling 75 observations, are considered the out-of-control process (referred to as the phase-II dataset).

To implement the proposed Bayesian-EWMA CC under covariate model utilizing RSS strategies with SELF, we consider various values of the error ratio \(\frac{{\delta_{m}^{2} }}{{\delta^{2} }}\), specifically 0.0, 0.5, and 1 Figs. 1, 2, and 3 present the outcomes of the offered CC for the covariate model under SELF applying RSS. The values of \(\frac{{\delta_{m}^{2} }}{{\delta^{2} }}\) considered are 0.0, 0.5, and 1, respectively. Based on the analysis, it is observed that the process deviates from control in the 36th, 41st, and 43rd samples.

Figure 1
Figure 1
Full size image

Bayesian-EWMA CC with RSS by utilizing SELF for covariate model at \(\frac{{\delta_{m}^{2} }}{{\delta^{2} }} = 0\).

Figure 2
Figure 2
Full size image

Utilizing SELF, Bayesian CC by utilizing RSS for covariate model at \(\frac{{\delta_{m}^{2} }}{{\delta^{2} }} = 0.5.\)

Figure 3
Figure 3
Full size image

Bayesian-EWMA CC for covariate model using RSS design with SELF at \(\frac{{\delta_{m}^{2} }}{{\delta^{2} }} = 1.\)

Figures 4, 5, and 6 demonstrate the implementation of the proposed CC using the MRSS designs, employing the SELF with a covariate model. The chart considers outcomes of and error ratios \(\frac{{\delta_{m}^{2} }}{{\delta^{2} }}\) equal to 0.0, 0.5, and 1. Based on these figures, it is evident that the process shows out-of-control signals in the 32nd, 36th, and 38th samples. Similarly, Figs. 7, 8, and 9 illustrate the performance of the proposed CC under the ERSS design, indicating out-of-control signals in the 35th, 38th, and 40th samples within the same scenario. This highlights that the MRRS scheme is most suitable as compared with other two schemes regarding efficiency of control charts for process shift detection during industrial manufacturing.

Figure 4
Figure 4
Full size image

Utilizing SELF, Bayesian-EWMA CC for covariate model with MRSS for \(\frac{{\delta_{m}^{2} }}{{\delta^{2} }} = 0\).

Figure 5
Figure 5
Full size image

Bayesian-EWMA CC with covariate model under MRSS utilizing SELF for \(\frac{{\delta_{m}^{2} }}{{\delta^{2} }} = 0.5.\)

Figure 6
Figure 6
Full size image

Bayesian-EWMA CC for covariate model with MRSS by using SELF for \(\frac{{\delta_{m}^{2} }}{{\delta^{2} }} = 1.\)

Figure 7
Figure 7
Full size image

Bayesian-EWMA CC using ERSS for covariate model by using SELF for \(\frac{{\delta_{m}^{2} }}{{\delta^{2} }} = 0\).

Figure 8
Figure 8
Full size image

Bayesian EWMA CC under ERSS for covariate model by using SELF for \(\frac{{\delta_{m}^{2} }}{{\delta^{2} }} = 0.5.\)

Figure 9
Figure 9
Full size image

Utilizing covariate model, Bayesian CC under ERSS using SELF for \(\frac{{\delta_{m}^{2} }}{{\delta^{2} }} = 1.\)

Conclusion

This article examines the impact of ME on the EWMA CC utilizing Bayesian methodologies when utilizing distinct RSS designs applying LFs, specifically SELF and LLF. The effectiveness of the suggested CC with ME is assessed through the evaluation of the ARL and SDRL. The ARL values provide insights into the simulation results of Bayesian-EWMA CCs using RSS schemes for both the covariate method and multiple measurements. Our findings indicate that the proposed Bayesian-EWMA CC, implemented with the MRSS scheme, demonstrates improved efficiency compared to other RSS schemes in the presence of ME. Based on these results, we recommend employing the Bayesian-EWMA-MRSS CC for effective monitoring of process mean shifts in the presence of ME.

Limitations of the study

When faced with a large sample size, computing the Bayesian EWMA CC with ME under RSS strategies can be complex. The Bayesian updating process entails calculating the distribution for both the process mean and variance at each sample point, which can be time-consuming and demanding in terms of resources. Additionally, the Bayesian approach necessitates the careful specification of prior distributions for the process mean and variance. If these priors are not chosen with care, they can negatively impact the performance of the CC. Furthermore, selecting appropriate prior distributions often involves subjectivity and relies on expert knowledge, introducing the potential for bias in the analysis.

Future recommendation

The Bayesian EWMA CC with ME and RSS designs has the potential for broader application beyond its original context. It can serve as a foundation for developing other CCs that incorporate memory. Additionally, this approach shows promise in accommodating distributions beyond the normal distribution. For instance, it can be adapted to handle data that follows a Binomial or Poisson distribution. In such cases, adjustments to the likelihood function used in Bayesian updating may be necessary. Expanding the proposed approach to encompass a variety of CCs and non-normal distributions presents an opportunity to enhance the efficiency and effectiveness of quality control processes in various industries, including finance, healthcare, and production.