statsmodels.robust.norms.LeastSquares.rho

method

LeastSquares.rho(z)[source]

The least squares estimator rho function

Parameters
zarray

1d array

Returns
rhoarray

rho(z) = (1/2.)*z**2