Anderson Darling Test for Normality

dkubiak

Board Regular
Joined
May 17, 2004
Messages
137
Office Version
  1. 2013
Platform
  1. Windows
Anyone have a good way to calculate the p-value for a normality test in excel?
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
The example at http://www.theriac.org/DeskReference/viewDocument.php?id=60 is worked below.

Code:
       -B-- ---C--- -------D-------
   2      n      6  C2: =COUNT(X)  
   3   mean  315.8  C3: =AVERAGE(X)
   4     sd   14.9  C4: =STDEV(X)  
   5    Asq 0.1699                 
   6                               
   7    i      X                   
   8     1   294.2                 
   9     2   308.5                 
  10     3   313.1                 
  11     4   317.7                 
  12     5   322.7                 
  13     6   338.7
The formula in C5 is

=-n - SUMPRODUCT((2*i-1)*LN(NORMSDIST((X-mean)/sd)) + (2*(n-i)+1)*LN(1-NORMSDIST((X-mean)/sd))) / n
 
Upvote 0

Forum statistics

Threads
1,214,788
Messages
6,121,588
Members
449,039
Latest member
Arbind kumar

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top