statsmodels.robust.norms.TrimmedMean.rho¶
- TrimmedMean.rho(z)[source]¶
The robust criterion function for least trimmed mean.
- Parameters:
- zarray_like
1d array
- Returns:
- rho
ndarray
rho(z) = (1/2.)*z**2 for |z| <= c
rho(z) = 0 for |z| > c
- rho
The robust criterion function for least trimmed mean.
1d array
ndarray
rho(z) = (1/2.)*z**2 for |z| <= c
rho(z) = 0 for |z| > c