@ConfidenceTestAssumptions(name="One-Way Analysis of Variance", alsoKnownAs={"1-way ANOVA","Fixed-effects 1-way ANOVA","F test"}, description={"ANOVA tests to determine if the means between the various treatments are equal.","ANOVA is a generalization of the paired Student t-test, where there can be multiple treatments.","When there are two groups, a control group and a treatment group, ANOVA is equivalent to the unpaired t-test."}, assumptions={"The data are sampled from a Gaussian distribution.","The variance within the different groups is equal.","The data from each group is collected independently of each other."}, nullHypothesis="The means from all groups are equal.", dataPaired=false, dataSameSize=false, distribution=SnedecorFDistribution.CDF.class, reference=@PublicationReference(author="Wikipedia",title="Analysis of Variance",type=WebPage,year=2009,url="http://en.wikipedia.org/wiki/Analysis_of_variance")) public class AnalysisOfVarianceOneWay extends AbstractCloneableSerializable implements BlockExperimentComparison<java.lang.Number>
Modifier and Type | Class and Description |
---|---|
static class |
AnalysisOfVarianceOneWay.Statistic
Returns the confidence statistic for an ANOVA test
|
Modifier and Type | Field and Description |
---|---|
static AnalysisOfVarianceOneWay |
INSTANCE
Default instance.
|
Constructor and Description |
---|
AnalysisOfVarianceOneWay()
Creates a new instance of AnalysisOfVarianceOneWay
|
Modifier and Type | Method and Description |
---|---|
AnalysisOfVarianceOneWay.Statistic |
evaluateNullHypothesis(java.util.Collection<? extends java.util.Collection<? extends java.lang.Number>> data)
Evaluates the null hypothesis for the given block-design treatments
|
AnalysisOfVarianceOneWay.Statistic |
evaluateNullHypothesis(java.util.Collection<? extends java.lang.Number> data1,
java.util.Collection<? extends java.lang.Number> data2)
Evaluates the ANOVA statistics for the two given treatments, each
treatment can have a different number of samples
|
clone
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone
public static final AnalysisOfVarianceOneWay INSTANCE
public AnalysisOfVarianceOneWay()
@PublicationReference(author={"Frederick J. Gravetter","Larry B. Wallnau"}, title="Statistics for the Behavioral Sciences", type=Book, year=2003, pages={406,412}, notes="Chapter 13.3") public AnalysisOfVarianceOneWay.Statistic evaluateNullHypothesis(java.util.Collection<? extends java.util.Collection<? extends java.lang.Number>> data)
BlockExperimentComparison
evaluateNullHypothesis
in interface BlockExperimentComparison<java.lang.Number>
data
- Collection of treatments for the block-design experiment, where each
treatment containspublic AnalysisOfVarianceOneWay.Statistic evaluateNullHypothesis(java.util.Collection<? extends java.lang.Number> data1, java.util.Collection<? extends java.lang.Number> data2)
evaluateNullHypothesis
in interface NullHypothesisEvaluator<java.util.Collection<? extends java.lang.Number>>
data1
- First treatmentdata2
- Second treatment