com.rapidminer.operator.validation.significance
Class TTestSignificanceTestOperator

java.lang.Object
  extended by com.rapidminer.operator.Operator
      extended by com.rapidminer.operator.validation.significance.SignificanceTestOperator
          extended by com.rapidminer.operator.validation.significance.TTestSignificanceTestOperator
All Implemented Interfaces:
ConfigurationListener, PreviewListener, ParameterHandler, LoggingHandler

public class TTestSignificanceTestOperator
extends SignificanceTestOperator

Determines if the null hypothesis (all actual mean values are the same) holds for the input performance vectors. This operator uses a simple (pairwise) t-test to determine the probability that the null hypothesis is wrong. Since a t-test can only be applied on two performance vectors this test will be applied to all possible pairs. The result is a significance matrix. However, pairwise t-test may introduce a larger type I error. It is recommended to apply an additional ANOVA test to determine if the null hypothesis is wrong at all.

Author:
Ingo Mierswa ingomierswa Exp $

Nested Class Summary
static class TTestSignificanceTestOperator.TTestSignificanceTestResult
          The result for a paired t-test.
 
Field Summary
 
Fields inherited from class com.rapidminer.operator.validation.significance.SignificanceTestOperator
PARAMETER_ALPHA
 
Constructor Summary
TTestSignificanceTestOperator(OperatorDescription description)
           
 
Method Summary
 int getMaxSize()
          Returns the maximum number of performance vectors which can be compared by this significance test.
 int getMinSize()
          Returns the minimum number of performance vectors which can be compared by this significance test.
 SignificanceTestResult performSignificanceTest(PerformanceVector[] allVectors, double alpha)
          Returns the result of the significance test for the given performance vector collection.
 
Methods inherited from class com.rapidminer.operator.validation.significance.SignificanceTestOperator
apply, getInputClasses, getOutputClasses, getParameterTypes
 
Methods inherited from class com.rapidminer.operator.Operator
addError, addValue, addWarning, apply, checkDeprecations, checkForStop, checkIO, checkProperties, clearErrorList, cloneOperator, createExperimentTree, createExperimentTree, createFromXML, createMarkedExperimentTree, createMarkedProcessTree, createProcessTree, createProcessTree, getAddOnlyAdditionalOutput, getApplyCount, getDeliveredOutputClasses, getDeprecationInfo, getDesiredInputClasses, getEncoding, getErrorList, getExperiment, getInnerOperatorsXML, getInput, getInput, getInput, getInputDescription, getIOContainerForInApplyLoopBreakpoint, getIODescription, getLog, getName, getOperatorClassName, getOperatorDescription, getParameter, getParameterAsBoolean, getParameterAsColor, getParameterAsDouble, getParameterAsFile, getParameterAsFile, getParameterAsInputStream, getParameterAsInt, getParameterAsMatrix, getParameterAsString, getParameterList, getParameters, getParameterType, getParent, getProcess, getStartTime, getStatus, getUserDescription, getValue, getValues, getXML, hasBreakpoint, hasBreakpoint, hasInput, inApplyLoop, isDebugMode, isEnabled, isExpanded, isParallel, isParameterSet, log, logError, logNote, logWarning, performAdditionalChecks, processFinished, processStarts, register, registerOperator, remove, rename, resume, setApplyCount, setBreakpoint, setEnabled, setExpanded, setInput, setListParameter, setOperatorParameters, setParameter, setParameters, setParent, setUserDescription, toString, unregisterOperator, writeXML
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TTestSignificanceTestOperator

public TTestSignificanceTestOperator(OperatorDescription description)
Method Detail

performSignificanceTest

public SignificanceTestResult performSignificanceTest(PerformanceVector[] allVectors,
                                                      double alpha)
Description copied from class: SignificanceTestOperator
Returns the result of the significance test for the given performance vector collection.

Specified by:
performSignificanceTest in class SignificanceTestOperator

getMinSize

public int getMinSize()
Description copied from class: SignificanceTestOperator
Returns the minimum number of performance vectors which can be compared by this significance test.

Specified by:
getMinSize in class SignificanceTestOperator

getMaxSize

public int getMaxSize()
Description copied from class: SignificanceTestOperator
Returns the maximum number of performance vectors which can be compared by this significance test.

Specified by:
getMaxSize in class SignificanceTestOperator


Copyright © 2001-2009 by Rapid-I