Preconditions:
Collection must contain double[] arrays.double[] arrays in the categoryData collection and each of these arrays must contain at least two values.Collection of double[]arrays each containing data for one category
@param alpha significance level of the test
@return true if the null hypothesis can be rejected withconfidence 1 - alpha
@throws IllegalArgumentException if the preconditions are not met
@throws MathException if the statistic can not be computed do to aconvergence or other numerical error.
This implementation uses the {@link org.apache.commons.math.distribution.FDistribution commons-math F Distribution implementation} to estimate the exactp-value, using the formula
p = 1 - cumulativeProbability(F)where
F is the F value and cumulativeProbability is the commons-math implementation of the F distribution. True is returned iff the estimated p-value is less than alpha.
| |
| |
| |
| |