linearmodels.iv.model.IVGMMCUE.wresids

IVGMMCUE.wresids(params)

Compute weighted model residuals

Parameters:
paramsndarray

Model parameters (nvar by 1)

Returns:
ndarray

Weighted model residuals

Notes

Uses weighted versions of data instead of raw data. Identical to resids if all weights are unity.

Return type:

ndarray