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) double
intercept
The intercept for the linear regression model.(package private) double
rSquared
the coefficient of determination(package private) double
slope
The slope for the linear regression model.(package private) double
variance
variance = sum square diff mean / n - 1
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getIntercept()
double
getRSquared()
double
getSlope()
double
getVariance()
void
setRSquared(double rSquared)
strength of the correlationvoid
setVariance(double variance)
String
toString()
-
-
-
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)
-
-