statsmodels.robust.norms.LeastSquares.rho

LeastSquares.rho(z)[source]

The least squares estimator rho function

Parameters:z (array) – 1d array
Returns:rho – rho(z) = (1/2.)*z**2
Return type:array