Click or drag to resize

MultinomialRegressionEstimateResiduals Method

Computes deviance residuals.

Namespace:  FinMath.LeastSquares
Assembly:  FinMath (in FinMath.dll) Version: 2.4.7-0a995bd0ea1854c2c868ec3f8dae606c5777e170
Syntax
C#
public void EstimateResiduals(
	Matrix regressors,
	Matrix regressand,
	Vector residuals
)

Parameters

regressors
Type: FinMath.LinearAlgebraMatrix
Regressors is X is M-by-P matrix with P predictor variables for each of M predictors.
regressand
Type: FinMath.LinearAlgebraMatrix
Regressand is M-by-K matrix with K observed categories for each of M predictors.
residuals
Type: FinMath.LinearAlgebraVector
Computed deviance residuals for the observation in each row.

Return Value

Type: 
Computed deviance residuals for each observation.
See Also