glmRob
which is a Robust Generalized Linear Model fit.glmRob(formula, family = binomial(), data, weights, subset,
na.action, method = "cubif", model = TRUE, x = FALSE, y = TRUE,
control = glmRob.control, contrasts = NULL, ...)
lm
and formula
for details.binomial
and poisson
are implemented. See the documentation of glm
for details.NULL
or a numeric vector.model.frame
after any subset
argument has been used. The default (na.fail
) is to create an error if any missing values are found. A possible alternative is method = "cubif"
for the conditionally unbiased bounded influence estimator, method = "mallows"
for Mallow's leverage downweighting estimator, and method = "
TRUE
then the model frame is returned.TRUE
then the model matrix is returned.TRUE
then the response variable is returned.glmRob.cubif.control
for their names and default values. These can also be set as arguments of glmRob
itself.glmRob
containing the robust generalized linear model fit. See glmRob.object
for details.Kunsch, L., Stefanski L. and Carroll, R. (1989). Conditionally Unbiased Bounded-Influence Estimation in General Regression Models, with Applications to Generalized Linear Models. JASA 50, 460-466.
Carroll, R. J. and Pederson, S. (1993). On Robustness in the Logistic Regression Model. JRSS 55, 693-706.
Marazzi, A. (1993). Algorithms, routines and S functions for robust statistics. Wadsworth & Brooks/Cole, Pacific Grove, CA.
glmRob.control
,
glmRob.object
,
glmRob.cubif.control
,
glmRob.mallows.control
,
glmRob.misclass.control
,
glm
.data(breslow.dat)
glmRob(sumY ~ Age10 + Base4*Trt, family = poisson(), data = breslow.dat, method = "cubif")
Run the code above in your browser using DataLab