statsmodels.robust.norms.LeastSquares.rho

LeastSquares.rho(z)[source]

The least squares estimator rho function

Parameters:

z : array

1d array

Returns:

rho : array

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