Introduction

Variation plays a vital role in the operation of the manufacturing industry and control charts are extremely valuable and effective tools in Statistical Process Control (SPC) practice. These charts are widely utilized in different service subdivisions to monitor production process. The key aim of applying control charts is to ensure process constancy and to identify rare deviations in production so that the control system can implement necessary corrections before non-conforming items are produced. Walter A. Shewhart suggested the concept of memoryless charts in the 1920s which, with later modifications, served as the basis for modern Statistical Process Control (SPC). Page1 suggested the cumulative sum (CUSUM) chart, whereas the exponentially weighted moving average (EWMA) control chart was presented by Roberts2. These CUSUM and EWMA charts are predominantly effective at detecting small to medium shifts in the manufacturing process. On the other hand, the Shewhart chart excels at being able to identify significant fluctuations in the process parameters. Alduais et al.3 introduces a Rayleigh EWMA scheme, enhancing the detection capabilities of the traditional VSQR chart for monitoring process variability in Rayleigh distributed processes, evaluated through design limits, parameters, and Monte Carlo simulations. To address this issue, Capizzi and Masarotto4 proposes an AEWMA chart to address the limitations of traditional EWMA control charts, aiming for improved performance in detecting both small and large shifts in the mean of a sequence of independent observations. Comparisons with different control charts demonstrate that AEWMA schemes provide more balanced protection against shifts of varying sizes. Other authors, including5,6,7,8,9 have also made significant contributions to this research area. Haq et al.10 introduced an AEWMA chart to monitor the production process. This control chart utilizes estimated shift size, ARL and SDRL as performance measurement tools. Zaman et al.11 introduced an innovative adaptive version of the EWMA chart that incorporates Tukey's bi-square functions. This approach has shown particular effectiveness in detecting shifts during the monitoring of the process mean. Atif et al.12 proposed a new configuration for the AEWMA chart intended for process mean surveillance. The chart's effectiveness is evaluated based on the ARL and SDRL metrics. Abbas et al.13 focus on the application of RSS in designing dispersion charts for manufacturing processes, emphasizing their effectiveness over traditional methods in detecting process variations. The study highlights the improved performance of the proposed control chart structures, illustrating their timely identification of special causes in a bottle-filling process. Abbas et al.14 introduce a novel scheme for dispersion charts using neoteric RSS, enhancing accuracy in quality control and environmental monitoring. The comparison analysis confirms the enhanced effectiveness of dispersion charts based on NRSS in the context of a non-isothermal continuous stirred tank chemical reactor model. Mohammadkhani et al.15 studied extensively reviewed the application of RSS for control chart design, seeking to bridge research gaps and offer suggestions for future research in statistical process monitoring (SPM) and control chart design.

The previously mentioned research on statistical quality control charts has mostly concentrated on the traditional approach, which relies exclusively on available sample data and does not use prior knowledge. Bayesian estimation offers an alternative approach to estimate a population parameter, incorporating both sample and prior information to revise the posterior (P) distribution for an unknown population parameter. Girshick and Rubin16 proposed the notion of a quality control chart within the Bayesian framework. Saghir et al.17 suggested a Bayesian chart for the P distribution that takes into account both informative and non-informative priors. They also used LFs to track the production process. Bourazasa et al.18 studied a Bayesian method for online monitoring, prioritizing outlier detection and leveraging predictive distribution across diverse data sets. Simulation results emphasized its advantages over frequentist methods, showcasing robustness to prior sensitivity and model misspecification, with practical examples highlighting its suitability for short production runs and online phase I monitoring. Asalam and colleagues19 proposed an improved modified EWMA chart using Bayesian analysis. The evaluation of the suggested chart considers the ARL and SDRL, demonstrating its superior capability in promptly identifying out-of-control signals compared to existing charts. Noor and co-authors20 explored a Bayesian hybrid EWMA control chart suitable for P and PP distributions, examining informative and non-informative priors, along with various LFs. The evaluation of the chart's performance was conducted based on the ARL and SDRL. Noor et al.21 conducted a study on the AEWMA chart using Bayesian theory for identifying the process mean, utilizing various LFs. The assessment of the control chart’s performance commonly entails the examination of the run length profiles. Lin et al.22 proposed an EWMA chart using Bayesian methodology for identifying changes in the process variance within a distribution-free process. They identified the favorable sampling properties of the statistic proposed in their study, designed for monitoring the time-varying process distribution. Moreover, they demonstrated the efficacy of the control chart through an extensive simulation study. Hybrid EWMA chart utilizing Bayesian concept that employs various RSS designs along with an informative prior for monitoring the location parameter was suggested by Khan et al.23. The performance of the recommended chart was appraised using run length results, and a comparison was made with hybrid EWMA (HEWMA) and AEWMA charts applying Bayesian concepts applying SRS. Liu et al.24 presented a Bayesian AEWMA control chart employing diverse LFs and PRSS for accurate process mean shift detection, outperforming other control charts, especially under PRSS schemes. Its efficacy was verified in semiconductor manufacturing, confirming its dominance in identifying out-of-control signals over existing methods. Wang et al.25 examined the impact of ME on the Bayesian EWMA control chart, evaluating various RSS designs and loss functions. By utilizing Monte Carlo simulations and actual data, the research illustrates the notable impact of ME on the control chart, particularly endorsing the median RSS approach in such scenarios.

Ranked set sampling is a sampling technique that involves ordering the units in a sample according to their responses. It has advantages over SRS, such as reducing the sample size and increasing efficiency. By combining Bayesian inference with the control chart and RSS strategies, the chart becomes more robust and sensitive to changes in the process. This combination allows for better decision-making regarding process control and facilitates timely corrective actions. Overall, the role of Bayesian chart using RSS designs is to enhance the accuracy and efficiency of process monitoring, improve quality control, and support effective decision-making in statistical quality management. Hence, the primary objective of our research is to propose an AEWMA control chart using a Bayesian methodology that integrates various RSS designs, such as median RSS (MRSS) and extreme RSS (ERSS). Furthermore, we integrate informative prior distributions into symmetric and asymmetric LFs, such as SELF and LLF, applicable to both the P and PP distributions. To assess the performance of the offered chart. We analysis various metrics, such as ARL and SDRL.

The remaining part of the article is structured as follows: The second section introduces the Bayesian method and LFs. Section “Ranked set sampling” discusses the various RSS systems. Section “Proposed Bayesian AEWMA control chart” presents a Bayesian AEWMA control chart with multiple RSS systems. Section “Simulation study” includes a comparison between the suggested and existing charts, and Section “Results discussion and main findings” presents the key results. Section “Real data applications” contains the numerical analysis, while Section “Conclusion” concludes the article. Section “Limitations of the study” and “Future recommendation” include the study limitations and recommendations, respectively.

Bayesian approach

The Bayesian approach is a statistical methodology that utilizes probability theory to update our beliefs about the likelihood of a hypothesis when new evidence is provided. It involves starting with a prior probability distribution that represents our initial beliefs regarding the hypothesis and updating it using Bayes’ theorem to obtain a posterior distribution that reflects our revised beliefs. The foundation of the Bayesian approach lies in the recognition that probability serves as a powerful tool for capturing and expressing uncertainty. By leveraging probability, we can seamlessly integrate prior knowledge and uncertainty into our analytical framework. There are two primary categories of prior information: informative prior and non-informative prior. An informative prior is a prior distribution of a parameter that includes pertinent and established knowledge regarding an unidentified population parameter. By integrating existing information, the prior distribution is informed and influenced accordingly. A conjugate prior arises when the prior distribution and the sampling distribution are part of the same family of distributions, enabling simpler analytical calculations and yielding posterior distributions that are of the same form as the prior. The Bayesian approach finds widespread application in diverse fields such as medical research and finance. This approach proves valuable in handling situations characterized by incomplete information and uncertainty. This methodology offers valuable tools for handling and incorporating uncertainty, making it applicable to a broad range of fields. In present study, the variable under study X is defined by its mean \(\theta\) and variance \(\delta^{2}\) with under control process with considering conjugate prior, with parameters \(\theta_{0}\) and \(\delta_{0}^{2}\), is defined 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 no prior information available about the population parameter, Bayesian statisticians often use a non-informative prior. A non-informative prior is characterized by a prior distribution that has slight influence on the P distribution, aligning with the fundamental principles of the Bayesian approach for integrating preceding information into the analysis. In numerous instances, researchers commonly adopt a non-informative prior that aligns with a uniform distribution. This implies allocating equal probability to all plausible parameter values within a predefined range. The probability function representing the uniform prior distribution is as follows:

$$p\left( \theta \right) \propto \sqrt {\frac{n}{{\delta^{2} }}} = c\sqrt {\frac{n}{{\delta^{2} }}}$$
(2)

Here c represents the constant of proportionality.

The prior function that is proportional to Fisher information matrix was introduced by Jeffrey26 because the uniform prior does not satisfy the invariance criterion. The following is Jeffrey's recommended prior probability function:

$$p\left( \theta \right) \propto \sqrt {I\left( \theta \right)}$$
(3)

Here \(I\left( \theta \right)\) represents Fisher information matrix.

For a population parameter theta, the P distribution, which combines a sample distribution and a prior distribution, is mathematizied as:

$$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 } }}.$$
(4)

For a fresh dataset Y, the PP distribution, based on the P distribution, is mathematically described as

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

Bayesian inference heavily relies on the utilization of LFs to address potential risks related with the Bayesian estimator. In the present study, we have incorporated two types of LFs: symmetric (SELF) and asymmetric (LLF). By employing these LFs, we aim to effectively manage and mitigate uncertainties inherent in the Bayesian framework.

Squared error loss function

The SELF, based on Bayesian theory in the context of estimation, is a mathematical measure used to quantify the discrepancy between the true parameter value and its estimated value. The calculation entails squaring the discrepancy between the estimated parameter value and the actual value. The Bayesian methodology incorporates prior information about the parameter by employing the prior distribution. The SELF is then utilized to assess the quality of the estimate obtained within this framework. By reducing the expected value of the square error loss, Bayesian estimation aims to find the optimal estimate that strikes a balance between the data-driven information and prior beliefs. In the current study, we employed the LF suggested by Gauss27. The SELF, which takes into account the variable under consideration X and the estimator \(\hat{\theta }\) used to calculate the unknown population parameter \(\theta\), is mathematized as:

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

and based on SELF the Bayes estimator mathematically described as:

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

Linex loss function

Varian28 introduced an asymmetric LF called LLF, which is specifically designed to mitigate the risks related with the Bayesian estimator. The LLF can be mathematically expressed as follows:

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

Utilizing LLF, the Bayesian estimator \(\hat{\theta }\) is mathematizied as

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

Ranked set sampling

McIntyre29 introduced an innovative sampling scheme known as RSS. This sampling method provides a novel approach for picking a sample from a given population. The complete procedure for implementing RSS can be summarized as follows:

  1. i.

    Randomly select m2 independent samples from the target population, and distribute them into m sets with an similar size of m elements. The ordering of the m units within each set can be determined by the researcher's personal judgment, auxiliary variables, or any method that does not require direct measurement.

  2. ii.

    After arranging all m sets, the selection process begins with picking the initial element from the first set, followed by selecting the second element from the second set, and so on. This sequence of actions completes a single cycle of RSS. If required, these two steps can be repeated r times to get a sample of size n = rm. The RSS procedure can be described as follows: \(Z_{i(j),r}\), i,j = 1,2,3,…,m; r = 1,2,3,…,c, where \(Z_{i(j),r}\) represents the jth order statistic in the ith sample set with cycle r. The mean and variance of the ranked set sample estimator are presented specifically for the case when c = 1.

Using RSS design, the unbiased estimator for the population mean is mathematically defined as

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

and with 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)} .$$
(11)

Where μ is overall mean.

Median ranked set sampling

The median ranked set sampling (MRSS) technique, a modification of the RSS design, was first described by Muttlak30. The MRSS estimator was created primarily to increase the accuracy of population mean estimation. The whole process for choosing a sample when utilizing the MRSS design is described below:

  1. i.

    In the MRSS design, a sample of n units is chosen from the population of interest applying a method akin to RSS. These selected units are subsequently divided into m sets of equal size. Within each set, the units are ordered in ascending fashion utilizing specific variable under consideration.

  2. ii.

    When the set size is even, the selection process involves picking the smallest units from the two middle elements of the \(\left( {{\raise0.7ex\hbox{$m$} \!\mathord{\left/ {\vphantom {m 2}}\right.\kern-0pt} \!\lower0.7ex\hbox{$2$}}} \right)th\) set. Likewise, it requires selecting the largest units from the two middle elements of the \(\left( {{\raise0.7ex\hbox{$m$} \!\mathord{\left/ {\vphantom {m 2}}\right.\kern-0pt} \!\lower0.7ex\hbox{$2$}}} \right)th\) set. In the case where m is odd, the selection focuses on the middle elements from 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\) order sets. This sequence of steps completes one cycle of the MRSS scheme. Certainly, this process allows for the repetition of the steps a total of r times, leading to the accumulation of a sample size denoted as n = rm.

The estimate for the population mean of one cycle in MRSS is defined as follows in a situation of an odd sample size:

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

And with variance

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

The estimator for the population mean using the MRSS design with a single cycle is defined as follows for a sample size that is odd:

$$\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)$$
(14)

And 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).$$
(15)

Extreme ranked set sampling

Samawi and Muttlak31 introduced the concept of the ERSS design. The ERSS design is particularly beneficial in situations where collecting the central unit is more challenging compared to the extreme units. The following outlines are the complete methodology for choosing a sample using the ERSS design:

  1. i.

    Picked \(m^{2}\) units from the underlying population and distribute them into m sets of equal size. Rank all the units within each set based on a variable of interest.

  2. ii.

    If the set size is even, select the smallest units from the \(\left( \frac{m}{2} \right)th\) ranked sets and choose the largest elements from the remaining \(\left( \frac{m}{2} \right)th\) orderd sets. When m is odd, select the smallest elements from the \(\left( {\frac{m - 1}{2}} \right)th\) ranked sets and largest elements from the last \(\left( {\frac{m - 1}{2}} \right)th\) ranked sets. The middle unit is selected from the last ranked set.

When the sample size is odd and there is only one cycle, the mean estimator of the ERSS is defined as

$$\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)$$
(16)

and variance

$${\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).$$
(17)

In the situation, when the sample size is odd and single cycle is performed than the mean estimator of ERSS is mathematized 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)$$
(18)

And.

$${\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).$$
(19)

Proposed Bayesian AEWMA control chart

In this section, we focus on the AEWMA chart constructed using Bayesian theory, investigating the application of diverse RSS strategies for efficient monitoring of irregular variations in the location parameter of a process conforming to a normal distribution. Consider X1, X2,…, Xn as independent and identically normally distributed random variables with a \(\theta\) and \(\sigma^{2}\). The mathematical description of the probability function is as follows:

$$f\left( {x_{t} :\theta ,\sigma^{2} } \right) = \frac{1}{{\sqrt {2\pi \sigma^{2} } }}\exp \left( { - \tfrac{1}{{2\sigma^{2} }}\left( {x_{t} - \theta } \right)^{2} } \right).$$
(20)

Let the estimated mean shift \({\widehat{\delta }}_{t}^{*}\) be represented as an AEWMA sequence utilizing \(\left\{ {X_{t} } \right\}\). The expression for the estimated mean shift is as follows:

$$\hat{\delta }_{t}^{*} = \psi X_{t} + \left( {1 - \psi } \right)\hat{\delta }_{t - 1}^{*}$$
(21)

where \(\hat{\delta }_{0}^{*} = 0\) and \(\psi\) is smoothing constant, for the out-of-control process the estimator \(\hat{\delta }_{t}^{*}\) is biased and for the under-control process, the estimator \(\hat{\delta }_{t}^{*}\) is unbiased. Haq et al.10 introduced the concept of an unbiased estimator for δ in both under control and out-of-control process situations. This unbiased estimator is mathematically described as follows:

$$\hat{\delta }_{t}^{**} = \frac{{\hat{\delta }_{t}^{*} }}{{1 - \left( {1 - \psi } \right)^{t} }}.$$
(22)

It is offered to use \(\hat{\delta }_{t} = \left| {\hat{\delta }_{t}^{**} } \right|\) for obtaining estimate of \(\delta\).

The proposed statistic, denoted as \(E_{t}\), is based on the Bayesian theory and incorporates various RSS strategies. It utilizes the sequence \(\left\{ {X_{t} } \right\}\) to estimate the process mean.

$$E_{t} = f\left( {\hat{\delta }_{t} } \right)\hat{\theta }_{{\left( {RSS_{i} } \right)LF}} + \left( {1 - f\left( {\hat{\delta }_{t} } \right)} \right)E_{t - 1} ,$$
(23)

where \(i = 1,2,3,\) \(\begin{gathered} RSS_{1} = RSS \hfill \\ RSS_{2} = MRSS \hfill \\ RSS_{3} = ERSS \hfill \\ \end{gathered}\), \(f\left( {\hat{\delta }_{t} } \right) \in \left( {0,\left. 1 \right]} \right.\) and \(E_{0} = 0\) such that

$$f\left( {\hat{\delta }_{t} } \right) = \left\{ {\begin{array}{*{20}l} {\frac{1}{{a\left[ {1 + \left( {\hat{\delta }_{t} } \right)^{ - c} } \right]}} } &\quad {if \; 0 < \hat{\delta }_{t} \le 2.7} \\ 1 &\quad {if \; \hat{\delta }_{t} > 2.7} \\ \end{array} } \right..$$
(24)

Sarwar and Noor-ul-Amin12 proposed a function, as illustrated in Eq. (24), that adapts the smoothing constant in response to the estimated shift. The recommended values for the constants used in Eq. (24) are a = 7 and c = 1 when \(1 < \hat{\delta }_{t} \le 2.7\). For \(\hat{\delta }_{t}\) values less than or equal to 1, it is suggested to use a value of c equal to 2. In this scenario, if the plot statistics exceed the designated threshold , the process is categorized as out of control. Conversely, if the plot statistics remain below the specified threshold , the process is considered to be in the state of control.

In instances where both the likelihood function and prior distribution are normally distributed, the resulting posterior distribution also follows a normal distribution, characterized by the mean, θ, and the variance, σ2. The probability density function (pdf) is given by:

$$P\left( {\theta /x} \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{{x_{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]$$
(25)

where \(\theta_{n} = \frac{{n\overline{x} \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} }}\) respectively.

The \(\hat{\theta }_{{\left( {SELF} \right)}}\) for the suggested chart utilizing Bayesian analysis, while accounting for different RSS strategies applying symmetric LF, is depicted as:

$$\hat{\theta }_{{\left( {SELF} \right)}} = \frac{{n\overline{x}_{{(RSS_{i} )}} \delta_{0}^{2} + \delta^{2} \theta_{0} }}{{\delta^{2} + n\delta_{0}^{2} }}.$$
(26)

The properties of the offered Bayes estimator with SELF i.e. \(\hat{\theta }_{{\left( {SELF} \right)}}\) is given as \(E\left( {\hat{\theta }_{{\left( {SELF} \right)}} } \right) = \frac{{n\theta_{1} \delta_{0}^{2} + \delta^{2} \theta_{0} }}{{\delta^{2} + n\delta_{0}^{2} }}\) and \(sd\left( {\hat{\theta }_{{\left( {SELF} \right)}} } \right) = \sqrt {\frac{{n\delta_{{(RSS_{i} )}}^{2} \delta_{0}^{4} }}{{\delta^{2} + n\delta_{0}^{2} }}}\). The Bayes estimator for the recommended chart employing Bayesian theory and applying RSS strategies with the LLF is mathematized as:

$$\hat{\theta }_{{\left( {_{LLF} } \right)}} = \frac{{n\overline{x}_{{(RSS_{i} )}} \delta_{0}^{2} + \delta^{2} \theta_{0} }}{{\delta^{2} + n\delta_{0}^{2} }} - \frac{{C^{\prime } }}{2}\delta_{n}^{2} .$$
(27)

The properties of \(\hat{\theta }_{{\left( {_{LLF} } \right)}}\) is given by \(E\left( {\hat{\theta }_{LLF} } \right) = \frac{{n\theta_{1} \delta_{0}^{2} + \delta^{2} \theta_{0} }}{{\delta^{2} + n\delta_{0}^{2} }} - \frac{{C^{\prime } }}{2}\) and \(sd\left( {\hat{\theta }_{{\left( {LLF} \right)}} } \right) = \sqrt {\frac{{n\delta_{{(RSS_{i} )}}^{2} \delta_{0}^{4} }}{{\delta^{2} + n\delta_{0}^{2} }}}\) respectively.

Consider a set of feature observations of size h, indicated as y1, y2,…,yn. In the suggested AEWMA chart using Bayesian theory and implementing RSS strategies for the posterior predictive distribution, the probability density function of yx is presented as:

$$p\left( {{\raise0.7ex\hbox{$y$} \!\mathord{\left/ {\vphantom {y x}}\right.\kern-0pt} \!\lower0.7ex\hbox{$x$}}} \right) = \frac{1}{{\sqrt {2\pi \delta_{1}^{2} } }}\exp \left\{ { - \frac{1}{{2\delta_{1}^{2} }}\left( {Y - \theta_{n} } \right)^{2} } \right\}$$
(28)

where yx normally distributed with \(\theta_{n}\) and standard deviation \(\delta_{1}\), derived as \(\delta_{1} = \sqrt {\delta^{2} + \frac{{\delta^{2} \delta_{0}^{2} }}{{\delta^{2} + n\delta_{0}^{2} }}}\). Using various RSS designs, the estimator of \(\theta\) for PP distribution based on LLF defined as

$$\hat{\theta }_{LLF} = \frac{{n\overline{x}_{{(RSS_{i} )}} \delta_{0}^{2} + \delta^{2} \theta_{0} }}{{\delta^{2} + n\delta_{0}^{2} }} - \frac{{C^{\prime } }}{2}\tilde{\delta }_{1}^{2}$$
(29)

where \(\tilde{\delta }_{1}^{2} = \frac{{\delta^{2} }}{k} + \frac{{\delta^{2} \delta_{0}^{2} }}{{\delta^{2} + n\delta_{0}^{2} }}\). The properties of \(\hat{\theta }_{LLF}\) is given as \(E\left( {\hat{\theta }_{LLF} } \right) = \frac{{n\theta_{1} \delta_{0}^{2} + \delta^{2} \theta_{0} }}{{\delta^{2} + n\delta_{0}^{2} }} - \frac{{C{\prime} }}{2}\tilde{\delta }_{1}^{2}\) and \(sd\left( {\hat{\theta }_{LLF} } \right) = \sqrt {\frac{{n\delta_{{(RSS_{i} )}}^{2} \delta_{0}^{4} }}{{\left( {\delta^{2} + n\delta_{0}^{2} } \right)^{2} }}}\) respectively.

Simulation study

The performance assessment of the offered chart is conducted various different RSS strategies through the utilization of Monte-Carlo simulation method. The run length results are computed for various mean shifts. The in-control process is specified at 370. By adjusting the smoothing constant sci = 0.10, we analyze the impact of the recommended chart with RSS strategies. The following steps outline the simulation process for the proposed method.

Step 1: setting in-control ARL

  1. i.

    The prior and sampling distribution are chosen to be the standard normal distribution, and the properties are computed for various LFs. i.e., \(E\left( {\hat{\theta }_{{\left( {_{LLF} } \right)}} } \right)\) and \(\delta_{LLF}\).

  2. ii.

    Begin by specifying the hyperparameters for the Bayesian chart. These hyperparameters are vital for defining the prior distribution. For instance, determine the parameters of the prior distribution, which is chosen to be the standard normal distribution, and the associated hyperparameters such as the mean and variance.

  3. iii.

    Use the specific smoothing constant (e.g., sci = 0.10) as a hyperparameter for determining the threshold value (h). The choice of this hyperparameter influences the sensitivity of the control chart.

  4. iv.

    Random samples of size n are generated from a normal distribution. Ensure that the hyperparameters of this normal distribution, such as mean and variance, are well-defined as they significantly affect the data generation process.

  5. v.

    Utilizing Bayesian theory, calculate the AEWMA statistic \(E_{t}\), and assess the performance of the process rendering to the proposed design.

  6. vi.

    In the event that the process is confirmed to be in a state of control, it is advisable to repeatedly move through steps one to three until the moment the process is recognized as being out of control. It is important to document the run-length for the process that remains in control.

Step 2: for out-of-control ARL

  1. i.

    The random samples are generated from the normal distribution for the shifted process i.e., \(X \sim N\left( {E\left( {\hat{\theta }} \right) + \partial \frac{\delta }{\sqrt n },\delta } \right)\), where \(\partial\) represents the shift in the process mean.

  2. ii.

    Calculate the \(E_{t}\) and appraise the process according to the suggested strategy.

  3. iii.

    If the process is identified as being under control, it is recommended to continue the iterative process of the initial two stages until signals of being out of control are observed. It is essential to keep a record of the run length during the in-control process.

  4. iv.

    Calculate the ARL and SDRL after 100,000 iterations of steps (i—iii).

Results discussion and main findings

The comparison of existing chart utilizing Bayesian analysis based on SRS with the offered AWEMA control under different RSS strategies by using two different LFs with the same smoothing constant values shown in Tables 1, 23, 4, 5 and 6. Tables 1 and 2 indicates the results for suggested CC utilizing RSS designs (RSS, MRSS, ERSS) and using informative prior based on SELF, and the existing CC using Bayesian theory with SRS for P and PP distribution. The efficiency of the recommended chart is evaluated through \(ARL_{1}\), the smaller values of \(ARL_{1}\) indicates the fast detection of the out of control motions. According to findings, the proposed AEWMA control chart implemented within RSS strategies exhibits a higher level of sensitivity in identifying out of control signs compared with existing Bayesian chart implemented within SRS. For example, the ARL values of EWMA chart applying Bayesian concept based on SRS with SELF at \(\psi = 0.10\) and various shifts i.e., \(\sigma\) = 0.0, 0.30, 0.50, 0.80, 1.50, 4 are 371.16, 66.57, 28.35, 13.41, 5.79 and 2.12 and under the similar condition, ARL values of AEWMA chart using Bayesian analysis are 370.16, 43.59, 18.90, 7.90, 2.56 and 1.01. According to the same situation, ARL outcomes for the suggested CC using RSS, MRSS, and ERSS are 370.25, 11.56, 7.41, 3.10, 1.28, 1, and the values under MRSS are 371.55, 15.58, 5.94, 2.57, 1.16, 1 and 370.13, 21.96, 8.30, 3.47, 1.37 and 1are ARL results using ERSS. The results show that the proposed CC, when utilized with RSS designs, exhibits better performance compared with both existing Bayesian EWMA and AEWMA charts implemented with SRS. In a similar vein, when employing the LLF, Table 6 presents a comprehensive comparison among the existing EWMA chart and AEWMA chart implemented with SRS utilizing Bayesian concept, and the proposed chart implemented using RSS strategies with an informative prior. The table provides a detailed analysis of their respective performances and highlights any notable differences or advantages among them. Under SRS, ARL values for EWMA CC at \(\psi = 0.25\) and different shifts \(\sigma\) = 0.0, 0.30, 0.50, 0.80, 1.50, 4 are 370.23, 103.68, 41.26, 15.79, 5.18 and 1.66. Further, 369.25, 55.67, 27.50, 12.91, 4.08, and 1.08 are the ARL values of AEMWA CC applying SRS. ARL values of suggested CC applying RSS are 371.18, 29.24, 12.42, 5.13, 1.71, 1, under MRSS ARL results are 370.56, 23.96, 9.87, 3.99, 1.43, 1 and ARL results of ERSS are 369.23, 31.48, 13.82, 5.80, 1.88, and 1. The ARL results of the recommended chart, implemented using RSS strategies, demonstrate a significant decrease when larger shifts occur. This suggests that the offered chart is more subtle and effective in identifying out-of-control signs compared to both the existing Bayesian control charts implemented with SRS. The detailed findings of the proposed chart, utilizing RSS strategies, are presented below:

  • Based on the observations provided in Tables 1 and 2, it is evident that the run length outcomes for the proposed Bayesian chart, incorporating SELF via RSS stratigies, display a sharp decrease with increasing mean shift. This trend indicates the unbiased nature of the suggested chart. For instance, referring to Table 1 with an ARL of 370 and \(\psi\) = 0.10, the ARL results at various shifts such as δ = 0.20 and 0.70 are as follows: 38.40 and 3.93 for RSS, 32.19 and 3.14 for MRSS, and 41.80 and 4.43 for ERSS.

  • Similarly, the effectiveness of suggested chart, implemented applying RSS strategies, is appraised applying LLF by altering the values of \(\psi\) = 0.10 and 0.25. Tables 3 and 4 display the ARL outcomes of the chart with LLF. The results indicate that with an increase in the value of the weighting constant, the efficiency of the suggested chart diminishes. For example, at \(ARL_{0} = 370\), \(\psi = 0.10\) and shift δ = 0.20, The corresponding ARL outcomes of the offered chart using RSS, MRSS, and ERSS are 36.50, 31.73, and 41.91. For the same shift δ = 0.20 and \(\psi = 0.25\), ARL value for RSS is 50.89, under MRSS is 43.63, and under ERSS is 52.45.

  • The findings suggest that with an increase in the value of the weighting constant, the efficiency of the proposed chart diminishes. For instance, with a certain value of the weighting constant, α, and a shift value of δ = 0.20, the corresponding ARL results for the offered chart employing RSS, MRSS, and ERSS are 36.50, 31.73, and 41.91. Similarly, for the same shift δ = 0.20 and a different value of α, the ARL values are 50.89 for RSS, 43.63 for MRSS, and 52.45 for ERSS.

  • Moreover, the ARL values utilizing LLF for suggested Bayesian chart under RSS designs are presented in Tables 5 and 6, the results designate that the ARL values for recommended Bayesian AEWMA under RSS at \(ARL_{0} = 370\), δ = 0.20 and smoothing constant \(\psi = 0.10\) is 7.42 and the ARL results at \(\psi = 0.25\) is 12.42, in the same situation the ARL values under MRSS are 5.92 and 9.87. The ARL values using ERSS are 8.46 and 13.82. The results presented in Tables 3, 4, 5, and 6 demonstrate consistent efficiency for P and PP distributions under LLF.

Table 1 Run length results for the suggested chart applying SELF, for \(\psi\) = 0.10, n = 5.
Table 2 ARL outcomes for the offered chart using Bayesian approach given SELF, for \(\psi\) = 0.10, n = 5.
Table 3 ARL and SDRL values of the chart utilizing LLF, for \(\psi\) = 0.10, n = 5.
Table 4 Run length results using LLF for the proposed control chart with \(\psi\) = 0.10, n = 5.
Table 5 Using LLF, ARL and SRDL results of the Bayesian EWMA and AEWMA charts for PP distribution, for \(\psi\) = 0.10, n = 5.
Table 6 Run length outcomes for the recommended chart with \(\psi\) = 0.10, n = 5.

The suggested chart with Bayesian analysis under RSS designs for P and PP distributions, applying an informative prior and taking into account both LFs, namely SELF and LLF, are presented in Tables 1, 2, 3, 4, 5, and 6. The results show that, in comparison to existing RSS designs, the suggested chart applying MRSS has effective out-of-control signal identification.

Real data applications

The practical demonstration of the suggested Bayesian method utilizing RSS designs utilizing various LFs under an informative prior is exemplified through an analysis of data from Montgomery32, focusing on the hard-bake process in semiconductor manufacturing. This particular process involves the application of heat to the photoresist material during the photolithography procedure to remove any residual solvents and ensure a uniform and stable surface for light exposure. Data was gathered from a semiconductor production facility, consisting of critical dimension measurements for wafers that underwent diverse hard-bake processes. Each set of data, totaling 45 samples, included measurements in microns at one-hour intervals for 5 wafers. Notably, the initial 30 samples were deemed to be under control, while the subsequent 15 samples were identified as out-of-control. We present a comprehensive description of the procedure for implementing the recommended AEWMA CC under RSS designs in the following steps.

  1. i.

    First, classify your data into in-control and out-of-control observations. In your dataset, you have a total of 150 in-control observations and 75 out-of-control observations.

  2. ii.

    For the in-control phase-I dataset (30 samples), perform RSS as follows:

    1. a.

      From the in-control observations (150 in total), randomly select 25 observations. Divide the randomly selected 25 observations into 5 sets of 5 samples each, chosen randomly.

    2. b.

      Within each set, arrange the 5 samples in ascending order, i.e., from the smallest to the largest

    3. c.

      This step entails the selection of the initial value from the first set, the subsequent value from the second set, and so forth in a sequential manner.

    4. d.

      This forms a ranked set sample of 5 values. d. Repeat steps (a-c) 30 times to create 30 in-control ranked set samples.

  3. iii.

    Similar procedure is carried out for the out-of-control observations (75 in total) to choose the last 15 samples.

  4. iv.

    Specify the informative prior for the Bayesian AEWMA control chart. In this example, the prior is taken as the standard normal distribution. Ensure that the properties of this prior distribution, such as mean and variance, are clearly defined.

  5. v.

    Define the sampling distribution for the data. In our case, consider a normal distribution with specific parameters (mean and standard deviation). For instance, mean = 1.5043 and standard deviation = 0. 04,733,885. Compute the Bayes estimator \(\hat{\theta }_{{\left( {LF} \right)RSS_{i} }}\).The Bayes estimator is standardized utilizing various LFs \(y_{{\left( {LF} \right)}} = \frac{{\left( {\hat{\theta }_{{\left( {LF} \right)RSS_{i} }} - mean\left( {\left( {\hat{\theta }_{{\left( {LF} \right)RSS_{i} }} } \right)} \right)} \right)}}{{sd\left( {\left( {\hat{\theta }_{{\left( {LF} \right)RSS_{i} }} } \right)} \right)}}\), and computes the value of \(h\) for fix \(ARL_{0} = 370\).

  6. vi.

    The subsequent 15 samples are designated as representing an out-of-control process, with the additional increment of 0.007 applied to each observation. These particular samples are then acknowledged as constituting a separate phase-II data set.

  7. vii.

    Following both the methods and plot existing CC utilizing SRS and proposed CC.

In Figs. 4 and 5, the existing Bayesian chart applying SRS under SELF are illustrated for P and PP distributions. The results show that all the points are in control for the EWMA chart, whereas for the AEWMA chart, out-of-control signals are detected starting from the 37th sample. Figures 6, 7, and 8 indicate the results of offered chart under SELF using RSS designs for P and PP distributions. The analysis of the figures indicates the detection of out of control signs on the 34th, 33nd, and 35th samples utilizing RSS, MRSS, and ERSS, respectively. Comparing Figs. 1, 2, 3, 4, 5, 6, 7, and 8, it becomes apparent that the suggested chart, implemented with RSS strategies, exhibits greater sensitivity in identifying out-of-control signs compared to the existing Bayesian charts implemented with SRS.

Figure 1
figure 1

Applying SLEF, ARL plots of the suggested chart for P and PP distribution using various RSS strategies.

Figure 2
figure 2

Based on LLF, ARL plots of the proposed chart for P distribution under different RSS designs.

Figure 3
figure 3

Using LLF, ARL plots of the proposed chart for PP distribution utilizing distinct RSS schemes.

Figure 4
figure 4

Applying SELF, Bayesian EWMA chart with SRS.

Figure 5
figure 5

Based on SRS, plot for AEMWE chart utilizing SELF.

Figure 6
figure 6

Applying RSS, plot of the suggested chart using P and PP distribution for SELF.

Figure 7
figure 7

Based on MRSS, plot of proposed chart using for SELF.

Figure 8
figure 8

Under ERSS, plot of AEWMA chart using Bayesian approach based on SELF.

Conclusion

This study presents a new Bayesian chart that utilizes various ranked set sampling strategies along with an informative prior. It incorporates two distinct LFs based on P and PP distributions for efficiently monitoring the process. The effectiveness of the suggested chart, implemented with RSS designs, is compared to an existing chart under Bayesian theory that uses SRS, as demonstrated in Tables 1, 2, 3, 4, 5, and 6. The ARL plots shown in Figs. 1, 2, and 3 further highlight the superior performance of the suggested chart. For evaluating its effectiveness across diverse RSS strategies, a numerical demonstration was conducted, employing data from the hard bake process in semiconductor production. The results indicated that the proposed chart exhibited improved efficiency in detecting out-of-control signals when compared to the EWMA and AEWMA charts implemented through the Bayesian theory with SRS.

Limitations of the study

When dealing with large sample sizes, constructing the Bayesian AEWMA chart applying RSS designs can pose challenges. The process of Bayesian updating requires calculating the posterior distribution for both the process mean and variance at each sampled point, leading to significant time consumption and resource utilization. Moreover, establishing prior distributions for the process mean and variance within the Bayesian framework is a challenging task. Inaccurate or improperly chosen priors can substantially affect the control chart's performance. Furthermore, selecting suitable prior distributions often involves subjectivity, relying on expert knowledge, which could introduce bias into the analysis, further complicating the decision-making process.

Future recommendation

The application of the recommended chart using RSS designs can be expanded to other charts that incorporate memory. Moreover, the suggested approach exhibits potential for accommodating distributions beyond the normal distribution. Certainly, the concept can be customized for various distributions like Binomial or Poisson distributions, requiring adjustments to the likelihood function for accurate estimations. Expanding the approach to cover diverse control charts and non-normal distributions can enhance quality control processes, benefiting sectors such as finance, healthcare, and production.