public class KruskalWallis extends HypothesisTest
kruskal.test.| Constructor and Description |
|---|
KruskalWallis(double[]... samples)
Construct a Kruskal-Wallis test for the equality of medians of groups.
|
| 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 |
statistics()
Get the test statistics.
|
isNullRejected, nGroups, nObs, oneSidedPvaluepublic KruskalWallis(double[]... samples)
samples - samplespublic String getNullHypothesis()
HypothesisTestgetNullHypothesis in class HypothesisTestpublic String getAlternativeHypothesis()
HypothesisTestgetAlternativeHypothesis in class HypothesisTestpublic double statistics()
HypothesisTeststatistics in class HypothesisTestpublic double pValue()
HypothesisTestpValue in class HypothesisTestCopyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.