Package mondrian.olap.fun
Class LinReg.Value
- java.lang.Object
-
- mondrian.olap.fun.LinReg.Value
-
-
Field Summary
Fields Modifier and Type Field Description (package private) doubleinterceptThe intercept for the linear regression model.(package private) doublerSquaredthe coefficient of determination(package private) doubleslopeThe slope for the linear regression model.(package private) doublevariancevariance = sum square diff mean / n - 1
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetIntercept()doublegetRSquared()doublegetSlope()doublegetVariance()voidsetRSquared(double rSquared)strength of the correlationvoidsetVariance(double variance)StringtoString()
-
-
-
Field Detail
-
intercept
double intercept
The intercept for the linear regression model. Initialized following a call to accuracy.
-
slope
double slope
The slope for the linear regression model. Initialized following a call to accuracy.
-
rSquared
double rSquared
the coefficient of determination
-
variance
double variance
variance = sum square diff mean / n - 1
-
-
Method Detail
-
getIntercept
public double getIntercept()
-
getSlope
public double getSlope()
-
getRSquared
public double getRSquared()
-
setRSquared
public void setRSquared(double rSquared)
strength of the correlation- Parameters:
rSquared- Strength of the correlation
-
getVariance
public double getVariance()
-
setVariance
public void setVariance(double variance)
-
-