Constructs a new linear regression object.

Namespace: Imsl.Stat
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.0.0

Syntax

C#
public LinearRegression(
	int nVariables,
	bool hasIntercept
)
Visual Basic (Declaration)
Public Sub New ( _
	nVariables As Integer, _
	hasIntercept As Boolean _
)
Visual C++
public:
LinearRegression(
	int nVariables, 
	bool hasIntercept
)

Parameters

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

See Also