TrimmedMean.
psi
The psi function for least trimmed mean
The analytic derivative of rho
z : array-like
1d array
psi : array
psi(z) = z for |z| <= c psi(z) = 0 for |z| > c
psi(z) = z for |z| <= c
psi(z) = 0 for |z| > c
statsmodels.robust.norms.TrimmedMean.psi_deriv