|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object mondrian.olap.fun.LinReg.Value
static class LinReg.Value
Field Summary | |
---|---|
(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 |
Constructor Summary | |
---|---|
LinReg.Value(double intercept,
double slope,
List xs,
List ys)
|
Method Summary | |
---|---|
double |
getIntercept()
|
double |
getRSquared()
|
double |
getSlope()
|
double |
getVariance()
|
void |
setRSquared(double rSquared)
strength of the correlation |
void |
setVariance(double variance)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
double intercept
double slope
double rSquared
double variance
Constructor Detail |
---|
LinReg.Value(double intercept, double slope, List xs, List ys)
Method Detail |
---|
public double getIntercept()
public double getSlope()
public double getRSquared()
public void setRSquared(double rSquared)
rSquared
- public double getVariance()
public void setVariance(double variance)
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |