Click or drag to resize

MultinomialRegressionEstimateResidual Method

Computes deviance residuals.

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

Parameters

regressors
Type: FinMath.LinearAlgebraVector
Regressors is vector of P predictor variables.
regressand
Type: FinMath.LinearAlgebraVector
Regressand is vector of K observed categories.

Return Value

Type: Double
Computed deviance residuals for the observation.
See Also