Click or drag to resize

LinearRegressionPredictedObservation Method

Returns the value of the dependent variable predicted by the model for the given set of predictor values.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public double PredictedObservation(
	DoubleVector x
)

Parameters

x  DoubleVector
A set of predictor values.

Return Value

Double
The value of the dependent variable predicted by the model.
Exceptions
ExceptionCondition
MismatchedSizeExceptionThrown if the length of the given vector is not equal to the number of parameters in the model.
See Also