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

Namespace:  CenterSpace.NMath.Stats
Assembly:  NMathStats (in NMathStats.dll) Version: 3.4.0.0

Syntax

C#
public DoubleVector PredictedObservations(
	DoubleMatrix A
)
Visual Basic (Declaration)
Public Function PredictedObservations ( _
	A As DoubleMatrix _
) As DoubleVector
Visual C++
public:
DoubleVector^ PredictedObservations(
	DoubleMatrix^ A
)

Parameters

A
Type: CenterSpace.NMath.Core..::.DoubleMatrix
A matrix of predictor values. Each row of A is a set of predictor values.

Return Value

A vector of predicted responses. The ith element of the vector is the predicted response for the set of predictor values in the ith row of the input matrix A.

Exceptions

ExceptionCondition
CenterSpace.NMath.Core..::.MismatchedSizeExceptionThrown if the number of columns in the given matrix is not equal to the number of parameters in the model.

See Also