Constructs a LinearRegression instance with the specifed regresssion data and an index to the observation column. By default, the model parameter values are computed using a QR factorization.

Namespace:  CenterSpace.NMath.Stats
Assembly:  NMathStats (in NMathStats.dll) Version: 3.4.0.0

Syntax

C#
public LinearRegression(
	DataFrame data,
	int observationIndex
)
Visual Basic (Declaration)
Public Sub New ( _
	data As DataFrame, _
	observationIndex As Integer _
)
Visual C++
public:
LinearRegression(
	DataFrame^ data, 
	int observationIndex
)

Parameters

data
Type: CenterSpace.NMath.Stats..::.DataFrame
Regression data.
observationIndex
Type: System..::.Int32
Index to column of observations.

See Also