statsmodels.robust.norms.LeastSquares.rho#

LeastSquares.rho(z)[source]#

The robust criterion function for the least squares estimator

\[\rho(z) = \frac{1}{2} z^2\]
Parameters:
zarray_like

1d array

Returns:
rhondarray

The value of the robust criterion function.