changing Prob > A2 values in Anderson-Darling testWhen performing an Anderson-Darling test on a distribution, I´m getting strange results: I performed the analysis once (continuous distribution, fit normal, goodness of fit), then copied it to a script. Now when I rerun the script several times on the same data set, the Prob > A2 values change. They don´t change every time, but more often than not. No other values change, including the A2. Can you explain what is going on here and how to fix it? Many thanks in advance!
Anne
AnalyticsRe: changing Prob > A2 values in Anderson-Darling testThis is expected behavior. You can find the following in the help "For continuous fits, the goodness-of-fit test is the Anderson-Darling test. The p-value for the test is simulated using a parametric bootstrap, similar to the procedure described in Section 4.1 of Stephens (1974). For Normal distributions, the Shapiro-Wilk test for normality is also reported when the sample size is less than or equal to 2000 and there are no fixed parameters."
Since this value is simulated, it is not expected that the value will be the same for each run.
Re: changing Prob > A2 values in Anderson-Darling testThanks a lot. So I´ll better use the Shapiro-Wilk W test to get consistent results.