net.esper.view.stat
Class CorrelationBean

java.lang.Object
  extended by net.esper.view.stat.BaseStatisticsBean
      extended by net.esper.view.stat.CorrelationBean
All Implemented Interfaces:
Cloneable

public final class CorrelationBean
extends BaseStatisticsBean

Bean for calculating the correlation (same to Microsoft Excel CORREL function).


Constructor Summary
CorrelationBean()
           
 
Method Summary
 double getCorrelation()
          Return the correlation value for the two data series (Microsoft Excel function CORREL).
 
Methods inherited from class net.esper.view.stat.BaseStatisticsBean
addPoint, addPoint, clone, getN, getSumXSq, getSumXY, getSumYSq, getXAverage, getXStandardDeviationPop, getXStandardDeviationSample, getXSum, getXVariance, getYAverage, getYStandardDeviationPop, getYStandardDeviationSample, getYSum, getYVariance, removePoint, removePoint, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CorrelationBean

public CorrelationBean()
Method Detail

getCorrelation

public final double getCorrelation()
Return the correlation value for the two data series (Microsoft Excel function CORREL).

Returns:
correlation value