andersonDarlingError
Compute the Anderson-Darling fit statistic for a sample.
Declaration
totalError = andersonDarlingError(self,epsilon)
Parameters
epsilonsample values to compare against the distribution
Returns
totalErrorAnderson-Darling discrepancy statistic
Discussion
Given the sorted sample \(Y_i\), this method evaluates the Anderson-Darling statistic formed from the theoretical CDF \(F\) and the empirical order statistics.