Class LinearRegression

Object
LinearRegression
All Implemented Interfaces:
Computation<LinearRegression.LinearRegressionResult,​ProtocolBuilderNumeric>

public class LinearRegression
extends Object
implements Computation<LinearRegression.LinearRegressionResult,​ProtocolBuilderNumeric>
Fit a linear model to the given dataset and output estimates for the coefficients and the regression error variance (s2) which is equal to the regression standard error squared, the coefficient of determination (R2) and the standard errors (squared) for each coefficient estimate. (see LinearRegression.LinearRegressionResult.