org.codehaus.jet.hypothesis.testers
Class CachingHypothesisTester

java.lang.Object
  extended by org.codehaus.jet.hypothesis.testers.CachingHypothesisTester
All Implemented Interfaces:
HypothesisTester

public class CachingHypothesisTester
extends java.lang.Object
implements HypothesisTester

Default implementation of HypothesisTester

Author:
Mauro Talevi

Constructor Summary
CachingHypothesisTester(HypothesisTester delegate)
           
 
Method Summary
 double estimateRejectionValue(RejectionValueType type, java.lang.String testName, int[] options, double level, int sampleSize)
          Estimate rejection value for a given test
 java.lang.String[] listTestNames()
          Returns the list of supported test names
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CachingHypothesisTester

public CachingHypothesisTester(HypothesisTester delegate)
Method Detail

estimateRejectionValue

public double estimateRejectionValue(RejectionValueType type,
                                     java.lang.String testName,
                                     int[] options,
                                     double level,
                                     int sampleSize)
Description copied from interface: HypothesisTester
Estimate rejection value for a given test

Specified by:
estimateRejectionValue in interface HypothesisTester
Parameters:
type - the RejectionValueType
testName - the name of the test
options - the ints encoding the options
level - the significance level
sampleSize - the sample size
Returns:
The rejection value

listTestNames

public java.lang.String[] listTestNames()
Description copied from interface: HypothesisTester
Returns the list of supported test names

Specified by:
listTestNames in interface HypothesisTester
Returns:
The list of test names


Copyright © 2006-2007. All Rights Reserved.