statsmodels.robust.norms.AndrewWave.rho¶
-
AndrewWave.
rho
(z)[source]¶ The robust criterion function for Andrew’s wave.
- Parameters
- zarray_like
1d array
- Returns
- rho
ndarray
rho(z) = a*(1-cos(z/a)) for |z| <= a*pi
rho(z) = 2*a for |z| > a*pi
- rho
AndrewWave.
rho
(z)[source]¶The robust criterion function for Andrew’s wave.
1d array
ndarray
rho(z) = a*(1-cos(z/a)) for |z| <= a*pi
rho(z) = 2*a for |z| > a*pi