gov.sandia.cognition.statistics.method
Class AbstractMultipleHypothesisComparison<TreatmentData,StatisticType extends MultipleHypothesisComparison.Statistic>

java.lang.Object
  extended by gov.sandia.cognition.util.AbstractCloneableSerializable
      extended by gov.sandia.cognition.statistics.method.AbstractMultipleHypothesisComparison<TreatmentData,StatisticType>
Type Parameters:
TreatmentData - Data associated with each treatment, such as Double or Collection of Double
StatisticType - Type of statistic returned by the test
All Implemented Interfaces:
MultipleHypothesisComparison<TreatmentData>, CloneableSerializable, Serializable, Cloneable
Direct Known Subclasses:
AbstractPairwiseMultipleHypothesisComparison, NemenyiConfidence, TukeyKramerConfidence

public abstract class AbstractMultipleHypothesisComparison<TreatmentData,StatisticType extends MultipleHypothesisComparison.Statistic>
extends AbstractCloneableSerializable
implements MultipleHypothesisComparison<TreatmentData>

Partial implementation of MultipleHypothesisComparison

Since:
3.3.0
Author:
Kevin R. Dixon
See Also:
Serialized Form

Nested Class Summary
static class AbstractMultipleHypothesisComparison.Statistic
          Partial implementation of MultipleHypothesisComparison.Statistic
 
Field Summary
 
Fields inherited from interface gov.sandia.cognition.statistics.method.MultipleHypothesisComparison
DEFAULT_UNCOMPENSATED_ALPHA
 
Constructor Summary
AbstractMultipleHypothesisComparison()
          Default constructor
 
Method Summary
 StatisticType evaluateNullHypotheses(Collection<? extends TreatmentData> data)
          Evaluates the null hypotheses associated with the given collection of data.
abstract  StatisticType evaluateNullHypotheses(Collection<? extends TreatmentData> data, double uncompensatedAlpha)
          Evaluates the null hypotheses associated with the given collection of data.
 
Methods inherited from class gov.sandia.cognition.util.AbstractCloneableSerializable
clone
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface gov.sandia.cognition.util.CloneableSerializable
clone
 

Constructor Detail

AbstractMultipleHypothesisComparison

public AbstractMultipleHypothesisComparison()
Default constructor

Method Detail

evaluateNullHypotheses

public StatisticType evaluateNullHypotheses(Collection<? extends TreatmentData> data)
Description copied from interface: MultipleHypothesisComparison
Evaluates the null hypotheses associated with the given collection of data.

Specified by:
evaluateNullHypotheses in interface MultipleHypothesisComparison<TreatmentData>
Parameters:
data - Data from each treatment to consider
Returns:
Statistic that summarizes the multiple comparison test

evaluateNullHypotheses

public abstract StatisticType evaluateNullHypotheses(Collection<? extends TreatmentData> data,
                                                     double uncompensatedAlpha)
Description copied from interface: MultipleHypothesisComparison
Evaluates the null hypotheses associated with the given collection of data.

Specified by:
evaluateNullHypotheses in interface MultipleHypothesisComparison<TreatmentData>
Parameters:
data - Data from each treatment to consider
uncompensatedAlpha - Uncompensated alpha (p-value threshold) for the multiple comparison test, must be [0,1]
Returns:
Statistic that summarizes the multiple comparison test