gov.sandia.cognition.statistics.method
Class NemenyiConfidence

java.lang.Object
  extended by gov.sandia.cognition.util.AbstractCloneableSerializable
      extended by gov.sandia.cognition.statistics.method.AbstractMultipleHypothesisComparison<Collection<? extends Number>,NemenyiConfidence.Statistic>
          extended by gov.sandia.cognition.statistics.method.NemenyiConfidence
All Implemented Interfaces:
MultipleHypothesisComparison<Collection<? extends Number>>, CloneableSerializable, Serializable, Cloneable

@ConfidenceTestAssumptions(name="Nemenyi\'s test",
                           description={"Nemenyi\'s test determines which treatment is statistically different from a multiple comparison.","This is a nonparametric rank-based alternative to Tukey\'s multiple comparison test."},
                           assumptions={"All data came from same distribution, without considering treatment effects.","Measurements are independent and equivalent within a treatment.","All observations are independent."},
                           nullHypothesis="Each treatment has no effect on the rank-based outcome of the subjects",
                           dataPaired=true,
                           dataSameSize=true,
                           distribution=StudentizedRangeDistribution.class,
                           reference={@PublicationReference(author="Janez Demsar",title="Statistical Comparisons of Classifiers over Multiple Data Sets",type=Journal,publication="Journal of Machine Learning Research",year=2006,url="http://www.jmlr.org/papers/volume7/demsar06a/demsar06a.pdf"),@PublicationReference(author="Wikipedia",title="Multiple comparisons, Post-hoc testing of ANOVAs",type=WebPage,year=2011,url="http://en.wikipedia.org/wiki/Multiple_comparisons#Post-hoc_testing_of_ANOVAs")})
public class NemenyiConfidence
extends AbstractMultipleHypothesisComparison<Collection<? extends Number>,NemenyiConfidence.Statistic>

The Nemenyi test is the rank-based analogue of the Tukey multiple-comparison test. Its primary use is in determining which treatments are significant after a Friedman's test indicates that one of the treatments is statistically different.

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

Nested Class Summary
static class NemenyiConfidence.Statistic
          Statistic from Nemenyi's multiple comparison test
 
Field Summary
static NemenyiConfidence INSTANCE
          Default instance.
 
Fields inherited from interface gov.sandia.cognition.statistics.method.MultipleHypothesisComparison
DEFAULT_UNCOMPENSATED_ALPHA
 
Constructor Summary
NemenyiConfidence()
          Creates a new instance of NemenyiConfidence
 
Method Summary
 NemenyiConfidence.Statistic evaluateNullHypotheses(Collection<? extends Collection<? extends Number>> data, double uncompensatedAlpha)
          Evaluates the null hypotheses associated with the given collection of data.
 
Methods inherited from class gov.sandia.cognition.statistics.method.AbstractMultipleHypothesisComparison
evaluateNullHypotheses
 
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
 

Field Detail

INSTANCE

public static final NemenyiConfidence INSTANCE
Default instance.

Constructor Detail

NemenyiConfidence

public NemenyiConfidence()
Creates a new instance of NemenyiConfidence

Method Detail

evaluateNullHypotheses

public NemenyiConfidence.Statistic evaluateNullHypotheses(Collection<? extends Collection<? extends Number>> 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<Collection<? extends Number>>
Specified by:
evaluateNullHypotheses in class AbstractMultipleHypothesisComparison<Collection<? extends Number>,NemenyiConfidence.Statistic>
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