linearmodels.iv.absorbing.AbsorbingLS.wresids

AbsorbingLS.wresids(params: ndarray[Any, dtype[float64]]) ndarray[Any, dtype[float64]][source]

Compute weighted model residuals

Parameters:
params: ndarray[Any, dtype[float64]]

Model parameters (nvar by 1)

Returns:

Weighted model residuals

Return type:

numpy.ndarray

Notes

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