statsmodels.robust.norms.StudentT.weights#

StudentT.weights(z)[source]#

The weighting function for the IRLS algorithm of the StudentT norm

The psi function scaled by the input z

Parameters:
zarray_like

1d array

Returns:
weightsndarray

weights(z) = df / (df + (z / c)**2)