statsmodels.robust.norms.LeastSquares.weights# LeastSquares.weights(z)[source]# The least squares estimator weighting function for the IRLS algorithm The psi function scaled by the input z. Parameters: znumpy:array_like1d array Returns: weightsndarrayThe value of the weighting function. \[w(z) = 1\]