Returns the value of the dependent variable predicted by the model for the given
set of predictor values.
Namespace:
CenterSpace.NMath.StatsAssembly: NMathStats (in NMathStats.dll) Version: 3.4.0.0
Syntax
| C# |
|---|
public double PredictedObservation( DoubleVector x ) |
| Visual Basic (Declaration) |
|---|
Public Function PredictedObservation ( _ x As DoubleVector _ ) As Double |
| Visual C++ |
|---|
public: double PredictedObservation( DoubleVector^ x ) |
Parameters
- x
- Type: CenterSpace.NMath.Core..::.DoubleVector
A set of predictor values.
Return Value
The value of the dependent variable predicted by the model.
Exceptions
| Exception | Condition |
|---|---|
| CenterSpace.NMath.Core..::.MismatchedSizeException | Thrown if the length of the given vector is not equal to the number of parameters in the model. |