Science topic

Control Charts - Science topic

Explore the latest questions and answers in Control Charts, and find Control Charts experts.
Questions related to Control Charts
  • asked a question related to Control Charts
Question
8 answers
On Wikipedia I found about ARL:
  • Even when a process is in control (that is, no special causes are present in the system), there is approximately a 0.27% probability of a point exceeding 3-sigma control limits.
  • So, even an in-control process plotted on a properly constructed control chart will eventually signal the possible presence of a special cause, even though one may not have actually occurred.
  • For a Shewhart control chart using 3-sigma limits, this false alarm occurs on average once every 1/0.0027 or 370.4 observations.
  • Therefore, the in-control average run length (or in-control ARL) of a Shewhart chart is 370.4.
I do not know how to get the formula to produce such a result.
Can somebody give me some hints?
Thank you in advance
Relevant answer
Answer
I did not say that. I said that in other disyribution you cannot calculate with the laws of the normal distributions. I have given example with the uniform distribution. Give a concrete example with exponential distribution.and show me the meaning of the sigma and SD.
  • asked a question related to Control Charts
Question
1 answer
Hi everyone,
I have two columns in my dataset: one for admission date and another for length of stay in the hospital.
I plan to analyze this data using an SPC chart, with the data grouped by quarter.
Below are the sample sizes for each subgroup:
  • 2021 Q3: 69
  • 2021 Q4: 67
  • 2022 Q1: 75
  • 2022 Q2: 75
  • 2022 Q3: 46
  • 2022 Q4: 67
  • 2023 Q1: 67
  • 2023 Q2: 70
Given this data, which type of control chart would be suitable for monitoring variations in the length of hospital stays over time?
Thanks,
Relevant answer
Answer
If the data is recording whole days, use an attribute chart, such as np chart, with control lines calculated from the data to determine the variation. Could also use a Cusum chart. If
See Statistical Process Control 7ed by Oakland
  • asked a question related to Control Charts
Question
3 answers
Maybe we should identify what is the most parsimonious afterlife. Expanding the law of identity, maybe physics can determine the exact afterlife all have coming.
My previous attempts:
Guessing what the afterlife broadly is:
Guessing what the afterlife is NOT.
3)
4)
Relevant answer
Answer
I'm not sure, but I think you did a great job of answering your own question... 'Charting the afterlife?" Answer; Why?' Somethings can't be known. Or, even if we were explained, would we have a hope of understanding the answer? Every morning on the way to work I ask the Universe for a special watch over some friends and family (including my most recent 'best friend' Chihuahua) who have 'recently' passed. I know that they are soaring the Universe as Light Beings and I am a bit jealous of all they will see and re-understand. But charting the afterlife... it's like charting the Universe itself accurately. THEY could do it, but we can't even imagine what it looks like in totality. MY opinion, of course.
  • asked a question related to Control Charts
Question
1 answer
If interested, please see this white paper "On 100 Years of the Shewhart Control Chart".
Relevant answer
Answer
Excellent contribution, Bill, and particularly pleasing to see Homer Sarasohn's contribution recognised and positioned appropriately in the chronology.
  • asked a question related to Control Charts
Question
3 answers
It is well known that c_4 is the bias correction factor for the sample standard deviation and is used to construct control charts. However, why it's called c_4. In addition, who introduced c_4 first?
Relevant answer
Answer
With great pleasure
  • asked a question related to Control Charts
Question
1 answer
To see if the improvement was effective, a process with before and after measurements are plotted in control chart. Is it possible to test the control limits and say if it is significant.? I am looking to test the moving range standard deviation and not the overall standard deviation between the processes.
Relevant answer
Answer
The cusum or cusumq tests work for mean https://en.m.wikipedia.org/wiki/CUSUM and variance https://www.statstodo.com/CUSUMVariance.php. It was designed for assessing breakpoint/change points in control charts. Best,
  • asked a question related to Control Charts
Question
6 answers
Recently, some papers investigated the steady-state performance of the control charts. They claimed that steady-state performance should be preferred over zero-state performance. In steady-state, some in-control samples (ICS) are generated before a shift has occurred in the process and conditional expected delay is calculated.
Questions
1. Is conditional expected delay=ICS+ARL1? where ARL1 is the average run length of zero state. If ICS=0,conditional expected delay=ARL1???
2. We can say that zero-state is a special case of steady-state??
3. Do Zero state control charts have no benefits?
Your feedback will be highly appreciated
Relevant answer
Answer
The conditional expected delay, CED(t), is the expected number of samples to obtain an out-of-control signal given that the process shift occurs at time t and there were no previous false alarms.
The zero state ARL is CED(1). The steady state ARL is the limit of CED(t) as t increases.
The zero state ARL can be very misleading. If the process shift is assumed to occur immediately as monitoring begins then all data values could be weighted equally. This leads to essentially the progressive mean chart.
For delayed shifts, data should not be weighted equally. Recent data should be given more weight as with the EWMA statistic,
Because the zero state ARL performance can be very misleading, the steady-state performance is preferred. It is unrealistic to assume any shift must occur immediately.
  • asked a question related to Control Charts
Question
31 answers
Dear Colleagues,
In the EWMA control chart, when we plot EWMA statistic on the control limits (either asymptotic or not). We note the first point that falls out of control to calculate the average run length. Let's say, we repeat the simulation process 5 times and suppose we note first out-of-control (run length) 330, 340, 367, 365, 369.
My question
Is the first out-of-control value not following the geometric distribution?
Relevant answer
Answer
My dear brother Prof. Aslam,
Thank you for sending me this question.
Let us revisit the basic definition of run length (RL) i.e. the number of samples until an out of control (OOC) signal is observed. Let us agree that no matter what chart you are working with (Shewhart, EWMA or CUSUM) the definition of RL doesn't change.
Having said that, now let us talk about the distribution of this variable RL in following 2 scenarios:
(1) Shewhart Xbar Chart
In case of Shewhart chart, this RL variable is the number of trials (no. of plotted Xbars in terms of control charting) until first success. In control charting our success is observing an OOC signal. It is to be noted here that in Shewhart structure, these trials are independent Bernoulli trials having fixed probability of success i.e. getting a OOC signal at ith sample is independent of what was the outcome of previous samples, and the probability of a point falling outside limits (say p) is constant for each trial. According to probability theory, in a sequence of independent Bernoulli trials, the random variable number of trials until first success follows a geometric distribution. Moreover, the mean of geometric distribution is 1/p. That is why, in Shewhart structure we can simply find the probability of success (i.e. probability of statistic falling outside the limits) and take its reciprocal to get the average of variable RL which we denote by ARL.
(2) EWMA Xbar Chart
In case of EWMA chart, this RL variable is again the number of plotted EWMA statistics until a OOC signal is observed. Note here that in this sequence, the trials are not independent Bernoulli trials i.e. EWMA statistic falling inside/outside the limits at ith sample is not independent of what was the outcome of previous samples. More precisely, if EWMA statistic at 7th sample is plotted very close to center line, it is less likely that it will go OOC on the 8th sample. Similarly, if EWMA7 is plotted very close to UCL, there are more chances of EWMA8 going outside the limits. This means that the result of 8th trial is dependent on the outcome of 7th trial. As the trials are not independent, so this RL variable (number of trials until first success) will not follow a geometric distribution and hence the mean of RL will not be 1/p.
I hope this clarifies the things once and for all.
  • asked a question related to Control Charts
Question
4 answers
Which is the best literature on control charts that you have come across? Be it a book, publication or writeup.
  • asked a question related to Control Charts
Question
5 answers
What statistical package can I use to customize shewhart control charts?
Relevant answer
Answer
I have written some MATLAB codes on this subject. I can give them to interested researchers upon request.
  • asked a question related to Control Charts
Question
7 answers
I need R codes for this control charts, I have used Rseek but could not find what I needed. I will be glad if scholars could help me out in this regard
Relevant answer
Answer
I think it is better to write the code by yourself.
  • asked a question related to Control Charts
Question
5 answers
What is the difference between control charts for variables and control charts for attributes?
Relevant answer
Answer
Control charts are process behaviour charts that help us understand if the process/activity is in state of statistical control. Depending on the type of measurement various charts are available. If the measurement type is qualitative, then attributes chart is used and when quantitative variables chart is used.
This should be of help:
  • asked a question related to Control Charts
Question
12 answers
Currently we are using SPSS to make control charts but we would like to find an alternative. Preferably a simple free software.
I checked PSPP but it seems like it can't do control charts (or am I wrong?).
Please don't say R - much too complicated for what we need.
Thanks,
Relevant answer
Answer
Minitab is the best software for all quality related activities and it is easy to use also.
  • asked a question related to Control Charts
Question
4 answers
Reduce the effect of autocorrelation when designing control charts
Relevant answer
Answer
Thanks dear Mohad. I really appreciate.
  • asked a question related to Control Charts
Question
4 answers
I'm analyzing statistical process data (SPC) of pharmaceutical product parameters and found some out of control results.
The type of control chart that I use are X-bar-R, X-bar-S, and X-MR. May you share your formula, because their range of UCL-LCL are so narrow.
Relevant answer
Answer
As you have mentioned that you found some out of control data, it clearly indicates that your problem is to set the control limits for the process. This is called phase-I or the base period. In the base period , when the process shows points beyond control limits, it is required to find whether they are due to assignable causes or not. It requires to remove those points from the analysis. Then one goes into phase-II where the chart will be used to monitor the process.
Also, do not get confused with specification limits and control limits. Because I found some practioners are confused between USL and LSL with UCL and LCL. Please refer to Statistical quality conrol book by DCMontgomery for better understanding.
  • asked a question related to Control Charts
Question
1 answer
Techniques, lessons-learned, software, etc. for control charting.
Relevant answer
Answer
Both the FDA and the EU as well as many other agencies/governments do have control programs for monitoring residues in food.
Over the past years these programs have been expanded and refined.
What items are then still missing in your view?
  • asked a question related to Control Charts
Question
7 answers
I have seen literature on six sigma. But I am not getting any literature on 3 sigma except that 3 sigma interval property of normal distribution was used by W. A. Shewhart in quality control charts.
Relevant answer
Answer
the Sigma One to Sigma Six levels describes the maximum number of defects per million in a system or process. There is, therefore, a strong relation between this and the overall accuracy percentage expected from the system or process. For example, the Three Sigma approach expects a maximum of 66.8K errors per million. This translates to 93.3% accuracy expectation for any given process or system. On the other hand the Six Sigma expects a maximum of 3.4 errors per million. This translates to 99.999997% accuracy expectation for a given process or system.
  • asked a question related to Control Charts
Question
12 answers
I have got some data (humidity and temperature) in real time with IOT and saved them on a database. Now I want to create a web page to monitor real time weather data in control charts. How do I plot real time control charts on a web page using MySQL data and PHP?
Relevant answer
  • asked a question related to Control Charts
Question
3 answers
I have got some data (humidity and temperature) in real time with IOT and saved them on a database. Now I want to create a web page to monitor real time weather data in control charts. How do I plot real time control charts on a web page using MySQL data and PHP?
Relevant answer
Answer
You can use D3 (https://d3js.org/). It is a javascript library for graphs. However, for real-time applications, I believe that you need use AJAX.
  • asked a question related to Control Charts
Question
1 answer
i'm looking for this article, for my last job.
Is there someone who can help me?
Control charts using midranges and medians
  • January 1953
  • E.B. Ferrell
Thank you very much
Relevant answer
Answer
  • asked a question related to Control Charts
Question
4 answers
ARLs for in control and out of control states
Relevant answer
Answer
If you are an R user, then install my R package "spc" and call the function mewma.arl() to calculate the ARL. I also want to to promote my paper Knoth (2017), ARL Numerics for MEWMA Charts, Journal of Quality Technology 49(1), 78-89. Eventually, the methods in use are (i) Monte-Carlo simulation (utilized by the inventors of MEWMA), (ii) Markov chain approximation (Runger/Prabhu 1996 and more; free software is available), (iii) numerical solution of integral equation (Rigdon 1995; for the in-control ARL is free software available; Minitab and Statistica offer it as well).
  • asked a question related to Control Charts
Question
2 answers
Currently we are working on using control charts for detecting abnormal low tenders and cover bids in public procurement, in order to check their performance i need to compare their efficiency with other statistical methods
Relevant answer
Answer
Thanks David
I will take a look at your proposal
Kindest regards
  • asked a question related to Control Charts
Question
3 answers
How to determine a threshold value or a cut point such that we can quantize samples to two levels as for instance low or high? Control charts give two limits: upper control limit and lower control limit and hence it quantizes samples to three levels. I need to determine a threshold value or a cutpoint that can quantize the samples to two levels.
Relevant answer
Answer
yes, k-means is a good clustering algorithm and you can use it to obtain two levels
  • asked a question related to Control Charts
Question
5 answers
Hi, everyone...I have 5 set of environment data, i had tried using Ladder power and box-cox transformation to transform my data...But unfortunately, I can't normalize it, what should i do to it?
kindly need some suggestion or ways that can solve it, thanks for helping
Relevant answer
Answer
There are several normalization techniques reported in literature , are you trying to build a classifier or a forecasting engine. To construct any supervised learning engine you require normalise data, for better accuracy. How you obtained that data is not normalised...
  • asked a question related to Control Charts
Question
2 answers
Please refer the Section 9.3 of D C Montgomery (6th edition, page 428). He has given an example to construct an unweighted moving average control chart. Suppose that the target value and the Sigma value are unknown then how to construct the moving average control chart
Relevant answer
  • asked a question related to Control Charts
Question
4 answers
Hi all,
We have a list of integers (wavelengths ranging between 520nm and 540nm). Due to limitations in the equipment, they don't have decimals. We would like to use these results to make a control chart to control the process.
The problem is that the data doesn't follow a normal distribution, nor any other of those evaluated by MINITAB. And transforming the variable doesn't solve the problem (Johnson or Box-Cox). It looks like the data doesn't follow the Poisson distribution neither (according to the Poisson Plot made during the Capability analysis), so I don't know if the Laney U, or U Attribute Chart is still valid in these conditions.
Do you have any suggestion that doesn't include the suicide?
Thanks in advance,
I will include some data here for illustration:
Relevant answer
Answer
Before you throw away the Poisson Plot be sure to check the "Goodness-of-Fit Test for Poisson" in the Stat > Basic Statistics menu and then check the P-Value generated. Same for the "Chi-Square Goodness-of-Fit Test". In these cases, a low p-value suggests that your data do not follow those distributions. Hope that helps.
  • asked a question related to Control Charts
Question
3 answers
Let me introduce my self. My name is Rahmat Hidayat, I come from Indonesia. I have problem about p-chart. How to make limit control of p-chart with bayesian. I have read many journals and I am still confused about it.
Please help me to explain it.
Thank you
Relevant answer
Answer
Hello Rahmat: You might find the answer in "On the evaluation of control chart limits based on predictive distributions" by Ulrich Menzefricke. The author proposes control limits by normal approximation to the beta-binomial (when n*p1 > 5). See page 1439. Hope this helps. Regards
  • asked a question related to Control Charts
Question
4 answers
Given a sequence of n items associated with a user: (item1, item2, ..., itemn) such that each item is represented by k features. This sequence could represent films watched by a user over time. To detect the most significant changes in a sequence of items, many approaches have been developed (e.g. the Cumulative Sum Control Chart (CUSUM)). However, I do not find a study (or a recent survey) comparing the proposed approaches. What's the state of the art  ?
Thanks in advance for your replies !
Relevant answer
Answer
Hello,
You are looking for surveys  on Concept drift, in predictive analytics and machine learning, the concept drift means that the statistical properties of the target variable, which the model is trying to predict, change over time in unforeseen ways. I would suggest one of   João Gama 's papers. Dr Gama is one of the well known researchers in the  change detection field; you can find what you'r searching for here :
best,
  • asked a question related to Control Charts
Question
1 answer
For groundwater monitoring, US EPA recommended to use Shewhart control charts, but USGS said Mann-Kendall trend test was the way to go. Could anyone share some thoughts on which one would be the better choice under following circumstance:
1) industrial site;
2) no background info available;
3) limited data set;
Relevant answer
Answer
Shewhart control chart can be use for controling and monitring process i.e. quality characteristics. and then when you can apply your case under three circumstance.
What do you expect from using control chart,
it depens on what kind of your data used variable or attribute, you will choose the suitable control chart, and then construct control chat for variable or attribute.
The CL, UL and LU Results will be availble.
Whereas, Mann-Kendall trend test is non-parametice statistics test, i.e. parameters are not avialble, and the set of data is small.
again, what do you expect form Mann-Kendall trend test,
the result of this test shows only whether the the result of this data significant or not.
  • asked a question related to Control Charts
Question
3 answers
The difference between x-bar control chart and time series is process observations relationships. In x-bar control chart, samples are independent but in time series the samples are dependent.
Is it possible to ignore this fact and apply the techniques that were developed for time series analysis to control chart analysis and vice versa?
Relevant answer
Answer
It is a common practice to use Exponentailly Weighted Moving Average control charts on the residuals from a time series model. When the smoothing parameter lambda is set to 1, the EWMA charts becomes a Shewhart chart.  If the time series model is correct, then the residuals are independent from each other, which is a requirement in a Shewhart chart.
  • asked a question related to Control Charts
Question
3 answers
What are the types of control charts we can use for highly conforming processes ?
Relevant answer
Answer
If the process is "highly conforming", do you still need to use a control chart to monitor it? If Yes, then for normally distributed random variables being monitored, you could use a basic Shewhart chart for the mean and a chart of the standard deviation. Due to the high level of confomance, there may be no need for the more sensitive procdedures, such as EWMA or CUSUM chart for the mean nd one for the standard deviation or maybe ln(variance) as some have proposed.
If the data are non-normal, consider using the corresponding nonparametric control charts. If you have count data, a different chart is more suitable.
Your question does not tell us much about the process. 
  • asked a question related to Control Charts
Question
1 answer
I need to address the economic design of a ARMA control chart. How "n" affects the autocorrelation of the statistics?
  • asked a question related to Control Charts
Question
13 answers
Although several approaches were developed for handling missing data, majority of them are only suitable to restore incomplete patterns which have random variation. When random variation exists beside shift, trend, systematic and cyclic behavior in which the order of data also contains valuable information, what is the best approach to handle missing data?
Relevant answer
Answer
Razieh -
It seems that perhaps your application here is for a univariate time series for which you have no other data to do anything more complex.  If your current value is "missing," then that sounds like you are really saying that you need a forecast.   And because you have no clearly defined patterns established in your time series, the simplest format for "exponential smoothing" may be as good as you can do, at least for now.  It will put the strongest influence on the most recent data that you do have. 
Jim 
  • asked a question related to Control Charts
Question
11 answers
Little and Rubin (2002) introduced three major missing data mechanisms. If the cause of missingness is independent of data, missingness is called missing completely at random (MCAR).  On the other hand, in missing at random (MAR) mechanism, missingness depends on data which is observed yet independent of the unobserved data. Finally, third mechanism termed missing not at random (MNAR) because the pattern of missing data is non-random and depends on the missing variable.
According to the literature, you cannot ignore missing data which is "Missing not at random" (MNAR). My question is: given a dataset, how do you identify the missingness mechanism?
Relevant answer
Answer
This is a very important question. Researchers should examin the pattern and volume of the missing data before doing the final analyses. runing descriptive statistics can show where are the missings, so the researcher can look at the cases and the variables and observe any pattern or volume of missings. for example, if the same question has a large amount of missings, then there is a possible problem in this question that the participants did not understand, or did not like, or the question was unclear by wording or typing.
Usually Missing at random is better than non random because at random means that the missings is distributed over the different variables in small scale and can be replaced by many methods {Replacing missing is an Art and it take long time to be mentioned here}. however, if the missing is estimated to be too much, and this too much depends on the sample size and the type of the study, then missing becomes a serious problem.
  • asked a question related to Control Charts
Question
6 answers
Is there any useful control chart that can help the plant operator to control the coagulant dose during water treatment?
Relevant answer
Answer
I also needed a chart like that, but a better way is to take samples of the wastwater to be treated and carry out jar test experiments in the lab with different coagulants (could be organic or inorganic or even both depending on the quality of your water) and do different doses and assess coagulant and/or optimal dose based on things like settlability and clarity of your water etc. and of course measure your parameters of interest at the end such as pH, conductivity, COD, ions etc. 
you can start with widely used coagulants which are inorganic like ferric chloride/aluminium sulphate
  • asked a question related to Control Charts
Question
5 answers
Who can share coding for simplest ARL for Shewhart control chart ? I am still confusing with the simulation and theoretical understanding. Thank you.
Relevant answer
Answer
I agree...but it's important to take into account the difference between ARL in control (ARLi) and ARL out of control (ARLo). On the one hand the ARLi should be as big as possible because you want the minimum number of false alarms (for a Shewhart type control chart ARLi=370). And on the other hand the ARLo should be as small as possible because you want to detect the process goes out of control as soon as possible.
If you are a beginner practitioner read this:
Montgomery, D. C. (2009). Introduction to Statistical Quality Control. John Wiley & Sons Incorporated.
And for the advanced ones:
Klein, M. (2000). Two alternatives to the Shewhart (X)over-bar control chart. Journal of Quality Technology, 32(4), 427–431.
  • asked a question related to Control Charts
Question
6 answers
I've downloaded the package for quality control analysis named qcc but that package only can be used for normal distribution. I want to build a control chart based on non-normal distribution especially weibull distribution. How could I build my control chart. Is there any package for quality control based on non-normal distribution? 
Relevant answer
Answer
Could you please be more specific? What do you mean by "How could I build my control chart."? What type of control chart? For averages? For a range? for a variance? for a standard deviation? for a percentile? for the shape parameter of the Weibull distribution? For its scale parameter? ... Each one of these charts requires a lot of statistical work and design.
  • asked a question related to Control Charts
Question
1 answer
I want to determine the quality of water that is being produced on daily basis, having the targeted control limit but to get the initial control limit that will lead to the targeted control limit is the problem. My idea is to use CUSUM control chart to achieve it. Having in mind that the samples are autocorrelated, the control limit for each point depends on the initial control limit and dependent.
Relevant answer
I suggest you two strategies:
First:
Conduct a correlation test to discover a period where it will can be considered null. You can use the Gausian curve for Hypotesis test, using arctg funcion to fit the correlation in Gausian curve.
With this period, you can control the data with an usual control chart, just as Individual Mobile Range (IMR).
Second:
You can use a correlalated data and "force" a rational subgroup collecting data in group from the process in litte interval of time, and then, in a bigger interval.
For Example, you can collect three data in 15 min of interval of each one, and set a subgroup, and after 4 hours, repeat the process. In this way, you can use Xbarr/R control chart.
  • asked a question related to Control Charts
Question
2 answers
I am working on non-parametric tests and am confused about finding anti rank of data or counter ranking.
Relevant answer
Answer
That is the order() - function:
x = c(-1, 5, 0, 3, 1, -2)
> rank(x) # "classical" ranking
[1] 2 6 3 5 4 1
> order(x) # anti ranking
[1] 6 1 3 5 4 2
> rank(-x) # reverse "classical" ranking
[1] 5 1 4 2 3 6
best,
Rainer