statsmodels.robust.norms.AndrewWave.psi

method

AndrewWave.psi(z)[source]

The psi function for Andrew’s wave

The analytic derivative of rho

Parameters
zarray-like

1d array

Returns
psiarray

psi(z) = sin(z/a) for |z| <= a*pi

psi(z) = 0 for |z| > a*pi