LinearRegression Constructor |
Constructs a new linear regression object.
Namespace: Imsl.StatAssembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax public LinearRegression(
int nVariables,
bool hasIntercept
)
Public Sub New (
nVariables As Integer,
hasIntercept As Boolean
)
public:
LinearRegression(
int nVariables,
bool hasIntercept
)
new :
nVariables : int *
hasIntercept : bool -> LinearRegression
Parameters
- nVariables
- Type: SystemInt32
An int which specifies the number of regression variables.
- hasIntercept
- Type: SystemBoolean
A bool which indicates whether or not an intercept is in this
regression model.
See Also