cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
JMP is taking Discovery online, April 16 and 18. Register today and join us for interactive sessions featuring popular presentation topics, networking, and discussions with the experts.
Choose Language Hide Translation Bar
Anderson-Darling Normality Test

(Please note that this new version 06-28-2018 supports By groups. Otherwise, it is the same as before.)

 

JMP provides the Shapiro-Wilk test in the Distribution platform for a departure from a normal distribution. This test has been shown to be more powerful than alternative tests, including the Anderson-Darling test (1). (Note that all such tests have low power with small samples.) Still, you might have a precedent for using the A-D test for normality so this add-in implements it. The test estimates the mean and the standard deviation of the normal distribution by default. Either one of these parameters may instead be specified if known for a test against a particular normal distribution. The test results are appended to a Distribution platform.

 

Simply open the add-in file to register it with JMP before use. Then, open the data table with the data column to be tested and select Add-Ins > Anderson-Darling Normality Test. Select the data column and click Y, Response. Optionally, select the column with the group identifiers and click By. If the mean is known, then select the Known radio button for the Mean and enter the value in the box provided. The same is true for the standard deviation.

 

Capture.PNG

 

 

Click OK. An alert window will briefly appear for each sample. The p-value for the A square test statistic is computed by a Monte Carlo simulation of 100,000 samples under the null hypothesis.

 

Capture.PNG

 

The test report is seen at the bottom of the window. The A square and adjusted A square test statistics are reported. The approximate p-value for the second test statistic is computed from a set of four interpolating functions (2).

 

Note that a previous version (before June 5, 2014) of this test as a script computed the p-value for A square incorrectly and should not be used. Please replace that version with this add-in if you downloaded the version before the correction became available.

 

References

(1) Razali, Normadiah Modh, and Yap Bee Wah (2011) Power Comparisons of Shapiro-Wilk, Kolmogorov-Smirnov, Lilliefors and Anderson-Darling Tests, Journal of Statistical Modeling and Analytics, 2(1)21-33.

(2 ) R.B. D'Augostino and M.A. Stephens, Eds., 1986, Goodness-of-Fit Techniques, Marcel Dekker.

Comments

Thanks Mark! This is actually quite useful for those of us who've worked in the medical device industry where we are always running these Normality tests... We often go with the AD test statistic (and associated p-value) since it is implemented by default in Minitab (and Minitab is more commonly used accross these device companies).

FN

Hello Mark,

 

We noticed that, when saving the results in the data table, JMP only scripts the distribution (leaving the AD test out).

 

Any ideas on how to fix it?

 

Thanks.

Hi @FN, I'm including the at mention to @Mark_Bailey here in case he didn't see your post.  Unfortunately, we can't commit to maintaining add-ins indefinitely, but luckily the need for the AD test was identified by customers and incorporated in JMP 15.  I'll suggest using that built-in Anderson Darling test under Continuous Fit > Fit Normal Distribution > Goodness of Fit.  You can see that the scripted action "Fit Normal (Goodness of Fit (1))" captures both the S-W and the AD Test result in JMP.

 

PatrickGiuliano_0-1701376121352.png 

PatrickGiuliano_1-1701376158358.png

 

 

@PatrickGiuliano, thanks for the ping. First, JMP platforms do NOT save any customizations made through scripts. They only capture changes made interactively through the red triangle menus or direct manipulation (e.g., change plot frame dimensions). Second, this add-in is no longer necessary, as @PatrickGiuliano explained.