| Modifier and Type | Field and 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 
 | 
| Constructor and Description | 
|---|
LinReg.Value(double intercept,
            double slope,
            List xs,
            List ys)  | 
| Modifier and Type | Method and Description | 
|---|---|
double | 
getIntercept()  | 
double | 
getRSquared()  | 
double | 
getSlope()  | 
double | 
getVariance()  | 
void | 
setRSquared(double rSquared)
strength of the correlation 
 | 
void | 
setVariance(double variance)  | 
String | 
toString()  | 
double intercept
double slope
double rSquared
double variance
public double getIntercept()
public double getSlope()
public double getRSquared()
public void setRSquared(double rSquared)
rSquared - Strength of the correlationpublic double getVariance()
public void setVariance(double variance)