LeastSquares.
weights
The least squares estimator weighting function for the IRLS algorithm.
The psi function scaled by the input z
z : array-like
1d array
weights : array
weights(z) = np.ones(z.shape)
statsmodels.robust.norms.LeastSquares.rho
statsmodels.robust.norms.RamsayE