elki-project/elki

How to get the p-value of the Anderson-Darling test?

betrw opened this issue · 2 comments

betrw commented

How can I get the p-value of the two samples Anderson-Darling-Test?

I used

		StandardizedTwoSampleAndersonDarlingTest ad = new StandardizedTwoSampleAndersonDarlingTest();
		pi.AndersonDarlingValue = ad.unstandardized(d1, d2);		
		pi.AndersonDarlingPValue = ad.deviation(d1, d2); //p-value ???
kno10 commented

The critical values (and p-values) depend on the distribution assumptions you make on the data.
There is currently no implementation for this included - please contribute.

kno10 commented

ELKI now includes code to compute p-Values for the anderson-darling test since a9b9987