|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.numericalmethod.suanshu.stats.test.HypothesisTest
com.numericalmethod.suanshu.stats.test.variance.Levene
public class Levene
The Levene test tests for the equality of variance of groups. Levene's test does not require normality of the underlying data. Some statistical tests, for example ANOVA, assume that variances are equal across groups or samples. A homoscedasticity test, such as the Levene test, can be used to verify that assumption.
The R equivalent function islevene.test.
| Nested Class Summary | |
|---|---|
static class |
Levene.Type
the available implementations when computing the absolute deviations |
| Constructor Summary | |
|---|---|
Levene(double... samples)
Perform the Levene test to test for equal variances across the groups. |
|
Levene(Levene.Type type,
double[]... samples)
Perform the Levene test to test for equal variances across the groups. |
|
| Method Summary | |
|---|---|
java.lang.String |
getAlternativeHypothesis()
Get the description of the alternative hypothesis. |
java.lang.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. |
| Methods inherited from class com.numericalmethod.suanshu.stats.test.HypothesisTest |
|---|
isNullRejected, nGroups, nObs, oneSidedPvalue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Levene(double... samples)
samples - samples
public Levene(Levene.Type type,
double[]... samples)
type - the implementation chosensamples - samples| Method Detail |
|---|
public java.lang.String getNullHypothesis()
HypothesisTest
getNullHypothesis in class HypothesisTestpublic java.lang.String getAlternativeHypothesis()
HypothesisTest
getAlternativeHypothesis in class HypothesisTestpublic double statistics()
HypothesisTest
statistics in class HypothesisTestpublic double pValue()
HypothesisTest
pValue in class HypothesisTest
|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||