statsmodels.robust.norms.LeastSquares.rho

LeastSquares.rho(z)[source]

The least squares estimator rho function

Parameters:
zndarray

1d array

Returns:
rhondarray

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