Click or drag to resize

RegressionBasePredictorMatrix Property

Gets the predictor matrix.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public DoubleMatrix PredictorMatrix { get; }

Property Value

DoubleMatrix
Remarks
The predictor matrix is the matrix of values of the independent variables in a regression model. If the model contains an intercept parameter, then the predictor matrix is obtained from the regression matrix by removing the leading column of ones. If the model does not have an intercept parameter, then the predictor matrix is the same as the regression matrix.
If you modify the data in the predictor matrix using this reference, invoke the member function RecalculateParameters() to recalculate the parameters.
See Also