Gets the predictor matrix.
Namespace:
CenterSpace.NMath.StatsAssembly: NMathStats (in NMathStats.dll) Version: 3.4.0.0
Syntax
| C# |
|---|
public DoubleMatrix PredictorMatrix { get; } |
| Visual Basic (Declaration) |
|---|
Public ReadOnly Property PredictorMatrix As DoubleMatrix |
| Visual C++ |
|---|
public: property DoubleMatrix^ PredictorMatrix { DoubleMatrix^ get (); } |
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.
If you modify the data in the predictor matrix using this reference, invoke the member function RecalculateParameters() to recalculate the parameters.