TukeyBiweight.
weights
Tukey’s biweight weighting function for the IRLS algorithm
The psi function scaled by z
z : array-like
1d array
weights : array
psi(z) = (1 - (z/c)**2)**2 for |z| <= R psi(z) = 0 for |z| > R
psi(z) = (1 - (z/c)**2)**2 for |z| <= R
psi(z) = 0 for |z| > R
statsmodels.robust.norms.TukeyBiweight.rho
statsmodels.robust.norms.estimate_location