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:
- rho
ndarray The value of the robust criterion function.
- rho