Construction Consumer Products Metals & Materials Safety Environment Transportation Chemicals Energy Medical Quality

Testing for Randomness

A. Many of us get data sets with the assumption that the process was in control, i.e., the data are random about a target\; or suspicion that the process was out of control, i.e., the data show some indication of nonrandomness. An obvious solution is to simply plot the data on a control chart and determine whether or not the process was indeed in control. Of course, you must first know how to construct the chart and its control limits. E2587, Standard Practice for Use of Control Charts in Statistical Process Control, or ASTM's Manual on Presentation of Data and Control Chart Analysis, 8th Ed., will provide you with the information you need to solve the problem graphically.

But suppose that you don't have a copy of E2587, Manual 7 or a computer program such as Minitab available to help you plot the data and check for process stability (randomness). In this case, you can use a simple statistic called the mean successive difference test. Let's suppose that we have n data values, x1, x2, …, xn. Successive differences are just the differences x2 – x1, x3 – x2, … xn-1 – xn. (In the field of quality control, the absolute value of these differences are just the moving ranges of n = 2 typically used to construct the control limits for the individual control chart.) When we square these differences and average them, that gives us the mean successive difference. In order to construct a test statistic, we will divide the MSD by the sample variance. The result is a ratio of the sum of squares of the MSD and usual sum of squares of the sample variance. The formula looks like this:

We can use M to detect nonrandomness in any sequence of observations, typically referred to as serial correlation. If the data come from an in-control process, then the average value for M is 2. If the observations fluctuate excessively, e.g., saw-tooth pattern, then M will be large. Conversely, if the observations exhibit a long-term cycle, then M will be small. So, how can you determine whether M is too large or too small statistically? Table 1 shows lower and upper critical values for M for a variety of sample sizes and levels of significance (α), e.g., α = 0.05 level of significance is 95 percent confidence. (Note that the upper critical values are simply obtained from UM = 4 – LM.)

The mean successive difference test as described by Bennett and Franklin can address two aspects of process capability studies.1 First, the test can identify the type of nonrandomness present (too many or too few cycles). Second, given that there may be cycles or trends, the mean successive difference provides an estimate of the process variance about the cycle or trend line. In other words, the MSD implies the value of the process variance if the cycle or trend can be eliminated.

Reference

1. Bennett, C.A. and Franklin, N.L., Statistical Analysis in Chemistry and the Chemical Industry, John Wiley and Sons, New York, 1954, p. 679.

*Dean V. Neubauer, Corning Inc., Corning, N.Y., coordinates the DataPoints column\; an ASTM International fellow, he is chairman of Committee E11 on Quality and Statistics and chairman of E11.90.03 on Publications.*

Issue Month:

September/October

Issue Year:

2012

Industry Sectors:

Metals & Materials

Energy

Consumer Products

Quality

Medical

Safety

Chemicals

Environment

Construction

Transportation