public class RegressionStatistics extends Object
Modifier and Type | Field and Description |
---|---|
Double |
a
a in y = a.x + b
|
Double |
b
b in y = a.x + b
|
Double |
meanDistance
The mean of the squared distance of the points to the regression line.
|
Double |
medianDistance
The median of the squared distance of the points to the regression line.
|
Double |
rSquared
The coefficient of determination.
|
public final Double a
public final Double b
public final Double rSquared
public final Double meanDistance
public final Double medianDistance
public RegressionStatistics(Double a, Double b, Double rSquared, Double meanDistance, Double medianDistance)
a
- ab
- brSquared
- r squaredmeanDistance
- the mean of the squared distance of the points to the
regression linemedianDistance
- the median of the squared distance of the points to
the regression lineCopyright © 2016. All rights reserved.