public class AndersonDarling extends HypothesisTest
Constructor and Description |
---|
AndersonDarling(double[]... x)
Runs the Anderson-Darling test.
|
Modifier and Type | Method and Description |
---|---|
String |
getAlternativeHypothesis()
Get the description of the alternative hypothesis.
|
String |
getNullHypothesis()
Get a description of the null hypothesis.
|
double |
pValue()
Get the p-value for the test statistics.
|
double |
pValueAlternative()
Gets the alternative p-value (adjusted for ties).
|
double |
statistics()
Get the test statistics.
|
double |
statisticsAlternative()
Gets the alternative Anderson-Darling statistic (adjusted for ties).
|
isNullRejected, nGroups, nObs, oneSidedPvalue
public AndersonDarling(double[]... x)
x
- the k samples, each sample in form of a double
array.public String getAlternativeHypothesis()
HypothesisTest
getAlternativeHypothesis
in class HypothesisTest
public String getNullHypothesis()
HypothesisTest
getNullHypothesis
in class HypothesisTest
public double pValue()
HypothesisTest
pValue
in class HypothesisTest
public double statistics()
HypothesisTest
statistics
in class HypothesisTest
public double pValueAlternative()
public double statisticsAlternative()
Copyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.