net.esper.view.stat
Class CorrelationBean
java.lang.Object
net.esper.view.stat.BaseStatisticsBean
net.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
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, setDataPoints, setSumX, setSumXSq, setSumXY, setSumY, setSumYSq, toString |
CorrelationBean
public CorrelationBean()
getCorrelation
public final double getCorrelation()
- Return the correlation value for the two data series (Microsoft Excel function CORREL).
- Returns:
- correlation value