net.esper.view.stat
Class RegressionBean
java.lang.Object
net.esper.view.stat.BaseStatisticsBean
net.esper.view.stat.RegressionBean
- All Implemented Interfaces:
- Serializable, Cloneable, MetaDefItem
public final class RegressionBean
- extends BaseStatisticsBean
Bean for calculating the regression slope and y intercept (same to Microsoft Excel LINEST function).
- See Also:
- Serialized Form
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 |
RegressionBean
public RegressionBean()
getYIntercept
public double getYIntercept()
- Returns the Y intercept.
- Returns:
- Y intercept
getSlope
public double getSlope()
- Returns the slope.
- Returns:
- regression slope