Dew Stats Master .NET
AndersonDarling Routine
Summary
Anderson-Darling GOF test.

Unit
Statistics

Declaration
Function AndersonDarling(Data: TVec; Distribution: TDistribution; out hRes: THypothesisResult; out Signif: TSample; Alpha: TSample = 0.05): TSample;
 Parameter  Description 
Data Stores ordered data. 
Ditribution Perform test for this distribution. Supported distributions : exponential, log-normal, normal and weibull. 
hRes Returns the result of the null hypothesis . 
Signif (Significance level) returns the probability of observing the given result by chance given that the null hypothesis is true. 
Alpha Defines the desired significance level. If the significance probability (Signif) is bellow the desired significance (Alpha), the null hypothesis is rejected. 
Result
Anderson-Darling test statistics, adjusted with small sample size factor.
Description

The Anderson-Darling test (Stephens, 1974) is used to test if a sample of data came from a population with a specific distribution. It is a modification of the Kolmogorov-Smirnov (K-S) test and gives more weight to the tails than does the K-S test. The K-S test is distribution free in the sense that the critical values do not depend on the specific distribution being tested. The Anderson-Darling test makes use of the specific distribution in calculating critical values. This has the advantage of allowing a more sensitive test and the disadvantage that critical values must be calculated for each distribution.

The Anderson-Darling test is defined as:


The test statistics is defined as:

where F is the cumulative distribution function of distribution being tested.
Categories
Hypothesis testing
 See Also 
GOFKolmogorov 

Copyright 2008 Dew Research
http://www.dewresearch.com