statsmodels.robust.norms.LeastSquares.rho#

LeastSquares.rho(z)[source]#

The robust criterion function for the least squares estimator

Parameters:
zarray_like

1d array

Returns:
rhondarray

The value of the robust criterion function.

\[\rho(z) = \frac{z^2}{2}\]