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:
- weights
ndarray weights(z) = df / (df + (z / c)**2)
- weights