TukeyBiweight.
psi
The psi function for Tukey’s biweight estimator
The analytic derivative of rho
z : array-like
1d array
psi : array
psi(z) = z*(1 - (z/c)**2)**2 for |z| <= R psi(z) = 0 for |z| > R
psi(z) = z*(1 - (z/c)**2)**2 for |z| <= R
psi(z) = 0 for |z| > R
statsmodels.robust.norms.TukeyBiweight.psi_deriv