statsmodels.robust.norms.HuberT.psi_deriv#
- HuberT.psi_deriv(z)[source]#
Derivative of the Huber T psi function.
- Parameters:
- zarray_like
Input residual values.
- Returns:
ndarrayThe value of the derivative of the psi function. Indicator values equal to 1 when
|z| <= tand 0 otherwise.
Notes
Used when computing the robust covariance matrix in robust linear models.