public class LeastSquares extends Object
Constructor and Description |
---|
LeastSquares(NumericColumn responseVariable,
NumericColumn... explanatoryVars) |
Modifier and Type | Method and Description |
---|---|
double[] |
actuals() |
double |
adjustedRSquared() |
double[] |
coefficients() |
double |
df() |
double |
error() |
double[] |
fitted() |
double |
ftest() |
double |
intercept() |
double |
predict(double[] x) |
double |
pValue() |
double[] |
residuals() |
double |
RSquared() |
double |
RSS() |
String |
toString() |
static LeastSquares |
train(NumericColumn responseVar,
NumericColumn... explanatoryVars) |
double[][] |
ttest() |
public LeastSquares(NumericColumn responseVariable, NumericColumn... explanatoryVars)
public static LeastSquares train(NumericColumn responseVar, NumericColumn... explanatoryVars)
public double[] residuals()
public double[] fitted()
public double adjustedRSquared()
public double df()
public double error()
public double ftest()
public double pValue()
public double intercept()
public double RSquared()
public double RSS()
public double[][] ttest()
public double predict(double[] x)
public double[] coefficients()
public double[] actuals()
Copyright © 2017. All rights reserved.