Class SignificanceTest

java.lang.Object
  |
  +--SignificanceTest
Direct Known Subclasses:
PoissonTest

public abstract class SignificanceTest
extends java.lang.Object
implements Constants


Field Summary
protected  int meas
           
protected  double thresh
           
 
Constructor Summary
SignificanceTest(int measure, double pMin, double cMin, int mRep, double thr)
           
 
Method Summary
 double getMinIncidenceCount()
           
 double getMinPopSize()
           
 double getMultipleTestReruns()
           
 int getStatype()
           
 double getThreshold()
           
 void initialiseMultipleTesting()
           
abstract  boolean isSignificant(double sumP, double sumC, MyDouble statis)
           
abstract  boolean isWorthTesting(double sumP, double sumC)
           
 double minIncidenceCount()
           
 double minPopSize()
           
 double multipleTestReruns()
           
 void multipleTests(int rTimes)
           
 void saveResults(int loop, int sample, int numHyps, int numSigCircles)
           
 void setSize(int i, double r)
           
 int statype()
           
 double threshold()
           
protected  boolean worthTesting(double sumP, double sumC)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

meas

protected int meas

thresh

protected double thresh
Constructor Detail

SignificanceTest

public SignificanceTest(int measure,
                        double pMin,
                        double cMin,
                        int mRep,
                        double thr)
Method Detail

initialiseMultipleTesting

public final void initialiseMultipleTesting()

multipleTests

public final void multipleTests(int rTimes)

isWorthTesting

public abstract boolean isWorthTesting(double sumP,
                                       double sumC)

isSignificant

public abstract boolean isSignificant(double sumP,
                                      double sumC,
                                      MyDouble statis)

setSize

public final void setSize(int i,
                          double r)

saveResults

public final void saveResults(int loop,
                              int sample,
                              int numHyps,
                              int numSigCircles)

worthTesting

protected boolean worthTesting(double sumP,
                               double sumC)

statype

public final int statype()

threshold

public final double threshold()

minPopSize

public final double minPopSize()

minIncidenceCount

public final double minIncidenceCount()

multipleTestReruns

public final double multipleTestReruns()

getStatype

public final int getStatype()

getThreshold

public final double getThreshold()

getMinPopSize

public final double getMinPopSize()

getMinIncidenceCount

public final double getMinIncidenceCount()

getMultipleTestReruns

public final double getMultipleTestReruns()