On this page
2.4 Control Charts by Variables
Many quality characteristics can be expressed in terms of numerical values. For example, the diameter of a ring can be measured with a micrometer and expressed in terms of millimeters. Measurable quality characteristics such as weight, dimension or volume are called variables.
When we analyze a quality characteristic that is a variable, we generally control the average value of the quality characteristic and its variability. The average value is controlled through the average graph called graph $\overline{X}$. While process variability can be monitored through the standard deviation graph called $ S $ or the amplitude graph called graph $ R $.
2.4.1 Average and Amplitude Graphs
When we deal with a quality characteristic that is a variable, we need to monitor both the average of the quality characteristic and its variability. To do this, we assume that the quality characteristic has a probability distribution with mean μ and standard deviation σ. So, for a random sample $X_1, X_2, \dots , X_n$ in size $n$, we have that the sample mean is given by:
$$\overline{X}=\frac{X_1+X_2+\dots+X_n}{n}$$
Therefore, applying the Central Limit Theorem to this random sample, when the sample size increases, the sampling distribution of the mean approaches a Normal distribution with mean μ and standard deviation $\sigma_{\overline{X}}=\frac{\sigma}{\sqrt{n}}$, that is, if the sample size is large enough, we can assume that the sample mean has a Normal distribution. Consequently, the confidence interval for the mean is given by:
$$IC(\mu,1-\alpha)=\left(\mu_{\overline{X}}-Z_{\frac{\alpha}{2}}\frac{\sigma}{\sqrt{n}};\mu_{\overline{X}}+Z_{\frac{\alpha}{2}}\frac{\sigma}{\sqrt{n}}\right) \tag{4.1.1}$$
In practice, we generally do not know $μ$ and $σ$, however, these parameters are estimated from preliminary samples taken in subgroups of at least 20 to 25 samples. Suppose we have available $m$ samples, with each containing $n$ observations on the quality characteristic. In applications, the number of observations $n$ is small and generally results from the construction of rational subgroups, in which the sampling and inspection costs associated with measuring the variables are high. For the average graph $\overline{X}$, we take $\overline{X}_1,\overline{X}_2,\dots,\overline{X}_m$ the means of each sample, we have the best estimator of $\mu$ for the averaging process is given by:
$$LC=\overline{\overline{X}}=\frac{\overline{X}_1+\overline{X}_2+\dots+\overline{X}_m}{m}$$
which is the center line of the graph $\overline{X}.$
Now, we need the estimate of the standard deviation, for this, we will estimate in this section by the amplitude $ R. $ So, for a random sample $X_1, X_2, \dots , X_n$ in size $n$, we have that the amplitude $ R $ is given by:
$$R=X_{\text{máx}}-X_{\text{mín}}$$
Now be $ R_1,R_2,\dots,R_m $ the amplitudes of the m samples, then the center line (LC) or the mean of the amplitudes is given by:
$$\overline{R}=\frac{R_1+R_2+\dots+R_m}{m}$$
Next, we will present the main topics for constructing the graph $\overline{X}$ and $ R. $
- The graphics $\overline{X}$ and $ R $ (mean and amplitude) must be implemented simultaneously, as the functions complement each other.
- Objective: control process variability and detect any changes that occur.
- A process can go out of control due to changes in its level or dispersion. Changes in the level (average) and dispersion (variability) of the process may be consequences of special causes, generating defects.
Calculation of control limits
To develop the control limits, first we will define the random variable $ W=\frac{R}{\sigma}$ called Relative Amplitude. The main property of $ W $ is that its mean is the constant $ d_2 $ which depends on the sample size. As a result, the unbiased standard deviation estimator $\sigma $ of the Normal distribution is given by $\hat{\sigma}=\frac{\overline{R}}{d_2}, $ consequently for $\overline{R}, $ we have that the estimator for the standard deviation is given by:
$$\hat{\sigma}=\frac{\overline{R}}{d_2}$$
Now, we have the necessary tools to construct the control limits for the graph $\overline{X}$ and $ R. $ Therefore, using equation (4.1.1) and using $ Z_{\frac{\alpha}{2}}=3 $ we obtain the control limits for the graph $\overline{X}$ as follows
$$LSC=\mu_{\overline{X}}+3\frac{\sigma}{\sqrt{n}}=\overline{\overline{X}}+3\frac{\overline{R}}{d_2~\sqrt{n}}=\overline{\overline{X}}+\underbrace{\frac{3}{d_2~\sqrt{n}}}_{A_2}~\overline{R}\quad \Rightarrow\quad LSC=\overline{\overline{X}}+A_2~\overline{R}$$
and
$$LIC=\mu_{\overline{X}}-3\frac{\sigma}{\sqrt{n}}=\overline{\overline{X}}-3\frac{\overline{R}}{d_2~\sqrt{n}}=\overline{\overline{X}}-\underbrace{\frac{3}{d_2~\sqrt{n}}}_{A_2}~\overline{R}\quad \Rightarrow \quad LIC=\overline{\overline{X}}-A_2~\overline{R}$$
Assuming that the quality characteristic is normally distributed, $\hat{\sigma}_{R}$ is calculated from the Relative Amplitude distribution $ W=\frac{R}{\sigma}$. Thus, the standard deviation of $ W $ is given by $ d_3 $ (for more details see the book by Montgomery, D.C. (2001)), is a constant that depends on the sample size. So, for $ R=W~\sigma $ the standard deviation of $ R $ is given by:
$$\hat{\sigma}_{R}=d_3~\sigma=d_3~\frac{\overline{R}}{d_2}$$
Therefore, the control limits for the graph $ R $ are given by:
$$LSC=\overline{R}+3~\hat{\sigma}_{R}=\overline{R}+3~d_3~\frac{\overline{R}}{d_2}=\overline{R}\underbrace{\left(1+3~\frac{d_3}{d_2}\right)}_{D_4}\quad \Rightarrow \quad LSC=D_4~\overline{R}$$
and
$$LIC=\overline{R}-3~\hat{\sigma}_{R}=\overline{R}-3~d_3~\frac{\overline{R}}{d_2}=\overline{R}\underbrace{\left(1-3~\frac{d_3}{d_2}\right)}_{D_3}\quad \Rightarrow\quad LIC=D_3~\overline{R}.$$
In short, we have to,
-
For averages
Upper Control Limit:
$$LSC = \overline{\overline{X}} + A_2 \ast \overline{R}$$
Central Line:
$$LC = \overline{\overline{X}}$$
Lower Control Limit:
$$LIC = \overline{\overline{X}} - A_2 \ast \overline{R}$$
-
For amplitudes
Upper control limit:
$$LSC = D_4 \ast \overline{R}$$
Central Line:
$$LC = \overline{R}$$
Lower Control Limit:
$$LIC = D_3 \ast \overline{R}$$
Arrangement of points in graphs $\overline{X}$ and $ R $
Having calculated the Center Lines and the Lower and Upper Control Limits for the graphs $\overline{X}$ and $ R $, we are in a position to arrange the points that represent the sample means (in the graph $\overline{X}$) and the sampling amplitudes (on the graph $ R $), respectively.
To facilitate analysis of the results, it is also recommended to place the graphs one below the other and mark the points corresponding to the same sample on the same vertical line.
Phase I: Application of graphics $\overline{X}$ and $ R $
In Phase I, when preliminary samples are used to construct the graphs $\overline{X}$ and $ R $ It is customary to treat the obtained control limits as test control limits. They allow you to determine whether the process was in control when the $m$ preliminary samples were selected. To determine whether the process was in control when preliminary samples were collected we can plot the $\overline{X}$ and $ R $ of each sample in the graphs and analyze the result obtained. If all plotted points are within limits and no systematic behavior is evident, then we conclude that the process was in control in the past and the test control limits are adequate to control current or future production. It is highly desirable to have 20 to 25 samples or subgroups of size $n$ (typically $n$ is between 3 and 5) to calculate the test control limits. We can, of course, work with less data, but the control limits are not as reliable.
Suppose that one or more values of $\overline{X}$ or from $ R $ are out of control when compared to the test control limits. Clearly, if control limits for current or future production are meaningful they must be based on data from a process that is in control. However, when the past control hypothesis is rejected, it is necessary to review the test control limits. This is done by examining each of the out-of-control points, looking for an assignable cause. If an assignable cause is found, the point is discarded and the test control limits are recalculated using only the remaining points. Then, these remaining points are re-examined for control. (Note that points that were initially under control may now be out of control, as test control limits are generally more severe than the old ones.) This process continues until all points are under control, points for which test control limits are adopted for current use.
In some cases, it may not be possible to find an assignable cause for a point that falls out of control. Therefore, there are two paths to take. The first is to eliminate the point if a notable cause has been found. There is no analytical justification for choosing this action other than that the points that are outside the control limits were drawn from the probability distribution of a characteristic of an out-of-control state. The alternative then is to maintain the point (or points) considering the test control limits as appropriate for the current control. Of course, if the point does not actually represent an out-of-control condition, the resulting control limits will be very wide. However, if there are one or two of these points it will not distort the control chart significantly. If future samples still indicate control then the unexplained spots can probably be safely removed.
Occasionally, the initial sample values of $\overline{X}$ and $ R $ are plotted against test control limits and many points will fall out of control. Clearly, if we arbitrarily remove out-of-control points we will have an unsatisfactory situation, with little data remaining to recalculate reliable control limits. We suspect that this type of approach would ignore a lot of useful information in the data. However, searching for an assignable cause for each out-of-control point is unlikely to be successful. We find that when many initial samples fall out of control against test limits, it is best to focus on one default formed by these points. Such patterns will almost always exist. Generally, the assignable cause associated with the out-of-control spot pattern is easy to identify. Removing this problem usually results in an improvement in the (core) process.
Review of Control Limits and Centerlines
Effective use of a control chart requires periodic review of control limits and centerlines. Some practitioners establish regular periods to review and make revisions to control chart limits such as every week, every month, or every 25, 50, or 100 samples. When reviewing control limits we must remember that it is highly desirable to use at least 25 samples or subgroups (some authorities recommend 200 to 300 individual observations) in calculating control limits.
Sometimes the user replaces the center line of the graph $\overline{X}$ fur target value, let’s say $\overline{\overline{X_0}}$. If the graph $ R $ Displays control It can be useful to shift the process mean to the desired value, particularly in processes where the mean can be changed by a simple adjustment of a manipulable process variable. If the mean is not easily influenced by a simple process adjustment, then it is likely to be an unknown and complex function of several process variables and a target value $\overline{\overline{X_0}}$ may not be useful, just as using that value could result in many points outside the control limits. In these cases, we would not necessarily know whether the point was actually associated with an assignable cause or whether it was plotted out of bounds because of a poor choice for the center line.
When the graph $ R $ is out of control, we eliminate the out of control points and recalculate a revised value of $\overline{R}$. This value is then used to determine new limits and centerline of the chart $ R $ and new limits on the chart $\overline{X}$. We thus have more severe (tighter) limits on both graphs, making them consistent (with a standard deviation $\sigma $ consistent) with the use of $\overline{R}$ reviewed in relation $\overline{R}/d_{2}$. This estimate of $\sigma $ could be used as the basis of preliminary process capability analyses.
Example 4.1.1
To apply the graphics $\overline{X}$ and $ R $ let us consider data corresponding to the length of parts in subgroups of size 5.
| X1 | X2 | X3 | X4 | X5 | $\overline{X}$ | R |
|---|---|---|---|---|---|---|
| 0,65 | 0,7 | 0,65 | 0,65 | 0,85 | 0,7 | 0,2 |
| 0,75 | 0,85 | 0,75 | 0,85 | 0,65 | 0,77 | 0,2 |
| 0,75 | 0,8 | 0,8 | 0,7 | 0,75 | 0,76 | 0,1 |
| 0,6 | 0,7 | 0,7 | 0,75 | 0,65 | 0,68 | 0,15 |
| 0,7 | 0,75 | 0,65 | 0,85 | 0,8 | 0,75 | 0,2 |
| 0,6 | 0,75 | 0,75 | 0,85 | 0,7 | 0,73 | 0,25 |
| 0,75 | 0,8 | 0,65 | 0,75 | 0,7 | 0,73 | 0,15 |
| 0,6 | 0,7 | 0,8 | 0,75 | 0,75 | 0,72 | 0,2 |
| 0,65 | 0,8 | 0,85 | 0,85 | 0,75 | 0,78 | 0,2 |
| 0,6 | 0,7 | 0,6 | 0,8 | 0,65 | 0,67 | 0,2 |
| 0,8 | 0,75 | 0,7 | 0,8 | 0,7 | 0,75 | 0,1 |
| 0,85 | 0,75 | 0,85 | 0,65 | 0,7 | 0,76 | 0,2 |
| 0,7 | 0,7 | 0,75 | 0,75 | 0,7 | 0,72 | 0,05 |
| 0,65 | 0,7 | 0,85 | 0,75 | 0,6 | 0,71 | 0,25 |
| 0,9 | 0,8 | 0,8 | 0,75 | 0,85 | 0,82 | 0,15 |
| 0,75 | 0,8 | 0,75 | 0,8 | 0,65 | 0,75 | 0,15 |
| 0,75 | 0,7 | 0,85 | 0,7 | 0,8 | 0,76 | 0,15 |
| 0,75 | 0,7 | 0,6 | 0,7 | 0,6 | 0,67 | 0,15 |
| 0,65 | 0,65 | 0,85 | 0,65 | 0,7 | 0,7 | 0,2 |
| 0,6 | 0,6 | 0,65 | 0,6 | 0,65 | 0,62 | 0,05 |
| 0,5 | 0,55 | 0,65 | 0,8 | 0,8 | 0,66 | 0,3 |
| 0,6 | 0,8 | 0,65 | 0,65 | 0,75 | 0,69 | 0,2 |
| 0,8 | 0,65 | 0,75 | 0,65 | 0,65 | 0,7 | 0,15 |
| 0,65 | 0,6 | 0,6 | 0,6 | 0,7 | 0,63 | 0,1 |
| 0,65 | 0,7 | 0,7 | 0,6 | 0,65 | 0,66 | 0,1 |
Table 2.4.1: Sample data on piece lengths.
Steps for sample collection and data analysis:
- Selection of the quality characteristic of the process, focused on the customer.
- Record of observations obtained following rational sampling criteria. In the example, 5 items were chosen per hour, during $m$ = 25 hours.
- Calculation of the sample mean $\overline{X}$ and sampling amplitude $ R $, for each $i = 1, 2, …, m$. The values of $\overline{X}$ and of $ R $ accompany the values in each column.
- Calculation of the average of the sample means and the average of the sample amplitudes, which are indicated, respectively, by $\overline{\overline{X}}$ and $\overline{R}$.
$$\overline{\overline{X}} = \dfrac{\hbox{Soma das Médias Amostrais}}{\hbox{Número de amostras}} = \dfrac{1}{m}\sum_{i=1}^{n}\overline{X}_i$$
$$\overline{R} = \dfrac{\hbox{Soma das Amplitudes Amostrais}}{\hbox{Número de amostras}} = \dfrac{1}{m}\sum_{i=1}^{n}R_{i}$$
For our example data we have:
- $m$ = Number of samples = 25
- $n$ = Sample size = 5
$$\overline{\overline{X}} = \dfrac{0,70+0,77+\cdots+0,66}{25} = \dfrac{17,89}{25} = 0,7156$$
$$\overline{R} = \dfrac{0,20+0,20+\cdots+0,10}{25} = \dfrac{4,15}{25} = 0,166$$
Let’s now calculate the control limits. The Appendix contains the tabulated values of the constants necessary for the calculation, so as to $n$ = 5 we have, $A_2$ = 0,577; $ D_3$ = 0 and $D_4$ = 2,114.
Applying the formulas, we obtain:
-
For the average
$$LSC= 0,7156 + (0,577 \ast 0,166) = 0,8113$$
$$LC= 0,7156$$
$$LIC = 0,7156 - (0,577 \ast 0,166) = 0,6198$$
-
For amplitude
$$LSC = 2,114 \ast 0,166 = 0,3509$$
$$LC = 0,166$$
$$LIC = 0$$
Below are the results obtained by Software Action for this example.
| X-Bar Chart | Value |
|---|---|
| Upper Limit | 0.8114 |
| Center line | 0.7156 |
| Lower Limit | 0.6198 |
Table 2.4.2: X-Bar Chart
| Amplitude Graph | Value |
|---|---|
| Upper Limit | 0.3509 |
| Center line | 0.166 |
| Lower Limit | 0 |
| Standard deviation | 0.0714 |
Table 2.4.3: Amplitude Graph
Figure 2.4.1: Graphics $\overline{X}$ and $ R $.
The amplitude graph ($ R $) is under statistical control. However, the graph $\overline{X}$ presents a point more than 3 standard deviations from the center line, indicating a possible special cause of variation.
To understand how to perform this function of Software Action, you can refer to the user manual.
Phase II: Graphics operation $\overline{X}$ and $ R $
Once reliable control limits are established, we use the control chart to monitor future production. This is called Phase II of using the control chart.
Observing Figure 2.4.1 we notice that the control charts indicate that the process is under control, up to the value $\overline{X}$ of sample 15 be plotted. Since this point falls above the upper control limit, we would suspect that an assignable cause occurred at that instant or earlier. The general pattern of points on the graph $\overline{X}$ of around 38 subsequent subgroups is indicative of a shift in the process mean.
Once the control chart is established and is being used in online process monitoring, we would often try to use the sensitivity rules (eight tests of non-randomness or the Western Electric rules) to speed up change detection. However, we discourage the routine use of these sensitivity rules for online monitoring of a stable process because they greatly increase the occurrence of false alarms.
When examining control chart data it is sometimes useful to construct a run chart (run chart) of the individual observations of each sample. This graph is sometimes called tolerance chart or tier diagram and may reveal some pattern in the data or even show that a particular value of $\overline{X}$ or $ R $ it was produced by one or two unusual observations in the sample. A boxplot is generally a very simple way to construct the tier diagram.
Objectives and interpretation of graphs $\overline{X}$ and $ R $
The function of the graphs is to identify/detect any evidence that the process mean and its dispersion are not operating at stable levels.
If one or more points are outside the control limits (either on the $\overline{X}$ or $ R $) or other pattern of non-randomness, there is a warning sign (or indicator) that the process is not under statistical control.
One of the objectives of applying control charts is to test whether an unknown process is under statistical control or not and, if the process is diagnosed as “out of control”, guide actions to bring the process to a state of control. To achieve these objectives, proceed as follows:
- Once all the points corresponding to the sample means and sample ranges are displayed on the respective graphs and there is no pattern of non-randomness, the process is considered “under control”.
- If any point outside the control limits or any other pattern of non-randomness is found, we consider that special causes of variation are present. These causes must be sought and corrected. After correcting the causes that determine the non-randomness pattern, new limits and new central lines are calculated, eliminating for this calculation the sample elements that determine the non-randomness pattern. This process must be repeated, iteratively, until no non-random pattern is found. At this point we consider that the process has reached the control state. With the process in a state of control, we can apply graphics as a tool to monitor the process and make continuous improvements.
Defining “Out of Control” Signals (Nelson Tests)
The presence of one or more points beyond the control limits is the first evidence of a special cause of variation in the process. A point outside the control limits in many cases means that one or more of the following has occurred:
- The control limit or point on the graph may have been miscalculated or plotted in an unreliable manner;
- The measurement system has been changed, i.e., a different rater or instrument;
- The measurement system does not discriminate properly.
There are many criteria for identifying special causes. The most used ones will be discussed below. The decision of which criteria to use depends on the process being studied/controlled. In general, we start simply, just evaluate points outside the control lines. As we gain experience with the process we can increase the criteria to determine more special causes of variation
Note 1: With the exception of the first criterion, the numbers associated with the criteria do not establish an order of use. Determining which criteria to use depends on the characteristics of the process and the special causes and priorities with the process.
Note 2: We must be careful when applying many criteria, except those where it made sense to use a certain criterion.
Therefore, we will conclude that a process is out of control if one or more of the criteria listed below are found in the control charts. The criteria are:
- 1 point more than 3 standard deviations from the center line;
- 7 consecutive points on the same side of the center line;
- 6 consecutive points, all increasing or decreasing;
- 14 consecutive points, alternating above and below;
- 2 of 3 consecutive points greater than 2 standard deviations from the center line (same side);
- 4 of 5 consecutive points greater than 1 standard deviation from the center line (same side);
- 15 consecutive points within 1 standard deviation of the center line (either side);
- 8 consecutive points greater than 1 standard deviation from the center line (either side).
Some examples of the tests will be illustrated below.
Figure 2.4.2: Example of 1 point more than 3 standard deviations from the center line.
Figure 2.4.3: Example of 7 points in sequence from the center line.
Figure 2.4.4: Example of 14 points in sequence alternating along the center line.
Figure 2.4.5: Example of 2 of 3 consecutive points, on the same side of the LC, greater than 2 standard deviations.
Figure 2.4.6: Example of 7 points, in a line, increasing.
The Operation Characteristic Function
The skill of graphics $\overline{X}$ and $ R $ of detecting shifts in process quality is described by its operating characteristic curves (OCC). Below we present the CCO for graphs used to monitor phase II of a process.
Consider CCO for a graph $\overline{X}$ with the standard deviation $\sigma $ known and constant. If the mean shifts from the value under control, say $\mu_{0}, $ to another value $\mu_{1}=\mu_{0}+k\sigma, $ the probability of $\textbf{não}$ detect this shift in the first subsequent sample or risk $\beta $ is given by
$$\beta= {P}[LIC \leq \overline{X} \leq LSC~|~\mu=\mu_{1}=\mu_{0}+k\sigma] \tag{4.1.1}$$
Once $\overline{X} \sim {N}(\mu,~\sigma^{2}/n) $ and the upper and lower control limits are
$$LSC = \mu_{0}+L \sigma/ \sqrt{n} \qquad \hbox{e} \qquad LIC =\mu_{0}-L \sigma/ \sqrt{n}$$
we can rewrite equation 4.1.1 as
$$\beta = \Phi\left[\dfrac{LSC-(\mu_{0}+k\sigma)}{\sigma/ \sqrt{n}}\right]-\Phi\left[\dfrac{LIC-(\mu_{0}+k\sigma)}{\sigma/ \sqrt{n}}\right]$$
$$=\Phi\left[\dfrac{\mu_{0}+L \sigma/ \sqrt{n}-(\mu_{0}+k\sigma)}{\sigma/ \sqrt{n}}\right]-\Phi\left[\dfrac{\mu_{0}-L \sigma/ \sqrt{n}-(\mu_{0}+k\sigma)}{\sigma/ \sqrt{n}}\right]$$
in which $\Phi $ denotes the standard normal cumulative distribution function. With this, we have
$$\beta=\Phi(L-k\sqrt{n})-\Phi(-L-k\sqrt{n}) \tag{4.1.2}$$
To illustrate equation 4.1.2, we will assume a graph $\overline{X}$ with $L = 3$ (the usual three sigma limits) and sample size $n=5$. We want to determine the probability of detecting a shift to $\mu_{1} = \mu_{0}+2\sigma $ in the first sample following the displacement. So, since $L=3$, $k=2$ and $n=5$ we have
$$\beta=\Phi(3-2\sqrt{5})-\Phi(-3-2\sqrt{5}) = \Phi(-1,47)-\Phi(-7,37) = 0,0705$$
This is the risk $\beta, $ or the probability of not detecting the displacement. Thus, the probability that this displacement will be detected in the first subsequent sample is given by
$$1-\beta = 1-0,0705 = 0,9295$$
To construct the CCO for the graph $\overline{X}$ we must plot the risk $\beta $ against the magnitude of the shift we want to detect, expressed in units (k) of the standard deviation, for various sample sizes n. These probabilities can be calculated directly from equation 4.1.2.
Example 4.1.2
Let us consider $L=3$, n varying from 2 to 10 and different values for k we obtain the CCO presented in Figure 2.4.7.
Figure 2.4.7: BCC for the graph $\overline{X}$ with 3-sigma limits.
| k | 0,5 | 1 | 1,5 | 2 | 2,5 | 3 | 3,5 | 4 | 4,5 | 5 | 5,5 | 6 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| n=2 | 0,989868 | 0,943601 | 0,810212 | 0,568113 | 0,296140 | 0,107000 | 0,025603 | 0,003944 | 0,000023 | 0,000001 | 0,000000 | 0,000000 |
| n=3 | 0,983522 | 0,897591 | 0,656130 | 0,321287 | 0,091738 | 0,014041 | 0,001099 | 0,000043 | 0,000000 | 0,000000 | 0,000000 | 0,000000 |
| n=4 | 0,977218 | 0,841345 | 0,500000 | 0,158655 | 0,022750 | 0,001350 | 0,000032 | 0,000000 | 0,000000 | 0,000000 | 0,000000 | 0,000000 |
| n=5 | 0,970061 | 0,777546 | 0,361631 | 0,070492 | 0,004796 | 0,000104 | 0,000001 | 0,000000 | 0,000000 | 0,000000 | 0,000000 | 0,000000 |
| n=6 | 0,962060 | 0,709015 | 0,250081 | 0,028784 | 0,000893 | 0,000007 | 0,000000 | 0,000000 | 0,000000 | 0,000000 | 0,000000 | 0,000000 |
| n=7 | 0,953233 | 0,638424 | 0,166366 | 0,010967 | 0,0000151 | 0,000000 | 0,000000 | 0,000000 | 0,000000 | 0,000000 | 0,000000 | 0,000000 |
| n=8 | 0,943601 | 0,568113 | 0,107000 | 0,003944 | 0,000023 | 0,000000 | 0,000000 | 0,000000 | 0,000000 | 0,000000 | 0,000000 | 0,000000 |
| n=9 | 0,933189 | 0,500000 | 0,066807 | 0,001350 | 0,000003 | 0,000000 | 0,000000 | 0,000000 | 0,000000 | 0,000000 | 0,000000 | 0,000000 |
| n=10 | 0,922028 | 0,435544 | 0,046300 | 0,000443 | 0,000000 | 0,000000 | 0,000000 | 0,000000 | 0,000000 | 0,000000 | 0,000000 | 0,000000 |
Table 2.4.4: Values of $\beta $ for different values of k and n.
Figure 2.4.7 indicates that for typical sample sizes of four, five and six the graph $\overline{X}$ is not particularly efficient at detecting a small displacement (on the order of $ 1,5\sigma $ or less) in the first sample after displacement. For example, if the displacement is $ 1,0\sigma $ and $n=5$, so from Figure 2.4.7 we have $\beta=0,75 $ approximately. Thus, the probability that the displacement is detected in the first sample is $ 1-\beta=0,25. $ However, the probability that the displacement will be detected in the second sample is $\beta(1-\beta)=0,75\ast0,25=0,19, $ while the probability that it will be detected in the third sample is $\beta^{2}(1- \beta)=(0,75^{2})\ast0,25=0,14 $. Thus, the probability that the displacement will be detected in the $ r $-th subsequent sample is simply ($ 1- \beta $) times the probability of not detecting the displacement in each of the $ r-1 $ initial samples, or
$$\beta^{r-1}(1-\beta)$$
In general, the expected number of samples taken before displacement is detected is simply the average run length (average length of runs) or
$$ARL = \sum_{r=1}^{\infty}r \beta^{r-1}(1-\beta)=\dfrac{1}{1-\beta}$$
Therefore, in our example we have
$$ARL = \dfrac{1}{1-\beta} = \dfrac{1}{0,25} = 4$$
In other words, the expected number of samples taken to detect the displacement of $ 1,0 \ \sigma $ with n=5 it is 4.
The above discussion provides an argument supporting the use of small sample sizes for the graph. $\overline{X}$. Although small sample sizes always result in a risk $\beta $ relatively large, since samples are collected and tested periodically there is a good chance that the shift will be detected reasonably quickly, perhaps not in the first sample following the shift.
BCC for the chart $ R $ with limits $ 3\hat{\sigma}_{R}$
To construct the CCO for the graph $ R $ we use the relative amplitude distribution $ W = R/\sigma. $ Suppose that the value of the standard deviation of the original process is $\sigma_{0}. $ Then, the CCO describes the probability of not detecting a shift to a new value of $\sigma, $ let’s say $\sigma_{1}>\sigma_{0}, $ in the first sample following the displacement. However, to determine the chance that such a shift will be captured by the graph $ R $ in a single sample, we must calculate the probability that a sample (for example, five items) will have an amplitude less than or equal to the LSC (upper control limit). So, just calculate
$$\beta = {P}[R \leq LSC~|~\sigma = \sigma_{1} = k\sigma_{0}]$$
in which $ LSC = \overline{R}+3d_{3}\sigma_{0}$ and $ d_{3}$ a constant tabulated in the Appendix.
The probability that $ R $ is less than or equal to LSC is the same as $ W $ is less than or equal to $ {LSC}/\sigma_{1}, $ i.e.
$$\beta = {P}[R \leq LSC~|~\sigma = \sigma_{1}]= {P}\left[\dfrac{R}{\sigma_{1}} \leq \dfrac{\overline{R}}{\sigma_{1}}+3d_{3}\dfrac{\sigma_{0}}{\sigma_{1}}~|~\sigma = \sigma_{1}\right]$$
$$={P}\left[W \leq \dfrac{\overline{R}}{\sigma_{0}}\ast\dfrac{\sigma_{0}}{\sigma_{1}}+3d_{3}\dfrac{\sigma_{0}}{\sigma_{1}}~|~\sigma = \sigma_{1}\right] \tag{4.1.3}$$
We can notice that for $ n \leq 6 $ CCOs have probabilities very close to 1 for $\sigma_{1}/\sigma_{0} < 1, $ since in these cases there is no lower limit. Therefore, the probability of not detecting a displacement is given by equation 4.1.3. For $ n > 6, $ the graph $ R $ with limits $ 3\hat{\sigma}_{R}$ has a lower limit and then $\beta $ is calculated as
$$\beta = {P}\left[\dfrac{\overline{R}}{\sigma_{0}}\ast\dfrac{\sigma_{0}}{\sigma_{1}} -3d_{3}\dfrac{\sigma_{0}}{\sigma_{1}}\leq W \leq \dfrac{\overline{R}}{\sigma_{0}}\ast\dfrac{\sigma_{0}}{\sigma_{1}}+3d_{3}\dfrac{\sigma_{0}}{\sigma_{1}}~|~\sigma = \sigma_{1}\right]$$
Therefore, with the calculations presented above we obtain the CCO’s for the graph $ R, $ for n ranging from 2 to 10, as shown in Figure 2.4.8.
Figure 2.4.8: BCC for the graph $ R $ with 3-sigma limits.
| k | 0,5 | 1 | 1,5 | 2 | 2,5 | 3 | 3,5 | 4 | 4,5 | 5 | 5,5 | 6 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| n=2 | 1,000000 | 0,998084 | 0,918231 | 0,807186 | 0,703635 | 0,615482 | 0,543605 | 0,485341 | 0,437183 | 0,398713 | 0,365014 | 0,336201 |
| n=3 | 1,000000 | 0,994229 | 0,900481 | 0,727889 | 0,565636 | 0,439924 | 0,346462 | 0,278348 | 0,227911 | 0,189149 | 0,158557 | 0,135004 |
| n=4 | 1,000000 | 0,995065 | 0,881119 | 0,655545 | 0,455662 | 0,314772 | 0,221723 | 0,160234 | 0,118913 | 0,089117 | 0,068809 | 0,054436 |
| n=5 | 1,000000 | 0,995356 | 0,860949 | 0,589555 | 0,366568 | 0,224807 | 0,141369 | 0,092128 | 0,061376 | 0,042490 | 0,030020 | 0,021769 |
| n=6 | 1,000000 | 0,995540 | 0,841464 | 0,531171 | 0,295019 | 0,161826 | 0,090492 | 0,052879 | 0,032029 | 0,020092 | 0,013430 | 0,008815 |
| n=7 | 0,999839 | 0,995660 | 0,823090 | 0,478364 | 0,238677 | 0,115420 | 0,058175 | 0,030540 | 0,016631 | 0,009548 | 0,005719 | 0,003538 |
| n=8 | 0,999405 | 0,995867 | 0,805336 | 0,433312 | 0,193173 | 0,083690 | 0,037383 | 0,017622 | 0,008744 | 0,004804 | 0,002537 | 0,001469 |
| n=9 | 0,997532 | 0,995662 | 0,788291 | 0,391013 | 0,156568 | 0,060322 | 0,024149 | 0,010155 | 0,006461 | 0,002225 | 0,001122 | 0,000595 |
| n=10 | 0,998329 | 0,995616 | 0,771956 | 0,354358 | 0,127176 | 0,043767 | 0,015448 | 0,005902 | 0,002405 | 0,001009 | 0,000501 | 0,000232 |
Table 2.4.5: Values of $\beta $ for different values of k and n.
Observing Figure 2.4.8 we can notice that the graph $ R $ is not very efficient for detecting process shifts for small sample sizes. For example, if the process standard deviation doubles (i.e., $ k = \sigma_{1}/\sigma_{0} = 2 $), which is a fairly large shift, so samples of size 5 only have about a 40% chance of detecting this shift in each of the subsequent samples. Many quality engineers say that the graph $ R $ is insensitive to small or moderate displacements for the usual size subgroups $n=4$, $5$ or $6$. Se $n > 10$ or $12$, the graph $ S $ should be used instead of the graph $R$.
The CCO’s in Figures 2.4.7 and 2.4.8 assume that the graphs $\overline{X}$ and $ R $ are used to monitor online processes, that is, monitor processes in phase II. It is occasionally useful to study the statistical performance of a graph used to analyze past data (phase I). This may give some indication of how the number of preliminary subgroups used to establish the control chart affects the ability of the chart to detect out-of-control conditions that may have existed when the data were collected. It is from such analytical studies as well as practical experience that the recommendation to use about 20 to 25 preliminary subgroups to establish the graphs $\overline{X}$ and $ R $ it makes sense.
Average Run Length (ARL) for the chart $\overline{X}$
Average Run Length is a measure of balance between Type I error, which represents excessive control or false alarm, or Type II error, which is inadequate control. It is represented by the expected number of subgroup samples between the “out of control” signals. The Average Run Length can be expressed as
$$ARL = \dfrac{1}{P \hbox{(um ponto cair fora de controle)}}$$
or
$$ARL_{0} = \dfrac{1}{{P \hbox{(Erro Tipo I)}}} = \dfrac{1}{\alpha}$$
for the ARL “under control”, and
$$ARL_{1} = \dfrac{1}{1-\beta}$$
for the “out of control” ARL.
These results are really intuitive. If the observations plotted on the control chart are independent, then the number of points that must be plotted until the first point exceeds the control limits is a geometric random variable with parameter p. The mean of this distribution is simply $1/p$, which is the average length of the runs (average run length).
Since it is relatively easy to develop a general expression for $\beta $ to the graph $\overline{X}$ detect a shift in the average $ k\sigma $ (equation 4.1.2), then it is not difficult to construct a set of ARL curves for the graph $\overline{X}. $ Figure 2.4.9 presents the ARL curves for sample sizes $n=2$, $3$, $4$, $5$, $6$, $7$, $8$, $9$ and $10$ to the graph $\overline{X}, $ the ARL being given in terms of the expected number of samples taken to detect the displacement. To illustrate the use of Figure 2.4.9, suppose we want to detect a displacement of $ 1,5\sigma $ using a sample size $n=3$, then the average number of samples required will be $ ARL_{1}=3. $ Note also that if we wanted to reduce the $ ARL_{1}$ for approximately $1$ we should increase the sample size to $n=16$.
Figure 2.4.9: Average Run Length (samples) for the graph $\overline{X}$ with 3-sigma limits when the process mean moves by $ k\sigma. $
| k | 0,5 | 1 | 1,5 | 2 | 2,5 | 3 | 3,5 | 4 | 4,5 | 5 | 5,5 | 6 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| n=2 | 90,66420 | 17,730826 | 5,296047 | 2,315422 | 1,420738 | 1,119821 | 1,026276 | 1,003959 | 1,000384 | 1,000023 | 1,000001 | 1,000000 |
| n=3 | 60,687930 | 9,764752 | 2,908075 | 1,473378 | 1,101004 | 1,014240 | 1,001100 | 1,000043 | 1,000001 | 1,000000 | 1,000000 | 1,000000 |
| n=4 | 43,894680 | 6,302963 | 2,000000 | 1,188573 | 1,023280 | 1,001352 | 1,000032 | 1,000000 | 1,000000 | 1,000000 | 1,000000 | 1,000000 |
| n=5 | 33,400780 | 4,495312 | 1,566493 | 1,075838 | 1,004820 | 1,000104 | 1,000001 | 1,000000 | 1,000000 | 1,000000 | 1,000000 | 1,000000 |
| n=6 | 26,357510 | 3,436606 | 1,333477 | 1,029637 | 1,000894 | 1,000007 | 1,000000 | 1,000000 | 1,000000 | 1,000000 | 1,000000 | 1,000000 |
| n=7 | 21,382700 | 2,765668 | 1,199567 | 1,011089 | 1,000151 | 1,000000 | 1,000000 | 1,000000 | 1,000000 | 1,000000 | 1,000000 | 1,000000 |
| n=8 | 17,730830 | 2,315422 | 1,119821 | 1,003959 | 1,000023 | 1,000000 | 1,000000 | 1,000000 | 1,000000 | 1,000000 | 1,000000 | 1,000000 |
| n=9 | 14,967690 | 2,000000 | 1,071590 | 1,001352 | 1,000003 | 1,000000 | 1,000000 | 1,000000 | 1,000000 | 1,000000 | 1,000000 | 1,000000 |
| n=10 | 12,825110 | 1,771616 | 1,042351 | 1,000443 | 1,000000 | 1,000000 | 1,000000 | 1,000000 | 1,000000 | 1,000000 | 1,000000 | 1,000000 |
Table 2.4.6: ARL values for different values of k and n.
ARL’s are the subject of some criticism as performance measures for control charts. We note that the run length distribution for a Shewhart control chart is geometric and that it can be a very skewed distribution, such that the mean (i.e., the ARL) may not be the best measure of a typical run length. There is another issue regarding ARL related to the fact that calculations for a specific control chart are generally based on estimates of process parameters. This results in inflation of both $ ARL_{0}$ and $ ARL_{1}. $ For example, suppose the center line of the graph is estimated perfectly but the standard deviation of the process is overestimated by 10%. This would result in $ ARL_{0} = 517, $ considerably further away from the “theoretical” or nominal value of 370. Now, with a normally distributed process, in a similar way we will underestimate the standard deviation of the process by 10%, which results in a $ ARL_{0} = 268, $ a value considerably lower than 370. The average is then $(268+517)/2=392,5$ , suggesting that errors in estimating the process standard deviation result in overestimated ARL’s.
Two other performance measures based on ARL are sometimes of interest. One is the mean time to signal, given by the number of time periods that occur before a signal is generated on the control chart. If samples are taken at time intervals h (in hours), then the average time until signal or ATS (average time to signal) is given by
$$ATS =ARL \times h$$
It may also be useful to express the ARL in terms of the expected number of individual units sampled - say I - rather than the number of samples taken to detect a shift. If the sample size is n, the relationship between I and ARL is given by
$$I=n \times ARL$$
Figure 2.4.10 presents a set of curves that describe the expected number of individual units (I) that should be sampled for the graph $\overline{X}$ to detect a displacement of $ k\sigma. $ Note that to detect a displacement of $ 1,5\sigma $ for example, a graph $\overline{X}$ with n=16 requires approximately 16 units to be sampled, whereas if the sample size were $n=3$, only about 9 units would be required, on average.
Figure 2.4.10: Average Run Length (individual units) for the graph $\overline{X}$ with 3-sigma limits when the process mean moves by $ k\sigma. $
Expected Individual Units
| k | 0,5 | 1 | 1,5 | 2 | 2,5 | 3 | 3,5 | 4 | 4,5 | 5 | 5,5 | 6 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| n=2 | 181,292500 | 35,461650 | 10,538094 | 4,630844 | 2,841476 | 2,239642 | 2,052552 | 2,007919 | 2,000769 | 2,000047 | 2,000002 | 2,000000 |
| n=3 | 182,063800 | 29,294250 | 8,724225 | 4,420134 | 3,303012 | 3,042721 | 3,003300 | 3,000128 | 3,000002 | 3,000000 | 3,000000 | 3,000000 |
| n=4 | 175,578700 | 25,211850 | 8,000000 | 4,754294 | 4,093119 | 4,005407 | 4,000127 | 4,000001 | 4,000000 | 4,000000 | 4,000000 | 4,000000 |
| n=5 | 167,003900 | 22,476560 | 7,832463 | 5,379190 | 5,024098 | 5,000522 | 5,000003 | 5,000000 | 5,000000 | 5,000000 | 5,000000 | 5,000000 |
| n=6 | 158,145100 | 20,619640 | 8,000865 | 6,177820 | 6,005362 | 6,000041 | 6,000000 | 6,000000 | 6,000000 | 6,000000 | 6,000000 | 6,000000 |
| n=7 | 149,678900 | 19,359680 | 8,396967 | 7,077622 | 7,001054 | 7,000003 | 7,000000 | 7,000000 | 7,000000 | 7,000000 | 7,000000 | 7,000000 |
| n=8 | 141,846600 | 18,523380 | 8,958568 | 8,031674 | 8,000187 | 8,000000 | 8,000000 | 8,000000 | 8,000000 | 8,000000 | 8,000000 | 8,000000 |
| n=9 | 134,709200 | 18,000000 | 9,644309 | 9,012166 | 9,000031 | 9,000000 | 9,000000 | 9,000000 | 9,000000 | 9,000000 | 9,000000 | 9,000000 |
| n=10 | 128,251100 | 17,716160 | 10,423512 | 10,004430 | 10,000005 | 10,000000 | 10,000000 | 10,000000 | 10,000000 | 10,000000 | 10,000000 | 10,000000 |
Table 2.4.7: Values of I (individual units) for different values of k and n.
To understand how to perform this function of Software Action, you can refer to the user manual.
2.4.2 Average and Standard Deviation Graphs
As stated in the previous section, in practice, we generally do not know μ and σ, however, they are estimated from preliminary samples taken in subgroups of at least 20 to 25 samples. Suppose we have m samples available, with each one containing n observations about the quality characteristic. In applications, the number of observations n is small and generally results from the construction of rational subgroups, in which the sampling and inspection costs associated with variable measurements are high. Therefore, in these cases the average $\overline{X}$ and the variance $ s^2 $ are unbiased estimators for the population mean $\mu $ and population variance $\sigma^2, $i.e. $ E(\overline{X})=\mu $ and $ E(s^2)=\sigma^2. $ However, in this type of situation, the standard deviation $ s $ is a biased estimator for the population standard deviation $\sigma, $ (Montgomery, D.C. (2001)). Thus, its expected value is given by:
$$E(s)=\underbrace{\left(\frac{2}{n-1}\right)^{\frac{1}{2}}\frac{\Gamma\left(\frac{n}{2}\right)}{\Gamma\left(\frac{(n-1)}{2}\right)}}_{c_4}\sigma=c_4~\sigma$$
Therefore, we obtain that the unbiased estimator for the standard deviation is given by:
$$\hat{\sigma}=\frac{s}{c_4}$$
For the average graph $\overline{X}$, we take $\overline{X}_1,\overline{X}_2,\dots,\overline{X}_m $ the means of each sample, and with this we have the best estimator of $\mu, $ for the averaging process is given by:
$$LC=\overline{\overline{X}}=\frac{\overline{X}_1+\overline{X}_2+\dots+\overline{X}_m}{m}$$
which is the center line of the graph $\overline{X}. $ Suppose that m preliminary samples are available, each of size n, and let $ s_i $ the standard deviation of the ith sample. Thus, the average of the m standard deviations is given by:
$$\overline{S}=\frac{1}{m}\sum^m_{i=1}s_i$$
with $\displaystyle\frac{\overline{S}}{c_4}$ an unbiased estimator for the population standard deviation $\sigma. $
Next, we will present the main topics for constructing the graph $\overline{X}$ and $ S. $
- The only difference in applying the graph $\overline{X}$ and $ S $ (mean and standard deviation), instead of the $\overline{X}$ and $ R $ is in calculating the estimated $\sigma $.
- We estimate $\sigma $ directly, that is, through the calculation of the sample standard deviation.
- The graph $\overline{X}$ and $ S $ is used when the sample size is large (> 10 or 12). Furthermore, the sample or subgroup size can be variable.
- From a practical point of view, the application of this graph may be unfeasible for data that is not collected electronically, as the operator must calculate the standard deviations for each point.
Calculation of control limits
To construct control limits for the graph $\overline{X}$ and $ S, $ we use the fact that $\frac{\overline{S}}{c_4}$ be the estimator of $\sigma. $ Thus, the control limits for the mean graph $\overline{X}$ are given by:
$$LSC=\mu_{\overline{X}}+3~\frac{\hat{\sigma}_{\overline{X}}}{\sqrt{n}}=\overline{\overline{X}}+3~\frac{\overline{S}}{c_4~\sqrt{n}}=\overline{\overline{X}}+\underbrace{\frac{3}{c_4~\sqrt{n}}}_{A_3}\overline{S}\quad \Rightarrow\quad LSC=\overline{\overline{X}}+A_3~\overline{S}$$
and
$$LIC=\mu_{\overline{X}}-3~\frac{\hat{\sigma}_{\overline{X}}}{\sqrt{n}}=\overline{\overline{X}}-3~\frac{\overline{S}}{c_4~\sqrt{n}}=\overline{\overline{X}}-\underbrace{\frac{3}{c_4~\sqrt{n}}}_{A_3}\overline{S}\quad \Rightarrow\quad LSC=\overline{\overline{X}}-A_3~\overline{S}$$
To construct control limits for the graph $ S, $ we need Cochran’s theorem. Thus, as a direct consequence of this theorem, we obtain that $ E(S^2)=\sigma^2. $ Therefore, the variance of $ S $ is given by:
$$Var(S)=E(S^2)-[E(S)]^2=\sigma^2-c^2_4\sigma^2$$
With this, we have to
$$\hat{\sigma}_S=\sigma\sqrt{1-c^2_4}$$
Therefore, we obtain the control limits as follows:
$$LSC=\overline{S}+3~\hat{\sigma}_S=\overline{S}+3~\frac{\overline{S}\sqrt{1-c^2_4}}{c_4}=\overline{S}\underbrace{\left(1+\frac{3}{c_4}\sqrt{1-c^2_4}\right)}_{B_4}\quad\Rightarrow \quad LSC=B_4~\overline{S}$$
and
$$LIC=\overline{S}-3~\hat{\sigma}_S=\overline{S}-3~\frac{\overline{S}\sqrt{1-c^2_4}}{c_4}=\overline{S}\underbrace{\left(1-\frac{3}{c_4}\sqrt{1-c^2_4}\right)}_{B_3}\quad\Rightarrow \quad LIC=B_3~\overline{S}$$
In short, we have:
-
For averages
Upper control limit:
$$LSC = \overline{\overline{X}} + (A_3 \ast \overline{S})$$
Central Line:
$$LC = \overline{\overline{X}}$$
Lower control limit:
$$LIC = \overline{\overline{X}} - (A_3 \ast \overline{S})$$
-
For standard deviations
Upper control limit:
$$LSC = B_4 \ast \overline{S}$$
Central Line:
$$LC = \overline{S}$$
Lower control limit:
$$LIC = B_3 \ast \overline{S}$$
-
Arrangement of points in graphs $\overline{X}$ and $ S $
After calculating the Central Lines and the Lower and Upper Control Limits for the graphs $\overline{X}$ and $ S $, we are in a position to arrange the points that represent the sample means (in the graph $\overline{X}$) and the sample standard deviations (in the graph $ S $), respectively.
To facilitate analysis of the results, it is recommended to place both graphs one below the other, and mark the points corresponding to the same sample on the same vertical line.
-
Example 4.2.1
Consider a pin machining process where the diameter is measured in subgroups of 10 pieces over time, as shown in Table 2.4.8. Let’s build the graphics $\overline{X}$ and $ S $.
| X1 | X2 | X3 | X4 | X5 | X6 | X7 | X8 | X9 | X10 |
|---|---|---|---|---|---|---|---|---|---|
| 9.8323 | 10.4735 | 9.5178 | 10.8361 | 9.9201 | 9.6272 | 10.0284 | 9.6664 | 9.3373 | 10.9362 |
| 9.0219 | 10.6217 | 10.6176 | 11.4604 | 8.9944 | 10.1264 | 10.3556 | 9.6835 | 9.9313 | 10.5404 |
| 10.7431 | 10.9621 | 9.4968 | 10.17 | 8.9321 | 9.6742 | 10.2471 | 9.7774 | 10.0575 | 10.5816 |
| 10.0543 | 11.0115 | 10.4363 | 11.4068 | 10.1321 | 11.3897 | 9.9963 | 9.8184 | 10.4614 | 10.4651 |
| 9.6915 | 11.2257 | 9.8063 | 10.7478 | 10.1048 | 11.1482 | 10.1624 | 9.9117 | 9.9081 | 10.6442 |
| 9.9209 | 10.0309 | 10.5285 | 10.9878 | 9.8168 | 10.1317 | 10.0633 | 11.1288 | 11.2937 | 9.7451 |
| 9.6343 | 11.0474 | 9.8212 | 11.1468 | 9.115 | 10.7762 | 9.7394 | 10.0534 | 9.7941 | 11.6617 |
| 10.2035 | 10.4941 | 11.2188 | 10.515 | 9.415 | 10.7148 | 9.5438 | 10.1777 | 9.1048 | 10.4412 |
| 10.6667 | 10.7832 | 10.2442 | 11.6138 | 10.0163 | 10.0467 | 8.9035 | 10.9109 | 9.523 | 11.1139 |
| 10.4892 | 10.6291 | 10.6905 | 11.387 | 10.1746 | 9.5808 | 9.6638 | 11.0216 | 9.8581 | 10.6037 |
| 10.6649 | 11.1688 | 11.0198 | 9.8607 | 9.5741 | 10.2868 | 10.139 | 10.0186 | 10.6223 | 11.6381 |
| 10.5682 | 10.5393 | 10.1765 | 10.1989 | 10.75 | 10.0564 | 10.9785 | 10.5446 | 9.1627 | 10.2037 |
| 10.8432 | 9.1263 | 9.9808 | 11.2966 | 9.385 | 11.5448 | 10.6659 | 9.9193 | 10.417 | 10.9449 |
| 9.6101 | 9.8 | 10.4167 | 10.4374 | 9.5798 | 10.3382 | 9.9084 | 10.0147 | 9.758 | 9.9967 |
| 10.1325 | 10.8271 | 10.507 | 10.4371 | 10.8779 | 10.8975 | 8.9913 | 10.1882 | 10.5538 | 10.3392 |
| 10.3702 | 11.2328 | 9.7624 | 10.4681 | 9.9547 | 9.7824 | 9.7726 | 10.6453 | 9.8423 | 10.868 |
| 9.5008 | 9.5963 | 10.349 | 12.0111 | 10.1694 | 10.877 | 9.8602 | 9.7677 | 9.8443 | 11.1214 |
| 9.8528 | 10.0426 | 10.0269 | 10.7828 | 10.1054 | 9.9032 | 10.2323 | 10.7983 | 9.6603 | 10.9406 |
| 10.4005 | 10.7238 | 11.0019 | 10.4417 | 10.2053 | 10.0774 | 9.7682 | 9.7861 | 10.2386 | 10.3 |
| 9.7635 | 11.202 | 9.5674 | 10.1705 | 9.7851 | 10.3353 | 10.2331 | 10.3768 | 10.8271 | 10.4101 |
| 10.3412 | 10.1655 | 10.0494 | 11.4595 | 10.4515 | 10.326 | 10.8081 | 9.8483 | 9.7066 | 9.7909 |
| 10.2931 | 9.9962 | 9.7957 | 10.759 | 10.9442 | 10.3623 | 9.7833 | 9.006 | 11.1923 | 10.1037 |
| 10.2808 | 10.8858 | 10.2942 | 10.912 | 10.8164 | 9.8223 | 9.8758 | 9.1255 | 9.7107 | 9.8788 |
| 9.8984 | 11.0424 | 10.3988 | 11.0127 | 9.2655 | 10.2082 | 9.8238 | 9.8925 | 10.3074 | 9.9735 |
| 9.4126 | 11.9882 | 9.3897 | 10.9499 | 10.1394 | 9.7375 | 10.0704 | 9.9912 | 9.9054 | 10.9421 |
| 10.2554 | 9.6405 | 10.6678 | 10.6074 | 9.7188 | 11.1229 | 9.6877 | 10.8275 | 8.976 | 11.1306 |
| 9.763 | 11.4587 | 10.5735 | 10.3049 | 10.5277 | 11.0722 | 9.8399 | 9.6746 | 9.7708 | 10.1013 |
| 10.939 | 10.3562 | 10.7339 | 11.1043 | 10.0477 | 10.531 | 11.0688 | 9.802 | 10.2629 | 10.2776 |
Table 2.4.8: Pin diameter dataset.
- Process quality characteristic selection is customer-focused.
- Recording the observations obtained follows the rational sampling criteria. In the example, 10 items were chosen per day during $m = 28$ days.
- Calculation of the sample mean $\overline{X}$ and the standard deviation $ S $, for each $i = 1, 2, …, m$ of the m chosen samples. The values of $\overline{X}$ and of $ S $ are arranged in the last two columns of the table.
- Calculation of the mean of the sample means and the mean of the sample standard deviations, which are indicated, respectively, by $\overline{\overline{X}}$ and $\overline{S}$.
$$\overline{\overline{X}} = \dfrac{\hbox{Soma das Médias Amostrais}}{\hbox{Número de amostras}} = \dfrac{1}{m}\sum_{i=1}^{m}\overline{X}_{i}$$
$$\overline{S} = \dfrac{\hbox{Soma dos Desvios Padrão Amostrais}}{\hbox{Número de amostras}} = \dfrac{1}{m}\sum_{i=1}^{m}S_{i}$$
For our data we have:
- Number of samples: $m = 28$
- Samples Size: $n = 10$
$$\overline{\overline{X}} = \dfrac{10,0175 + \ldots + 10,5123}{28} = \dfrac{287,8521}{28} = 10,28$$
$$\overline{S} = \dfrac{0,553180 + \ldots + 0,441410}{28} = \dfrac{16,853821}{28} = 0,60$$
Let’s now calculate the control limits. In the Appendix we can find the tabulated values of the constants necessary for the calculation, so to $n = 10$ we have, $A_3 = 0,975$; $B_3 = 0,284$; $B_4 = 1,716$.
Applying the formulas, we obtain:
-
For the average
$$LSC = 10,28 + (0,975 \ast 0,60) = 10,87$$
$$LC = 10,28$$
$$LIC = 10,28 - (0,975 \ast 0,60) = 9,69$$
-
For standard deviation
$$LSC = 1,716 \ast 0,60 = 1,03$$
$$LC = 0,60$$
$$LIC = 0,284 \ast 0,60 = 0,17$$
Below are the results obtained by Software Action for this example.
| X-Bar Chart | Value |
|---|---|
| Upper Limit | 10.8675208 |
| Center line | 10.2804339 |
| Lower Limit | 9.693347 |
Table 2.4.9: X-bar graph
| Standard Deviation Graph | Value |
|---|---|
| Upper Limit | 1.0330793 |
| Center line | 0.6019243 |
| Lower Limit | 0.1707693 |
Table 2.4.10: Standard Deviation Chart
Figure 2.4.11: Graphics $\overline{X}$ and $ S $.
We can notice in the graphs that all points are arranged within the control limits and, in addition, they present randomness, which indicates that the process is under control. However, in the graph $\overline{X}$ we can see a period of random variation followed by a period with little random variation, which indicates, for example, that something related to the machine may have occurred during this period.
To understand how to perform this function of Software Action, you can refer to the user manual.
The Operation Characteristic Function
As we have already seen in the study of operating characteristic curves in the previous section - Average and Amplitude Graphs, the graph $ R $ is relatively insensitive to small or moderate shifts for small sample sizes. Thus, in many practical situations where there is a need for more severe control of process variability, moderately large sample sizes are required and so in these cases the graph $ S $ must be used.
The CCO’s for the graph $\overline{X}$ are the same as those presented in the previous Section (Operation Characteristic Function). Therefore, just calculate the CCO’s for the graph $ S, $ where the probability of not detecting a shift to a new value of $\sigma $ is given by
$$\beta = {P}[S\leq LSC~|~\sigma = \sigma_{1} = k\sigma_{0}]$$
in which $ LSC=(c_{4}+3\sqrt{1-c_{4}^2})\sigma_{0}$ and $ c_{4}$ a constant tabulated in the Appendix.
However,
$${P}[S\leq LSC~|~\sigma = \sigma_{1} = k\sigma_{0}]={P}[S^{2}\leq (LSC)^{2}~|~\sigma = \sigma_{1} = k\sigma_{0}]$$
And yet,
$$(n-1)\dfrac{S^2}{\sigma^2}\sim \chi^{2}_{(n-1)}$$
being $\chi^{2}_{(n-1)}$: chi-square distribution with (n-1) degrees of freedom.
Then,
$$\beta = {P}\left[(n-1)\dfrac{S^2}{\sigma_1^2}\leq (n-1)\dfrac{(c_4+3\sqrt{1-c_4^2})^{2}\sigma_0^2}{\sigma_1^2}~|~ \sigma = \sigma_1 \right]$$
$$={P}\left[\chi^2_{(n-1)} \leq(n-1)\left(c_4+3\sqrt{1-c_4^2}\right)^{2}\left(\dfrac{\sigma_0}{\sigma_1}\right)^2~|~\sigma = \sigma_1\right] \tag{1}$$
We can notice that for $ n \leq 5 $ the graph $ S $ it is unilateral, that is, without a lower limit of control. Therefore, the probability of not detecting a displacement is given by equation (1). For $ n>5, $ the graph $ S $ has a lower and upper limit and with that, $\beta $ is calculated as
$$\beta = {P}\left[(n-1)\left(c_{4}-3\sqrt{1-c_{4}^2}\right)^{2}\left(\dfrac{\sigma_{0}}{\sigma_{1}}\right)^2\leq\chi^{2}_{(n-1)} \leq(n-1)\left(c_{4}+3\sqrt{1-c_{4}^2}\right)^{2}\left(\dfrac{\sigma_{0}}{\sigma_{1}}\right)^2~|~\sigma=\sigma_{1}\right]$$
In Figure 2.4.12 we present the CCO’s for the graph $ S $ for n ranging from 2 to 10 and different values of k.
Figure 2.4.12: BCC for the graph $ S $ with 3-sigma limits.
| k | 0,5 | 1 | 1,5 | 2 | 2,5 | 3 | 3,5 | 4 | 4,5 | 5 | 5,5 | 6 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| n=2 | 1,000000 | 0,990847 | 0,917703 | 0,807471 | 0,702824 | 0,615020 | 0,543516 | 0,485320 | 0,437526 | 0,397810 | 0,364405 | 0,335896 |
| n=3 | 1,000000 | 0,994376 | 0,899994 | 0,726148 | 0,563474 | 0,437650 | 0,344864 | 0,276599 | 0,225731 | 0,187165 | 0,157399 | 0,134032 |
| n=4 | 1,000000 | 0,995528 | 0,878887 | 0,648070 | 0,446547 | 0,306852 | 0,215086 | 0,154685 | 0,114128 | 0,086212 | 0,066510 | 0,052277 |
| n=5 | 1,000000 | 0,996098 | 0,856197 | 0,574075 | 0,349530 | 0,211740 | 0,131693 | 0,084774 | 0,056475 | 0,038829 | 0,027461 | 0,019912 |
| n=6 | 0,999998 | 0,996460 | 0,832854 | 0,505529 | 0,270879 | 0,144250 | 0,079453 | 0,045718 | 0,013129 | 0,017180 | 0,011132 | 0,007444 |
| n=7 | 0,999495 | 0,996675 | 0,808426 | 0,442003 | 0,207586 | 0,096913 | 0,047188 | 0,024241 | 0,116173 | 0,007463 | 0,004428 | 0,002729 |
| n=8 | 0,996418 | 0,996843 | 0,784257 | 0,385104 | 0,158133 | 0,064616 | 0,027783 | 0,012733 | 0,006212 | 0,003208 | 0,001743 | 0,000990 |
| n=9 | 0,988487 | 0,996936 | 0,759313 | 0,333431 | 0,119331 | 0,042594 | 0,016152 | 0,006598 | 0,002898 | 0,001359 | 0,000676 | 0,000354 |
| n=10 | 0,973311 | 0,996983 | 0,733821 | 0,287047 | 0,089294 | 0,027795 | 0,009286 | 0,003379 | 0,001335 | 0,000569 | 0,000259 | 0,000125 |
Table 2.4.11: Values of $\beta $ for different values of k and n.
To understand how to perform this function of Software Action, you can refer to the user manual.
2.4.3 Graphs for Individual Values and Moving Amplitudes
There are many situations where the sample size used for process control is $n = 1$. Thus, for example, in the manufacture of steel, cellulose and other chemical elements, process control is carried out by taking samples from a unit to measure, for example, PH, viscosity, etc.
As it is not possible to estimate variability through the amplitude or standard deviation of each sample (they are not defined for samples of size 1), we use the moving amplitude of two (or more) successive observations as an estimate of variability.
Calculation of control limits for I-MR charts
To calculate the Control Limits we will use the following formulas:
-
For individual values (I)
$$LSC = \overline{X} + \left(\dfrac{3 \ast \overline{MR}}{d_{2}}\right) = \overline{X} + (E_2 \ast \overline{MR})$$
$$LC = \overline{X}$$
$$LIC = \overline{X} - \left(\dfrac{3 \ast \overline{MR}}{d_{2}}\right) = \overline{X} - (E_2 \ast \overline{MR})$$
-
For moving amplitudes (MR)
$$LSC = D_4 \ast \overline{MR}$$
$$LC = \overline{MR}$$
$$LIC = D_3 \ast \overline{MR}$$ in which
$\overline{MR}$ = Average of Moving Amplitudes = $\displaystyle\frac{1}{m}\sum_{i=1}^{m}MR_{i}$
$ MR_{i} = |x_i - x_{i-1}| $ for i = 1, 2, …, m
$ E_2 = \dfrac{3}{d_2}. $
Example 4.3.1
Let’s build the I-MR graphs using the data in Table 2.4.12.
| Lot | Viscosity | Mobile Amplitude |
|---|---|---|
| 1 | 33,75 | - |
| 2 | 33,05 | 0,7 |
| 3 | 34 | 0,95 |
| 4 | 33,81 | 0,19 |
| 5 | 33,46 | 0,35 |
| 6 | 34,02 | 0,56 |
| 7 | 33,68 | 0,34 |
| 8 | 33,27 | 0,41 |
| 9 | 33,49 | 0,22 |
| 10 | 33,2 | 0,29 |
| 11 | 33,62 | 0,42 |
| 12 | 33 | 0,62 |
| 13 | 33,12 | 0,12 |
| 14 | 34,84 | 1,72 |
| 15 | 33,79 | 1,05 |
| 16 | 33,85 | 0,06 |
| 17 | 34,05 | 0,2 |
| 18 | 34,02 | 0,03 |
| 19 | 33,89 | 0,13 |
| 20 | 34,12 | 0,23 |
| 21 | 34,1 | 0,02 |
| 22 | 33,99 | 0,11 |
| 23 | 34,11 | 0,12 |
| $\overline{X}$ = 33,75 | $\overline{MR}$ = 0,40 |
Table 2.4.12: Viscosity data
Before building the I-MR graphs, it is important to perform a normality test for the data, so we do not run the risk of finding distorted results.
| Statistics | P-values | |
|---|---|---|
| Anderson - Darling | 0.5488 | 0.1403 |
Table 2.4.12: Normality Tests
Figure 2.4.13: Probability role of residuals
As the p-value associated with the Anderson-Darling statistic is greater than 0.05, we say that the data follows a normal distribution.
This way, we can construct the I-MR plots for our example data.
NOTE.: If the data is not normal, we can use the Box-Cox transformation to find normality. If, even when transformed, the data is not normal, then one option is to take the moving average of each two observations and work with this new data, as normality in this case is important.
Using the Appendix we obtain the tabulated values of the constants necessary for the calculation, so to $n = 2$ we have, $d_2=1,128$; $D_3 = 0$; $D_4 = 3,267$ and with the value of the constant $d_2$ we get $E_2 = 3/d_2 = 2,6596$.
Applying the formulas we obtain:
-
For individual values (I)
$$LSC = 33,75 + (2,6596 \ast 0,40) = 34,82$$
$$LC = 33,75$$
$$LIC = 33,75 - (2,6596 \ast 0,40) = 32,68$$
-
For moving amplitudes (MR)
$$LSC = 3,267 \ast 0,40 = 1,31$$
$$LC = 0,40$$
$$LIC = 0$$
Below are the results obtained by Software Action for this example.
| Value | |
|---|---|
| Upper Limit | 34.8174 |
| Center line | 33.7491 |
| Lower Limit | 32.6808 |
Table 2.4.13: Individual Values Chart
| Value | |
|---|---|
| Upper Limit | 1.3127 |
| Center line | 0.4018 |
| Lower Limit | 0 |
| Standard deviation | 0.3561 |
Table 2.4.14: Moving Amplitude Chart
Figure 2.4.14: I-MR graphs.
We can see in both graphs that there is a point outside the control limits. We also noticed that these points triggered a sequence in the average values observed subsequently, indicating the presence of a special cause of variation.
To understand how to perform this function of Software Action, you can refer to the user manual.
Example 4.3.2
In this example we will carry out a CEP study using the I-MR control charts for paper weight data.
| Lot | Weight (g/m²) | Mobile Amplitude |
|---|---|---|
| 1 | 88,20 | - |
| 2 | 88,90 | 0,70 |
| 3 | 90,50 | 1,60 |
| 4 | 90,30 | 0,20 |
| 5 | 90,00 | 0,30 |
| 6 | 90,20 | 0,20 |
| 7 | 91,20 | 1,00 |
| 8 | 91,00 | 0,20 |
| 9 | 91,50 | 0,50 |
| 10 | 91,40 | 0,10 |
| 11 | 91,30 | 0,10 |
| 12 | 90,20 | 1,10 |
| 13 | 91,40 | 1,20 |
| 14 | 89,90 | 1,50 |
| 15 | 90,20 | 0,30 |
| 16 | 90,10 | 0,10 |
| 17 | 90,80 | 0,70 |
| 18 | 91,40 | 0,60 |
| 19 | 91,30 | 0,10 |
| 20 | 89,00 | 2,30 |
| 21 | 90,70 | 1,70 |
| 22 | 89,50 | 1,20 |
| 23 | 91,20 | 1,70 |
| 24 | 90,50 | 0,70 |
| 25 | 90,60 | 0,10 |
| $\overline{X}$ = 90,45 | $\overline{MR}$ = 0,75833 |
Table 2.4.15: Paper weight data.
Let’s check the normality of the data using the test below.
| Statistics | P-values | |
|---|---|---|
| Anderson - Darling | 0.6406 | 0.0839 |
Table 2.4.16: Normality Tests
Figure 2.4.15: Probability role of residuals
As the p-value associated with the Anderson-Darling statistic is greater than 0.05, we can say that the data follows a normal distribution.
This way, we can construct the I-MR plots for our example data.
Initially we calculated the values for $\overline{X}$ and $\overline{MR}$.
$$\overline{X} = 90,45$$
$$\overline{MR} = \dfrac{1}{m}\sum_{i=1}^{m}|x_i - x_{i-1}| = 0,75833$$
Using the Appendix we have, to $n = 2$, $d_2 = 1,128$; $E_2 = 3/d_2 = 2,6595$; $D_3 = 0$; $D_4 = 3,267$.
Applying the formulas we obtain:
-
For individual values (I)
$$LSC = \overline{X} + \left(\dfrac{3 \ast \overline{MR}}{d_{2}}\right) = \overline{X} + (E_2 \ast \overline{MR}) = 90,45 + \left(\dfrac{3 \ast 0,75833}{1,128}\right) = 92,468$$
$$LC = \overline{X} = 90,45$$
$$LIC = \overline{X} - \left(\dfrac{3 \ast \overline{MR}}{d_{2}}\right) = \overline{X} - (E_2 \ast \overline{MR}) = 90,45 - \left(\dfrac{3 \ast 0,75833}{1,128}\right) = 88,4358$$
-
For moving amplitudes (MR)
$$LSC = D_4 \ast \overline{MR} = 3,267 \ast 0,758333 = 2,47747$$
$$LC = \overline{MR} = 0,75833$$
$$LIC = D_3 \ast \overline{MR} = 0,00 \ast 0,758333 = 0$$
Below are the results obtained by Software Action for this example.
| Value | |
|---|---|
| Upper Limit | 92.4682 |
| Center line | 90.452 |
| Lower Limit | 88.4358 |
Table 4.2.17: Individual Values Chart
| Value | |
|---|---|
| Upper Limit | 2.4775 |
| Center line | 0.7583 |
| Lower Limit | 0 |
| Standard deviation | 0.6721 |
Table 4.2.18: Moving Amplitude Chart
We verified in the moving range table that all values are within the control limits and present a random behavior, indicating control of the statistical process. However, in the table of individual values, the first observation is outside the lower control limit, with subsequent points showing random variation, which may indicate the presence of a special cause of variation in the process.
To understand how to perform this function of Software Action, you can refer to the user manual.
2.4.4 Individual Value Graphs with variation between and within subgroups
Graphs of individual values with variation between and within subgroups are used in cases where we measure the same characteristic of the part or product at different points. In this case, we take a part or product, every unit of time (example, every hour), and measure a quality characteristic (example, diameter) at several points. Thus, we apply:
- A graph for individual values (average of each part’s measurements is treated as an individual value);
- A graph for moving ranges (variation between averages);
- An R or S chart (variation within each part).
When we collect data in subgroups, random error may not be the only source of variation. For example, if we collect 5 pieces every hour the only variability within the subgroup is due to random error. Over time, the process may change or vary such that the next sample of 5 five pieces may be different from the previous sample. Under these conditions, the total process variation is due to random error and variation between samples. Variation within each sample can also contribute to total process variation.
Suppose we sample a part every hour and measure 5 regions of this same part. While parts may vary from hour to hour, measurements taken in the 5 regions may also be consistently different across parts. This variation due to region is not explained, the within sample standard deviation does not differ much from the random error estimate, but in reality the random error estimate is the effect of the region. This results in a standard deviation that is too large causes control limits that are too “wide” with most control chart points close to the center line.
Example 4.4.1
Let’s consider a plate that makes up a certain clutch. It is important to check the balance of this board. Using a balancing machine we determine an “excessive” mass accumulation point. From this point we take 3 points counterclockwise and 4 points clockwise (as shown in Figure 4.4.2), totaling 8 points. The measurement of the QD thickness is made at the point at 0° and the QND thickness is made at the point at 180° from the first. The second point is taken from the first at 80° clockwise, at which the QD thickness is measured and the corresponding QND thickness is taken at the point 180° from this. Similarly, we measure at 90° and 270°, as well as at 160° and 340°. This is carried out for each of the 25 selected pieces. In this case, we analyze the difference between the QD and QND thicknesses, as shown in Table 2.4.19.
Figure 2.4.16: Representation of the statement
Figure 2.4.17: Example of measurements on each piece.
Figure 2.4.18: Measurements of the part.
Below we have the data for each sampled part and the respective calculations for the control charts.
| Parts | QND | QD | QND Angle | QD Angle | QND-QD |
|---|---|---|---|---|---|
| 1 | 2,316 | 1,882 | 180 | 0 | -0,434 |
| 1 | 2,687 | 1,99 | 260 | 80 | -0,697 |
| 1 | 2,429 | 1,427 | 270 | 90 | -1,002 |
| 1 | 2,201 | 2,048 | 340 | 160 | -0,153 |
| 2 | 1,87 | 1,906 | 180 | 0 | 0,036 |
| 2 | 1,959 | 2,072 | 260 | 80 | 0,113 |
| 2 | 2,168 | 2,097 | 270 | 90 | -0,071 |
| 2 | 2,432 | 2,457 | 340 | 160 | 0,025 |
| 3 | 1,543 | 1,605 | 180 | 0 | 0,062 |
| 3 | 1,086 | 1,554 | 260 | 80 | 0,468 |
| 3 | 1,246 | 1,677 | 270 | 90 | 0,431 |
| 3 | 1,344 | 1,661 | 340 | 160 | 0,317 |
| $\vdots $ | $\vdots $ | $\vdots $ | $\vdots $ | $\vdots $ | $\vdots $ |
| 25 | 1,356 | 1,685 | 260 | 80 | 0,329 |
| 25 | 1,374 | 2,756 | 270 | 90 | 1,382 |
| 25 | 1,388 | 2,612 | 340 | 160 | 1,224 |
Table 2.4.19: Data for each sampled part.
In the table below we have calculated its respective mean, moving range, standard deviation and sample range for each sample.
| Samples | Averages | Mobile Amplitudes | Standard deviation | Sampling Amplitudes |
|---|---|---|---|---|
| 1 | -0,5715 | - | 0,362918 | 0,849 |
| 2 | 0,02575 | 0,59725 | 0,075451 | 0,184 |
| 3 | 0,3195 | 0,29375 | 0,183300 | 0,406 |
| 4 | 0,08575 | 0,23375 | 0,166752 | 0,39 |
| 5 | -0,53825 | 0,624 | 0,333951 | 0,705 |
| 6 | -0,43425 | 0,104 | 0,312888 | 0,766 |
| 7 | -0,401 | 0,03325 | 0,256792 | 0,512 |
| 8 | 0,14125 | 0,54225 | 0,359694 | 0,821 |
| 9 | 0,5555 | 0,41425 | 0,170087 | 0,407 |
| 10 | 0,295 | 0,2605 | 0,324166 | 0,653 |
| 11 | 0,07625 | 0,21875 | 0,063484 | 0,135 |
| 12 | 0,05575 | 0,0205 | 0,106747 | 0,223 |
| 13 | -0,29 | 0,34575 | 0,262268 | 0,589 |
| 14 | -0,34875 | 0,05875 | 0,383962 | 0,895 |
| 15 | 0,60525 | 0,954 | 0,215803 | 0,482 |
| 16 | 0,5055 | 0,09975 | 0,191660 | 0,448 |
| 17 | 0,6235 | 0,118 | 0,120229 | 0,287 |
| 18 | 0,02475 | 0,59875 | 0,011442 | 0,027 |
| 19 | -0,1245 | 0,14925 | 0,416743 | 0,901 |
| 20 | -0,43675 | 0,31225 | 0,185922 | 0,426 |
| 21 | 0,08225 | 0,519 | 0,269447 | 0,604 |
| 22 | 0,11325 | 0,031 | 0,272834 | 0,575 |
| 23 | -0,284 | 0,39725 | 0,270475 | 0,638 |
| 24 | 0,8155 | 1,0995 | 0,307342 | 0,648 |
| 25 | 0,804 | 0,0115 | 0,580126 | 1,101 |
Table 2.4.20: Calculated sample statistics
$$\overline{\overline{X}} = \dfrac{\hbox{Soma das médias amostrais}}{\hbox{número de amostras}} = \dfrac{1}{m}\sum_{i=1}^{m}\overline{X}_i$$
$$\overline{S} = \dfrac{\hbox{Soma dos desvios padrão amostrais}}{\hbox{número de amostras}} = \dfrac{1}{m}\sum_{i=1}^{m}S_i$$
$$\overline{R} = \dfrac{\hbox{Soma das amplitudes amostrais}}{\hbox{número de amostras}} = \dfrac{1}{m}\sum_{i=1}^{m}R_i$$
In our example we have:
- m: number of samples = 25
- n: sample size = 4
Therefore, using the formulas above we obtain
$$\overline{\overline{X}} = \dfrac{1,69975}{25} = 0,06799; \qquad \overline{S} = \dfrac{6,20448}{25} = 0,24818 \qquad \hbox{e} \qquad \overline{R} = \dfrac{13,672}{25} = 0,54688.$$
Calculation of control limits for I-MR-R and I-MR-S (Between-Within) graphs
There are many situations where the sample size used to control the process is n > 1. Thus, we estimate variability through the amplitude or standard deviation of the subgroup of each sample, using as an estimate of variability the moving amplitude of two (or more) means of successive observations (samples).
1. Moving amplitude graph: (variation between piece averages)
$$\overline{MR} = \dfrac{\sum_{i=1}^{m}MR_i}{m} = \dfrac{\sum_{i=1}^{m}|x_i - x_{i-1}|}{m} = \dfrac{8,037}{24} = 0,33488$$
The control limits are calculated below:
$$LSC = D_4 \ast \overline{MR} = 3,267 \ast 0,33488 = 1,09405$$
$$LC = \overline{MR} = 0,33488$$
$$LIC = D_3 \ast \overline{MR} = 0 \ast 0,33488 = 0$$
Using the Appendix we have D3 = 0 and D4 = 3.267 (for n = 2: number of values for calculating the moving amplitudes).
2. Graph for individual average values
The limits are given by:
$$LSC = \overline{\overline{X}} + E_2 \ast \overline{MR} = 0,06799 + \left(\dfrac{3}{1,128}\right) \ast 0,33488 = 0,95863$$
$$LC = \overline{\overline{X}} = 0,06799$$
$$LIC = \overline{\overline{X}} - E_2 \ast \overline{MR} = 0,06799 - \left(\dfrac{3}{1,128}\right) \ast 0,33488 = -0,82265$$
in which $ E_2 = \dfrac{3}{d_2}$ and using the Appendix we have $d_2 = 1,128$ (for $n = 2$: number of values for calculating moving amplitudes).
3. Standard deviation graph
We will initially use the sample standard deviations as a Measure of Dispersion. Thus, the control limits are given by:
$$LSC = B_4 \ast \overline{S} = 2,266 \ast 0,24818 = 0,56238$$
$$LC = \overline{S} = 0,24818$$
$$LIC = B_3 \ast \overline{S} = 0 \ast 0,24818 = 0$$
Using the Appendix we have $B_3 = 0$ and $B_4 = 2,266$ (for $n = 4$: sample size).
4. Amplitude graph: (variation within each piece)
We will use the sampling amplitudes as a Measure of Dispersion. Applying the formulas we obtain:
$$LSC = D_4 \ast \overline{R} = 2,282 \ast 0,54688 = 1,24798$$
$$LC = \overline{R} = 0,54688$$
$$LIC = D_3 \ast \overline{R} = 0 \ast 0,54688 = 0$$
Using the Appendix we have $D_3 = 0$ and $D_4 = 2,282$ (for $n = 4$: sample size).
Standard deviation estimates: within subgroups, between subgroups and total
1. For I-MR-R charts.
Calculation of standard deviation within each subgroup
The standard deviation of each subgroup is given by
$$\hat{\sigma}_{dentro} = \dfrac{\overline{R}}{d_2} = \dfrac{0,54688}{2,059} = 0,2656$$
in which $d_2 = 2,059$ (for $n = 4$).
Short-Term Standard Deviation Estimation
Used to estimate standard deviation in moving range graphs
$$\hat{\sigma}_{\overline{X}} = \dfrac{\overline{MR}}{d_2} = \dfrac{0,33488}{1,128} = 0,29688$$
in which $d_2 = 1,128$ (for $n = 2$).
Calculation of standard deviation between subgroups
The standard deviation between the subgroups is given by:
$$\hat{\sigma}_{\hbox{entre}} = \sqrt{\hbox{MAX}\left(0;~\hat{\sigma}^2_{\overline{X}} - \dfrac{\hat{\sigma}^2_{\hbox{dentro}}}{n}\right)} = \sqrt{\hbox{MAX}\left(0;~(0,29688)^2 - \dfrac{(0,2656)^2}{4}\right)}$$
$$ = \sqrt{\hbox{MAX}\left(0;~0,0705\right)} = 0,26553$$
where n = size of each subgroup.
Calculation of standard deviation between/within each subgroup
$$\hat{\sigma}_{\hbox{Total}} = \sqrt{\hat{\sigma}^2_{\hbox{entre}} + \hat{\sigma}^2_{\hbox{dentro}}} = \sqrt{(0,26553)^2 + (0,2656)^2} = 0,37557$$
2. For I-MR-S charts.
Calculation of standard deviation within each subgroup
The standard deviation of each subgroup is given by:
$$\hat{\sigma}_{dentro} = \dfrac{\overline{S}}{c_4} = \dfrac{0,24818}{0,9213} = 0,26938$$
in which $c_4 = 0,9213$ (for $n = 4$).
Short-Term Standard Deviation Estimation
Used to estimate standard deviation in moving range graphs.
$$\hat{\sigma}_{\overline{X}} = \dfrac{\overline{MR}}{d_2} = \dfrac{0,33488}{1,128} = 0,29688$$
in which $d_2 = 1,128$ (for $n = 2$).
Calculation of standard deviation between subgroups
The standard deviation between the subgroups is given by:
$$\hat{\sigma}_{\hbox{entre}} = \sqrt{\hbox{MAX}\left(0;~\hat{\sigma}^2_{\overline{X}} - \dfrac{\hat{\sigma}^2_{\hbox{dentro}}}{n}\right)} = \sqrt{\hbox{MAX}\left(0;~(0,29688)^2 - \dfrac{(0,26938)^2}{4}\right)}$$
$$ = \sqrt{\hbox{MAX}\left(0;~0,069996\right)} = 0,26457$$
where n = size of each subgroup.
Calculation of standard deviation between/within each subgroup
$$\hat{\sigma}_{\hbox{Total}} = \sqrt{\hat{\sigma}_{\hbox{entre}}^2 + \hat{\sigma}_{\hbox{{dentro}}^2}} = \sqrt{(0,26457)^2 + (0,26938)^2} = 0,37758$$
Below are the results obtained by Software Action for this example.
1. Comparison of the graphs of Individual Values, Moving Amplitudes and Amplitudes (I-MR-R).
| Value | |
|---|---|
| Upper Limit | 0.958315068 |
| Center line | 0.06799 |
| Lower Limit | -0.822335068 |
Table 4.2.21: Individual Values Chart
| Value | |
|---|---|
| Upper Limit | 1.0940366 |
| Center line | 0.334875 |
| Lower Limit | 0 |
Table 4.2.22: Moving Amplitude Chart
| Value | |
|---|---|
| Upper Limit | 1.24798016 |
| Center line | 0.54688 |
| Lower Limit | 0 |
Table 4.2.23: Amplitude Chart
| Value | |
|---|---|
| Between | 0.265395311 |
| Within | 0.265638916 |
| Between/Within | 0.375496258 |
Table 4.2.24: Standard deviation
Figure 2.4.19: I-MR-R graphs.
To understand how to perform this function of Software Action, you can refer to the user manual.
2. Comparison of the graphs of Individual Values, Moving Amplitudes and Standard Deviation (I-MR-S).
| Value | |
|---|---|
| Upper Limit | 0.958315068 |
| Center line | 0.06799 |
| Lower Limit | -0.822335068 |
Table 4.2.21: Individual Values Chart
| Value | |
|---|---|
| Upper Limit | 1.0940366 |
| Center line | 0.334875 |
| Lower Limit | 0 |
Table 4.2.22: Moving Amplitude Chart
| Value | |
|---|---|
| Upper Limit | 0.562386099 |
| Center line | 0.248179354 |
| Lower Limit | 0 |
Table 4.2.23: Standard Deviation Graph
| Value | |
|---|---|
| Between | 0.261667262 |
| Within | 0.280040412 |
| Between/Within | 0.383265428 |
Table 4.2.24: Standard deviation
Figure 2.4.20: I-MR-S graphs.
To understand how to perform this function of Software Action, you can refer to the user manual.