public interface OneWayAnova
Tests for differences between two or more categories of univariate data
(for example, the body mass index of accountants, lawyers, doctors and
computer programmers). When two categories are given, this is equivalent to
the TTest
.
Modifier and Type | Method and Description |
---|---|
double |
anovaFValue(java.util.Collection<double[]> categoryData)
Computes the ANOVA F-value for a collection of
double[]
arrays. |
double |
anovaPValue(java.util.Collection<double[]> categoryData)
Computes the ANOVA P-value for a collection of
double[]
arrays. |
boolean |
anovaTest(java.util.Collection<double[]> categoryData,
double alpha)
Performs an ANOVA test, evaluating the null hypothesis that there
is no difference among the means of the data categories.
|
double anovaFValue(java.util.Collection<double[]> categoryData) throws java.lang.IllegalArgumentException, MathException
double[]
arrays.
Preconditions:
Collection
must contain
double[]
arrays.double[]
arrays in the
categoryData
collection and each of these arrays must
contain at least two values.categoryData
- Collection
of double[]
arrays each containing data for one categoryjava.lang.IllegalArgumentException
- if the preconditions are not metMathException
- if the statistic can not be computed do to a
convergence or other numerical error.double anovaPValue(java.util.Collection<double[]> categoryData) throws java.lang.IllegalArgumentException, MathException
double[]
arrays.
Preconditions:
Collection
must contain
double[]
arrays.double[]
arrays in the
categoryData
collection and each of these arrays must
contain at least two values.categoryData
- Collection
of double[]
arrays each containing data for one categoryjava.lang.IllegalArgumentException
- if the preconditions are not metMathException
- if the statistic can not be computed do to a
convergence or other numerical error.boolean anovaTest(java.util.Collection<double[]> categoryData, double alpha) throws java.lang.IllegalArgumentException, MathException
Preconditions:
Collection
must contain
double[]
arrays.double[]
arrays in the
categoryData
collection and each of these arrays must
contain at least two values.categoryData
- Collection
of double[]
arrays each containing data for one categoryalpha
- significance level of the testjava.lang.IllegalArgumentException
- if the preconditions are not metMathException
- if the statistic can not be computed do to a
convergence or other numerical error."Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"