IMSL C# Numerical Library

LinearRegression Constructor 

Constructs a new linear regression object.

public LinearRegression(
   int nVariables,
   bool hasIntercept
);

Parameters

nVariables
An int which specifies the number of regression variables.
hasIntercept
A bool which indicates whether or not an intercept is in this regression model.

See Also

LinearRegression Class | Imsl.Stat Namespace