Adds predictors to the model, and recalculates the model parameters.
Namespace:
CenterSpace.NMath.StatsAssembly: NMathStats (in NMathStats.dll) Version: 3.4.0.0
Syntax
| C# |
|---|
public void AddPredictors( DoubleMatrix predictorValues ) |
| Visual Basic (Declaration) |
|---|
Public Sub AddPredictors ( _ predictorValues As DoubleMatrix _ ) |
| Visual C++ |
|---|
public: void AddPredictors( DoubleMatrix^ predictorValues ) |
Parameters
- predictorValues
- Type: CenterSpace.NMath.Core..::.DoubleMatrix
Matrix of predictor values. Each column of the matrix is a set of predictor values.
Exceptions
| Exception | Condition |
|---|---|
| CenterSpace.NMath.Core..::.MismatchedSizeException | Thrown if the number of rows in the given matrix is not equal to the number of rows in the regression matrix (also equal to length of the observation vector). |