### Navigation

- index
- modules |
- next |
- previous |
- statsmodels v0.2.0 documentation »
- Robust Linear Models »
- scikits.statsmodels.robust.norms.TukeyBiweight »

# scikits.statsmodels.robust.norms.TukeyBiweight.weights

`TukeyBiweight.``weights`(z)

  Tukey’s biweight weighting function for the IRLS algorithm

  The psi function scaled by z

  Parameters: | z : array-like 1d array
  Returns: | array : psi(z) = (1 - (z/c)**2)**2 for |z| <= R psi(z) = 0 for |z| > R

### Navigation

- index
- modules |
- next |
- previous |
- statsmodels v0.2.0 documentation »
- Robust Linear Models »
- scikits.statsmodels.robust.norms.TukeyBiweight »