statsmodels.robust.norms.RobustNorm.weights#

RobustNorm.weights(z)[source]#

Return the value of psi(z) / z

Abstract method:

psi(z) / z

Parameters:
zarray_like

1d array

Returns:
ndarray

The value of the weighting function.