edu.udo.cs.yale.tools.math
Class AnovaCalculator

java.lang.Object
  extended by edu.udo.cs.yale.tools.math.AnovaCalculator

public class AnovaCalculator
extends java.lang.Object

Determines if the null hypothesis (all actual mean values are the same) holds for the given values. This class uses an ANalysis Of VAriances approach to determine probability that the null hypothesis is wrong.

Version:
$Id: AnovaCalculator.java,v 1.10 2006/08/03 14:39:34 ingomierswa Exp $
Author:
Ingo Mierswa

Nested Class Summary
 class AnovaCalculator.AnovaSignificanceTestResult
           
private static class AnovaCalculator.Group
          Helper class containing all information about a group, i.e. the number of elements, the mean and variance value.
 
Field Summary
private  double alpha
           
private  java.util.List<AnovaCalculator.Group> groups
           
 
Constructor Summary
AnovaCalculator()
           
 
Method Summary
 void addGroup(int numberOfValues, double mean, double variance)
           
 void clearGroups()
           
 SignificanceTestResult performSignificanceTest()
           
 void setAlpha(double alpha)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

alpha

private double alpha

groups

private java.util.List<AnovaCalculator.Group> groups
Constructor Detail

AnovaCalculator

public AnovaCalculator()
Method Detail

setAlpha

public void setAlpha(double alpha)

addGroup

public void addGroup(int numberOfValues,
                     double mean,
                     double variance)

clearGroups

public void clearGroups()

performSignificanceTest

public SignificanceTestResult performSignificanceTest()
                                               throws SignificanceCalculationException
Throws:
SignificanceCalculationException


Copyright © 2001-2006