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

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
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,653
Messages
6,120,750
Members
448,989
Latest member
mariah3

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