halo.data.biascorrection
Class CorrelationCoefficient

java.lang.Object
  extended by halo.data.biascorrection.CorrelationCoefficient
Direct Known Subclasses:
RCorrelationCoefficient

public abstract class CorrelationCoefficient
extends java.lang.Object

Abstract class for the calculation of the correlation coefficient of a data set

Author:
Stefanie Kaufmann

Constructor Summary
CorrelationCoefficient()
           
 
Method Summary
abstract  double calculateCorrelationCoefficient()
          Abstract method for the calculation of the correlation coefficient for the data
 void setInputFile(java.io.File file)
          Sets the input file that holds the data
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CorrelationCoefficient

public CorrelationCoefficient()
Method Detail

calculateCorrelationCoefficient

public abstract double calculateCorrelationCoefficient()
Abstract method for the calculation of the correlation coefficient for the data

Returns:
The correlation coefficient of the data

setInputFile

public void setInputFile(java.io.File file)
Sets the input file that holds the data

Parameters:
file - The input file that holds the data