Click or drag to resize

AbstractLSEstimateResidual Method (Vector, Double)

Calculate residuals of estimations, using computed regression parameters, regressors and regressand value. Use this this method for single observation.

Namespace:  FinMath.LeastSquares
Assembly:  FinMath (in FinMath.dll) Version: 2.4.7-0a995bd0ea1854c2c868ec3f8dae606c5777e170
Syntax
C#
public virtual double EstimateResidual(
	Vector regressors,
	double regressand
)

Parameters

regressors
Type: FinMath.LinearAlgebraVector
Regressors value vector.
regressand
Type: SystemDouble
Regressand value.

Return Value

Type: Double
Calculated residual.
See Also