Product and Process Comparisons
7.2. Comparisons based on data from one process
7.2.1. Do the observations come from a particular distribution?
|Purpose: Test for distributional adequacy||The Anderson-Darling Test
The Anderson-Darling test (Stephens, 1974) is used to test if a sample of data comes from a specific distribution. It is a modification of the Kolmogorov-Smirnov (K-S) test and gives more weight to the tails of the distribution than does the K-S test. The K-S test is distribution free in the sense that the critical values do not depend on the specific distribution being tested.
|Requires critical values for each distribution||The Anderson-Darling test makes use of the specific
distribution in calculating critical values. This has the advantage of
allowing a more sensitive test and the disadvantage that critical values
must be calculated for each distribution. Tables of critical values are
not given in this handbook (see
1974, 1976, 1977, and 1979) because this test is usually applied with
a statistical software program that produces the relevant critical values.
computes critical values for the Anderson-Darling test for the following
|Anderson-Darling procedure||Details on the construction and interpretation of the Anderson-Darling test statistic, A2, and examples for several distributions are outlined in Chapter 1.|
|Shapiro-Wilk test for normality||The Shapiro-Wilk Test For Normality
The Shapiro-Wilk test, proposed in 1965, calculates a W statistic that tests whether a random sample, x1, x2, ..., xn comes from (specifically) a normal distribution . Small values of W are evidence of departure from normality and percentage points for the W statistic, obtained via Monte Carlo simulations, were reproduced by Pearson and Hartley (1972, Table 16). This test has done very well in comparison studies with other goodness of fit tests.
The W statistic is calculated as follows:
where the x(i) are the ordered sample values (x(1) is the smallest) and the ai are constants generated from the means, variances and covariances of the order statistics of a sample of size n from a normal distribution (see Pearson and Hartley (1972, Table 15).