public interface LinearRegression
| Modifier and Type | Method and Description |
|---|---|
double[] |
beta()
Get the estimated coefficients.
|
static RegressionBuilder |
builder()
Create and return a new builder for a linear regression model.
|
double[] |
fitted()
Get the model fitted values.
|
boolean |
hasIntercept()
Get whether or not the model includes an intercept.
|
default double[] |
residuals()
Get the model residuals.
|
double[] |
response()
Get the response variable.
|
double |
sigma2()
Get the model error variance estimate.
|
double[] |
standardErrors()
Get the standard errors of the estimated coefficients.
|
static RegressionBuilder builder()
double[] response()
double[] beta()
double[] standardErrors()
double[] fitted()
default double[] residuals()
double sigma2()
boolean hasIntercept()