Abstract
The control charts are frequently employed in process monitoring to assess the average and variability of a process, assuming a normal distribution. However, it is worth noting that some process distributions tend to exhibit a positively skewed distribution, such as the lognormal distribution. This article proposed a maximum exponential weighted moving average control chart for joint monitoring of mean and variance under a lognormal process. The proposed control chart is evaluated by using the run length profile such as ARL and SDRL. The Monte Carlo simulation is conducted by using the R language to find the run length profile. An application is presented to demonstrate the design of the proposed control chart.
Similar content being viewed by others
Introduction
There have been advancements in the implementation of statistical process control mechanisms to monitor production processes. These mechanisms aim to prevent errors and defective products by promptly identifying the underlying reasons for any unexpected fluctuations. The statistical process control uses control charts as one of its instruments for monitoring processes for alterations. A control chart is the most crucial tool for monitoring processes and discovering faults in this context. The prompt detection of shifts has proven to be effective in mitigating company losses. A control chart serves as a valuable tool for process monitoring and enables them to make timely and accurate decisions to restore production to a stable state. The well-known of these control charts is Shewhart control chart which was designed to keep the mean and dispersion under control. When it comes to spotting large changes in the process, Shewhart control charts perform admirably. However, their performance was inadequate for small to moderate changes. Because of this, in 1954, Page1 developed the CUSUM control chart, which is useful for spotting small changes in the process. Control charts have been widely utilized in various industries, particularly for monitoring processes that follow a normal distribution. However, it is important to note that a given process may deviate from the normal distribution and exhibit positive or right skewness. In a study conducted by Morrison2, as well as Joffe and Sichel3 and Kotz and Lovelace4 presented illustrative situations of processes that adhere to the lognormal distribution.
The evaluation of a control chart's performance is commonly conducted by an analysis of the run length distribution of the control chart. The run length (RL) of a control chart is formally characterized as the quantity of samples acquired prior to the occurrence of an out-of-control signal. Similarly, the average run length (ARL) denotes the anticipated value of the run length. Numerous research has elucidated the impact of parameter estimates on the efficacy of control charts. For instance, refer to the works of Chen5, Quesenberry6, Jones et al.7, Bischak and Trietsch8, Castagliola et al.9, Jensen et al.10 and Psarakis et al.11. They have provided a thorough examination of the current amount of literature about the influence of parameter estimates on the efficacy of control charts. Various research has been conducted in the literature about the development of control charts to monitor the mean of a lognormal distribution. Morrison2 introduced a revised control charting method that employed the sample ratio. Ferrell12 introduced a control chart that was used to monitor the geometric midrange of a lognormal distribution. In their study, Joffe and Sichel3 developed a control chart to effectively monitor the arithmetic mean of a lognormal distribution. Shaheen et al.13 introduced a monitoring control chart that utilizes a repeating sampling strategy to account for lognormal process variance. In their study, Omar et al.14 introduced a highly effective methodology for the surveillance of a process that exhibits a positive skew. Control charts for simultaneous mean and variance monitoring were discussed in detail by McCracken and Chakraborti15, Yang16 advocated using a single-average loss control chart to keep an eye on the mean and standard deviation of a process. This study focuses on the development of three integrated X and S-charts for simultaneous monitoring of the mean and standard deviation of the lognormal distribution. The results of the simulation study indicate that the combined lognormal X and S-charts exhibit favorable performance in cases where the underlying lognormal distribution is highly skewed. Figueiredo and Gomes17, Adekeye and Azubuike18 focused on the development of resilient control charts specifically tailored for non-normal processes. Huang et al.19 introduced a lognormal S control chart to monitor the lognormal standard deviation. Their findings indicated that the proposed S-chart exhibited superior performance as compared to alternative methods. Akhtar et al.20 developed an EWMA chart customized for the lognormal process. Iqbal et al.21 introduced a control chart for monitoring the process mean and variability under the Bayesian Approach. The suggested method utilized Max-EWMA statistic for joint monitoring with different loss functions. Huang22 conducted a study on the lognormal process by employing separate \(\overline{X }\) and S-charts to simultaneously monitor the lognormal mean and standard deviation. In this study, we built upon the previous research conducted by Huang22 and introduced a novel methodology for simultaneously monitoring the scale and shape parameters in a lognormal distribution process with a single statistic.
While existing literature predominantly explores joint monitoring control charts for mean and variance in normal distributions, our contribution fills a notable gap by addressing the complexities of non-normal distributions. This study advances the understanding and application of joint monitoring control charts within the context of non-normal distributions, specifically focusing on the lognormal distribution. This study introduces a methodology that extends the capabilities of traditional control charts to simultaneously monitor the scale and shape parameters inherent in lognormal processes. This research not only expands the theoretical framework of the joint monitoring control chart but also provides practical application where lognormal distribution is prevalent. By offering a single statistic solution for monitoring scale and shape parameters, our methodology enhances the efficiency and accuracy of quality control processes in lognormal distribution scenarios.
The subsequent sections of the paper are structured in the following manner. Section "Design of Proposed Control Chart" provides a discussion on both the lognormal distribution and the proposed control chart. Section "Performance Evaluation:" of this study is dedicated to the evaluation of the performance of the suggested control chart with the help of Monte Carlo simulation. An illustrative example is presented in Section "Iteration for Control Verification" to showcase the practical application of the suggested control chart. The final remarks are provided in Section "Application to Engine Oil Data".
Design of proposed control chart
In this section, we discuss the proposed Max-EWMA control chart for joint monitoring of mean and variance with lognormal distribution. Let \({X}_{1},{X}_{2},{X}_{3},\dots , {X}_{i};i=1, 2, 3, 4,\dots n ,\) follow the lognormal distribution with respective ___location and scale parameters, that is µx and \({\sigma }_{x}\) with a probability density function
The CDF of lognormal distribution is
To convert the mean and variance of a lognormal distribution to a normal distribution, one can use the properties of logarithms
For each data point x from the lognormal distribution, compute Y = ln(x). The resulting values of Y should follow a normal distribution with mean \({\mu }_{y}\) and standard deviation \({\sigma }_{y}\).
The current Shewhart control chart makes use of all the available information in the current sample. On the other hand, the EWMA control chart was designed to provide greater importance to the most recent subgroup, while assigning decreasing weights to previous observations in a geometric manner. The EWMA statistic is employed specifically to analyze shifts in the mean of a process. Roberts23 recommended EWMA statistic for the jth sample of size n for examining mean parameter as given in (3).
Chen et al.24 introduced the concept of simultaneously monitoring both the mean shift and variance shift using a single control chart, which they referred to as the Max-EWMA control chart. Let Y represent a normally distributed random variable in the context of process production. The mean of Y is given by \({\mu }_{y}={\mu }_{0}+a{\sigma }_{0}\) and \({\sigma }_{y}^{2}={b}^{2}{\sigma }_{0}^{2}\) , where \({\mu }_{0}\) and \({\sigma }_{0}^{2}\) are respective parameters for the mean and variance when the process is in a stable state. The variables a and b represent shifts in mean and variance, respectively. In an in-control process, the values of a and b are 0 and 1, respectively. The utilization of Max-EWMA statistic has been found to exhibit enhanced efficiency in detecting minor shifts. The statistical properties of mean and variance for in-control methods, specifically for the jth sample, follow a normal distribution with a mean of zero and a variance of one.
where j = 1, 2, 3,…,n is size of jth sample, the mean \({\overline{Y} }_{j}=\frac{\sum_{j=1}^{n}{Y}_{jk}}{n}\) of jth sample, and variance \({S}_{j}^{2}=\frac{{\sum }_{j=1}^{n}{\left({Y}_{jk}-{\overline{Y} }_{j}\right)}^{2}}{n-1}\) of jth sample, The inverse function of the usual normal distribution is denoted as \({\varnothing }^{-1}\). On the other hand, the random variable \(H(\xi ,v)\) follows a chi-squared distribution with n−1 degrees of freedom.
The two EWMA statistics can be derived by utilizing Eqs. (4) and (5).
In the first sample, the values of \({P}_{0}\) and \({Q}_{0}\) are both set to zero. The smoothing constant, denoted as λ, is defined such that it falls within the range of 0–1, inclusive.
In the suggested statistical framework, the sum of all weights is equal to one. The variables \({U}_{j-1}\) and \({V}_{j-1}\) represent the previous values of the respective quantities. In order to streamline the analysis of mean and variance, we propose employing a single maximum absolute statistic for their joint monitoring of mean and variance, as opposed to analyzing these statistics individually.
A single upper control limit (UCL) is sufficient for the representation of Max-EWMA statistic to regulate the production process. The UCL in Eq. (9) draws inspiration from the research conducted by Chen et al.24. For further insights into the specific values employed in Eq. (9), readers are encouraged to refer to the work of Chen et al.24.
The control constant indicated as L, is determined for achieving the desired average run length (ARL0) in an in-control process. Additionally, the variance is also included in this calculation.
Performance evaluation
The evaluation of the control chart is typically conducted by the analysis of its run length attributes, ARLs and SDRLs. When the process is under control, it is expected that a control chart would possess a large value of ARL, indicating that control chart would infrequently signal any deviations from the established control limits. In contrast, in instances where the process is not under control, a control chart should possess a small ARL, indicating its ability to promptly detect signals indicating an out-of-control state. In the context of control charts, it is generally regarded that the control chart exhibiting a reduced ARL when subjected to a particular shift parameter is deemed to be superior in terms of performance. When the process is operating in a state of control, it is necessary to implement measures to minimize the occurrence of frequent false alarms. To promptly identify any shifts in the out-of-control process, it is imperative that the ARL be minimized. The ARL and SDRL at any shift are denoted by ARL1 and SDRL1. A lower value of SDRL serves as an indicator of improved performance of a control chart. Monte Carlo simulations are employed to calculate the ARLs with each run consisting of 30,000 repeats. During the duration of the analysis, it is necessary for the calculated value of the plotting statistic \({T}_{j}\) to fall under the UCL. The following steps are considered to compute the run length profile:
Initialization
Select the parameters of the lognormal distribution L(\(\alpha\)0, \(\gamma\)0) and transform them into the parameters of normal distribution by using the Eqs. (1) and (2).
Sample generation
Obtain the sample of size n by using the transformed parameters of standard normal distribution and calculate the statistic of the proposed control chart by using Eq. (8).
Set up the UCL
Set up the UCL by selecting the initial value of the control constant (L) as described in Eq. (9) and compare the plotting statistic with UCL.
Iteration for control verification
Continue iterating the last three steps of the procedure until it's verified to be within control. If the process is identified as out of control, note down the count of in-control occurrences as the run length.
ARL0 calculation
Compute ARL0 by repeating the above steps (1–4) for 30,000 times. Should the target ARL0 not be achieved, redo the preceding steps by using a different value for L. The selected value of L for a specific ARL0 will be used in the next step.
6. ARL1 calculation
Select the shifted parameters of the lognormal distribution L(\(\alpha\), \(\gamma\)). Repeat the steps 1 to 4 and compute the value of ARL1 by repeating the process 30,000 times.
The shift occurs when the value of the plotted statistic falls outside the UCL. The impact of variations in lognormal parameters on the process mean and process standard deviation is taken into consideration. In this context, the shape parameters undergo variations at the values of 0.5, 1, 1.25, 1.5, 1.75, 1.9, 2, 2.16, 2.25, 2.5, 2.75, 3.00, 4.00 and 5.00. While the scale parameters experience changes at the values of 0.25, 0.5, 0.75, 1, 1.25, 1.5, 1.649, 1.75, 2, 2.25, 2.5, 2.75, 3.00, 4.00, and 5.00. The process at point L(1.65, 2.16) is determined to be in-control, with the associated normal process following a distribution of N(0, 1). The value of the in-control ARL0 is set to 370. With two different settings of smoothing parameter \(\lambda\) = 0.3 and 0.2. The corresponding values of L are 3.345 and 3.252, respectively. The ARLs and SDRLs for the proposed Max-EWMA control chart, considering different changes in shape and scale parameters, are presented in Tables 1 and 2, respectively. The bold values of ARLs and SDRLs are presented in Tables 1 and 2 for the fixed value of the scale parameter and various values of the shape parameter. The parametric settings to calculate the ARLs and SDRLs are presented in Table 3.
Main findings
-
1.
By holding the scale constant α = 1.649, and varying the shape parameter, a diverse array of outcomes can be attained. The alterations in mean and standard deviation correspond directly to the magnitude and direction of the shape parameter adjustment. Specifically, for shape parameter values exceeding 2.16, even with an ARL0 = 370 indicating control, the normal process can manifest fluctuations in both its mean and standard deviation. For α = 1.64, we observed the change in transformed mean and standard deviation with the change in shape parameter. Because of this modification, the mean and standard deviation will move together, resulting in lower values of ARL1. For instance, when considering increased sample sizes, the ARL1 falls significantly. Specifically, when the sample size is 3, the ARL1 decreases from 217 to 3.17. Similarly, for a sample size of 5, the ARL1 decreases from 188 to 2.27. Furthermore, when the sample size is 10, the ARL1 decreases from 138 to 1.58. In the case of a downward shift (\(\gamma\) < 2.16). The changes in the ARL1 decreased trend from 214.92 to 2.83 for a sample size of 3, from 92.93 to 2.00 for sample size 5 and from 30.96 to 0.17 for sample size 10.
-
2.
When altering the scale parameter while maintaining the shape parameter constant, a downward shift is noticeable. This adjustment leads to a more significant displacement in the corresponding standard parameters compared to the upward displacement. The magnitude of the shift in the Lognormal scale parameter is directly proportional to the magnitude of the change in a normal parameter. For instance, when α = 5.00, the shift in the mean and standard deviation is determined to be 1.5238 and 0.1713, respectively.
-
3.
When holding the scale and shape parameters constant and manipulating the sample size, it is seen that the ARL1 and the SDRL1 drop as the sample size increases. This implies that if the producer is able to handle a big sample size, it is possible to promptly identify an out-of-control process by raising the sample size while maintaining the same scale and shape parameter. For Example in Table 2 for L(3, 2.5) with n = 3 the ARL1 and SDRL1 are (6.06, 1.67), for n = 5 (4.05, 0.85), and for n = 10 (2.67, 0.51) respectively. So we can easily observe the decreasing trend in ARLs and SDRLs.
-
4.
When the scale and shape parameters (2, 2.25) are kept constant and the smoothing constant is varied, it is observed that decreasing the smoothing constant leads to a drop in both the ARL1 and the SDRL1 values.
Application to engine oil data
In this part, a practical example is presented to demonstrate the application of the suggested lognormal Max-EWMA chart. The Test Monitoring Center provides the ASTM D7320 Reference Oil Data. In order to evaluate the quality of engine oil, particularly in new automobiles, quality engineers need to measure the percent viscosity increase (PVIS). The data set is taken from Huang et al.19 where they determined that the probability volume integral signature adheres to a lognormal distribution. The concept of distribution refers to the way in which resources, goods, or services are allocated. There exists a specific type of reference oil, namely Ref Oil 434, which possesses certain quality characteristics that require attention. The experiment was conducted. In order to establish a reference for oils, a total of 50 samples, each consisting of 10 units, were gathered and subsequently employed for analysis. The data about the Ref Oil 434 are shown in Table 4. The reader may consult Huang et al.19 for further details on the dataset. In the case of Ref Oil 434, as depicted in Figs. 1, 2, and 3, it is observed that there are instances of out-of-control samples occurring at the 21st position for sample sizes of n = 3 and 19th position for sample size of n = 5. Additionally, sample 17 is found to be outside the control limits with a sample size of n = 7, as indicated by the proposed control chart for λ = 0.2. Hence, it may be inferred that as the sample size increases, the efficiency of detecting instances of being out of control also increases.
When λ = 0.2, as illustrated in Figs. 4, 5, and 6, it is evident that there are occurrences of out-of-control samples at the 24th position for a sample size of n = 3 and at the 19th position for a sample size of n = 5. Furthermore, it has been seen that sample 17, with a sample size of n = 7, falls outside the control limits as depicted by the suggested control chart. Therefore, it can be deduced that as the size of the sample increases, the ability to detect instances of being out of control likewise improves.
Conclusion
The establishment of Max-EWMA control charts for concurrently tracking the lognormal distribution’s mean and standard deviation is covered in this paper. According to the simulation experiments, the Max-EWMA charts perform well in cases where the underlying lognormal distribution is more skewed. An increase in the lognormal shape parameter (λ > 2.16) results in a little change in both the mean and standard deviation. As the value of λ grows, there is a decrease observed in both the mean and standard deviation shifts. A decrease in the lognormal shape parameter (λ < 2.16) is associated with reductions in both the mean and standard deviation. As the value of λ declines, there is an increase in the shift observed in the standard deviation of the normal parameter. This increase in shift leads to a reduction in the ARL1 values from 217 to 3.17. The inverse response function is employed for the purpose of transformation.
Data availability
The datasets used and/or analyzed during the current study are available from the corresponding author upon reasonable request.
References
Page, E. S. Continuous inspection schemes. Biometrika 41(1/2), 100–115 (1954).
Morrison, J. The lognormal distribution in quality control. J. R. Stat. Soc. Ser. C (Appl. Stat.) 7(3), 160–172 (1958).
Joffe, A. & Sichel, H. A chart for sequentially testing observed arithmetic means from lognormal populations against a given standard. Technometrics 10(3), 605–612 (1968).
Kotz, S. & Lovelace, C. R. Process Capability Indices in Theory and Practice (Edward Arnold, 1998).
Chen, G. The mean and standard deviation of the run length distribution of X charts when control limits are estimated. Stat. Sin. 7, 789–798 (1997).
Quesenberry, C. P. The effect of sample size on estimated limits for X and X control charts. J. Qual. Technol. 25(4), 237–247 (1993).
Jones, L. A., Champ, C. W. & Rigdon, S. E. The performance of exponentially weighted moving average charts with estimated parameters. Technometrics 43(2), 156–167 (2001).
Bischak, D. P. & Trietsch, D. The rate of false signals in Ū control charts with estimated limits. J. Qual. Technol. 39(1), 54–65 (2007).
Castagliola, P. et al. The variable sample size chart with estimated parameters. Qual. Reliab. Eng. Int. 28(7), 687–699 (2012).
Jensen, W. A. et al. Effects of parameter estimation on control chart properties: a literature review. J. Qual. Technol. 38(4), 349–364 (2006).
Psarakis, S., Vyniou, A. K. & Castagliola, P. Some recent developments on the effects of parameter estimation on control charts. Qual. Reliab. Eng. Int. 30(8), 1113–1129 (2014).
Ferrell, E. B. Control charts for lognormal universe. Ind. Qual. Control 15(2), 4–6 (1958).
Shaheen, U., Azam, M. & Aslam, M. A control chart for monitoring the lognormal process variation using repetitive sampling. Qual. Reliab. Eng. Int. 36(3), 1028–1047 (2020).
Omar, M. H. et al. Inverse maxwell distribution and statistical process control: An efficient approach for monitoring positively skewed process. Symmetry 13(2), 189 (2021).
McCracken, A. & Chakraborti, S. Control charts for joint monitoring of mean and variance: an overview. Qual. Technol. Quant. Manag. 10(1), 17–36 (2013).
Yang, S.-F. Using a single average loss control chart to monitor process mean and variability. Commun. Stat. Simul. Comput. 42(7), 1549–1562 (2013).
Figueiredo, F. O. & Gomes, M. I. Box-Cox transformations and robust control charts in SPC. In Advanced Mathematical and Computational Tools in Metrology VII 35–46 (World Scientific, 2006).
Adekeye, K. S. Modified simple robust control chart based on median absolute deviation. Int. J. Stat. Probab. 1(2), p91 (2012).
Huang, W.-H., Yeh, A. B. & Wang, H. A control chart for the lognormal standard deviation. Qual. Technol. Quant. Manag. 15(1), 1–36 (2018).
Akhtar, N. et al. Design and analysis of exponentially weighted moving average control charts for monitoring the variability of log-normal processes with estimated parameters. Qual. Reliab. Eng. Int. 38(4), 1590–1611 (2022).
Iqbal, J. et al. A novel Bayesian Max-EWMA control chart for jointly monitoring the process mean and variance: an application to hard bake process. Sci. Rep. 13, 21224 (2023).
Huang, W.-H. Control charts for joint monitoring of the lognormal mean and standard deviation. Symmetry 13(4), 549 (2021).
Roberts, S. Control chart tests based on geometric moving averages. Technometrics 42, 239–250 (1959).
Chen, G., Cheng, S. W. & Xie, H. Monitoring process mean and variability with one EWMA chart. J. Qual. Technol. 33(2), 223–233 (2001).
Acknowledgements
Princess Nourah bint Abdulrahman University Researchers Supporting Project number (PNURSP2024R515), Princess Nourah bint Abdulrahman University, Riyadh, Saudi Arabia. Also, the authors extend their appreciation to the Deanship of Scientific Research at Northern Border University, Arar, Kingdom of Saudi Arabia for funding this research work through the project number “NBU-FFR-2024-1266-04.
Author information
Authors and Affiliations
Contributions
F.A.A. and A.A.H. conceptualized the study. F.A.A. conducted the Monte Carlo simulation and analyzed the data. S.M. and M.H. contributed to the theoretical framework and methodology development. M.N. supervised the research and provided critical feedback. M.U.A. assisted in data interpretation and manuscript preparation. F.A.A. and M.N. drafted the manuscript, and all authors reviewed and approved the final version.
Corresponding author
Ethics declarations
Competing interests
The authors declare no competing interests.
Additional information
Publisher's note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Almulhim, F.A., Malik, S., Hanif, M. et al. Joint monitoring of mean and variance using Max-EWMA control chart under lognormal process with application to engine oil data. Sci Rep 14, 13811 (2024). https://doi.org/10.1038/s41598-024-64292-1
Received:
Accepted:
Published:
DOI: https://doi.org/10.1038/s41598-024-64292-1