public class OneWayANOVA extends HypothesisTest
The R equivalent function is aov.
| Constructor and Description |
|---|
OneWayANOVA(double[]... samples)
Perform the one-way ANOVA test to test for the equality of the means of several groups.
|
| Modifier and Type | Method and Description |
|---|---|
double |
df1()
Get the first degree of freedom.
|
double |
df2()
Get the second degree of freedom.
|
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 OneWayANOVA(double[]... samples)
samples - the samplespublic String getNullHypothesis()
HypothesisTestgetNullHypothesis in class HypothesisTestpublic String getAlternativeHypothesis()
HypothesisTestgetAlternativeHypothesis in class HypothesisTestpublic double df1()
public double df2()
public double statistics()
HypothesisTeststatistics in class HypothesisTestpublic double pValue()
HypothesisTestpValue in class HypothesisTestCopyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.