com.espertech.esper.view.stat
Class CorrelationBean

java.lang.Object
  extended by com.espertech.esper.view.stat.BaseStatisticsBean
      extended by com.espertech.esper.view.stat.CorrelationBean
All Implemented Interfaces:
Serializable, Cloneable

public final class CorrelationBean
extends BaseStatisticsBean

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

See Also:
Serialized Form

Constructor Summary
CorrelationBean()
           
 
Method Summary
 double getCorrelation()
          Return the correlation value for the two data series (Microsoft Excel function CORREL).
 
Methods inherited from class com.espertech.esper.view.stat.BaseStatisticsBean
addPoint, addPoint, clone, getN, getSumXSq, getSumXY, getSumYSq, getXAverage, getXStandardDeviationPop, getXStandardDeviationSample, getXSum, getXVariance, getYAverage, getYStandardDeviationPop, getYStandardDeviationSample, getYSum, getYVariance, removePoint, removePoint, setDataPoints, setSumX, setSumXSq, setSumXY, setSumY, setSumYSq, 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

© 2007 EsperTech Inc.
All rights reserved.
Visit us at espertech.com