update_wt function

Compute weight value

Compute weight value

update_wt(y, ypre, weights, cfun, s, dfun, delta=0.0001)

Arguments

  • y: input value of response variable
  • ypre: predicted value of response variable
  • weights: optional numeric vector of weights.
  • cfun: integer from 1-8, concave function as in irglm_fit
  • dfun: integer value, convex function as in irglm_fit
  • s: a numeric value, see details in irglm_fit
  • delta: a positive small value, see details in irglm_fit

Returns

Weight value

See Also

compute_wt

References

Zhu Wang (2024) Unified Robust Estimation, Australian & New Zealand Journal of Statistics. 66(1):77-102.

Author(s)

Zhu Wang zwang145@uthsc.edu

  • Maintainer: Zhu Wang
  • License: GPL-2
  • Last published: 2024-06-27