statsmodels.robust.norms.AndrewWave.rho

AndrewWave.rho(z)[source]

The robust criterion function for Andrew’s wave.

Parameters:
zarray_like

1d array

Returns:
rhondarray

The elements of rho are defined as:

rho(z)=a2(1cos(z/a)),|z|aπrho(z)=2a2,|z|>aπ