|
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.
The R equivalent function is levene.test.
| Nested Class Summary | |
|---|---|
static class |
Levene.Type
the implementations available when computing the absolute deviations |
| Field Summary | |
|---|---|
double |
df1
the degree of freedoms |
double |
df2
the degree of freedoms |
| Fields inherited from class com.numericalmethod.suanshu.stats.test.HypothesisTest |
|---|
k, N, pValue, testStatistics |
| Constructor Summary | |
|---|---|
Levene(double... samples)
Perform the Levene test to test for homeogeneity of variance across groups. |
|
Levene(Levene.Type type,
double[]... samples)
Perform the Levene test to test for homeogeneity of variance across groups. |
|
| Method Summary | |
|---|---|
java.lang.String |
alternativeHypothesis()
Get a description of the alternative hypothesis. |
java.lang.String |
nullHypothesis()
Get a description of the null hypothesis. |
| Methods inherited from class com.numericalmethod.suanshu.stats.test.HypothesisTest |
|---|
oneSidedPvalue, pValue, rejectNull, testStatistics |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final double df1
public final double df2
| Constructor Detail |
|---|
public Levene(double... samples)
The absolute deviations are computed from the medians.
samples - samples
public Levene(Levene.Type type,
double[]... samples)
type - the implementation chosensamples - samples| Method Detail |
|---|
public java.lang.String nullHypothesis()
HypothesisTest
nullHypothesis in class HypothesisTestpublic java.lang.String alternativeHypothesis()
HypothesisTest
alternativeHypothesis 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 | |||||||