I am following an article posted on sql server central on the anderson-darling calculation.
The code has worked, but is out by 0.001. I have used two programs, MiniTab and Excel Workbook to compare answers and they get a result of 5.808, but i cam getting 5.807. Excel book
I have looked over the code and even set the number of decimal places down, but still nothing.
I have attached the excel book that has all my values i am working with.
any ideas why this calculation is out and how to fix the SQL to match that of MiniTab & the Excel Workbook