This is just an Excerpt from a larger document, click here to view the entire document.Fitting a Weibull Using the Anderson-Darling GoF Test
We now develop an example of testing for the Weibull assumption. We will use the data in Table 5, which will also be used for this same purpose in the implementation of the companion Kolmogorov-Smirnov GoF test . The data consist of six measurements, drawn from the same Weibull (α = 10; β = 2) population. In our examples, however, the parameters are unknown and will be estimated from the data set.
Table 5. Data Set for Testing the Weibull Assumption
We obtain the descriptive statistics (Table 6). Then, using graphical methods in , we get point estimations of the assumed Weibull parameters: shape β = 1.3 and scale α = 8.7. The parameters allow us to define the distribution hypothesis:
Weibull (α = 8.7; β = 1.3).
Table 6. Descriptive Statistics
The Weibull version of the AD GoF test statistic is different from the one for Normality, given in the previous section. This Weibull version is explained in detail in [2, 5] and is defined by:
where Z(i) = [x(i)/θ*]β* and where the asterisks (*) in the Weibull parameters denote the corresponding estimations. The OSL (observed significance level) probability (p-value) is now used for testing the Weibull assumption. If OSL < 0.05 then the Weibull assumption is rejected and the error committed is less than 5%. The OSL formula is given by:
To implement the AD GoF test, we first obtain the corresponding Weibull probabilities under the assumed distribution H0. For example, for the first data point (1.43):
Then, we use these values to work through formulas AD and AD* in (2). Intermediate results, for the small data set in Table 5, are given in Table 7.
Table 7. Intermediate Values for the AD GoF Test for the Weibull
The AD GoF test statistics (2) values are: AD = 0.3794 and AD*
= 0.4104. The value corresponding to the OSL, or probability of rejecting the Weibull (8.7; 1.3) distribution erroneously with these results, is OSL = 0.3466 (much larger than the error =
Hence, we accept the null hypothesis that the underlined distribution (of the population from where these data were obtained) is Weibull (α = 8.7; β = 1.3). Hence, the AD test was able to recognize that the data were actually Weibull. The GoF procedure for this case is summarized in Table 8.
Table 8. Step-by-Step Summary of the AD GoF Test for the Weibull
Sort Original Sample (X) and Standardize: Z= [x(i)/θ*]β* (Cols & 2, Table 7)
Establish the Null Hypothesis: assume Weibull distribution
Obtain the distribution parameters: α = 8.7; β = 1.3
Obtain Weibull probability and Exp(-Z) (Cols. 3 & 4)
Obtain the Logarithm of 1- Exp(-Z) (Col. 5)
Sort the Z(i) in descending order (n-i+1) (Col. 6)
Software for this version of AD is not commonly available
Finally, recall that the Exponential distribution, with mean α, is
only a special case of the Weibull (α; β) where the shape parameter
β = 1. Therefore, if we are interested in using AD GoF test
to assess Exponentiality, it is enough to estimate the sample
mean (α) and then to implement the above Weibull procedure for
this special case, using formula (2).
There are not, however, AD statistics (formulas) for all the distributions.
Hence, if there is a need to fit other distributions than
the four discussed in this START sheet, it is better to use the
Kolmogorov Smirnov  or the Chi Square  GoF tests.