linearmodels.iv.absorbing.AbsorbingLS.wresids

AbsorbingLS.wresids(params)[source]

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