Click or drag to resize

LinearRegressionSetRegressionData(DataFrame, IDFColumn, Boolean) Method

Sets the regression matrix, observation vector, and intercept option to the specified values, and recalculates the model parameters.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public void SetRegressionData(
	DataFrame data,
	IDFColumn observations,
	bool addIntercept
)

Parameters

data  DataFrame
Regression data.
observations  IDFColumn
Column of observations.
addIntercept  Boolean
Intercept option. Set to true if you want the model to contain an intercept parameter that is not accounted for in the input regression data (in the form of a leading column of ones).
See Also