family
object, with its component functions suitably modified
to perform a robust version of the
glm
or
gam
fit.
robust(family = gaussian, scale=0, k=1.345, maxit=10)
gaussian
,
binomial
,
poisson
, etc.
1
and the fit of the first
glm
or
gam
iteration.
family
object, with its component functions suitably modified to perform a robust version of the
glm
or
gam
fit.
Provides a method not greatly affected by outliers. Gives a good fit to the bulk of the data.
# Fit a linear model robustly glm(formula, family=robust) # Fit a generalized additive model robustly gam(formula, family=robust(binomial))