Re: [R] Robust standard errors in logistic regression

From: Achim Zeileis <Achim.Zeileis_at_wu-wien.ac.at>
Date: Wed 05 Jul 2006 - 02:54:17 EST

On Tue, 4 Jul 2006 13:14:24 -0300 Celso Barros wrote:

> I am trying to get robust standard errors in a logistic regression.
> Is there any way to do it, either in car or in MASS?

Package sandwich offers various types of sandwich estimators that can also be applied to objects of class "glm", in particular sandwich() which computes the standard Eicker-Huber-White estimate.

These robust covariance matrices can be plugged into various inference functions such as linear.hypothesis() in car, or coeftest() and waldtest() in lmtest.

See the man pages and package vignettes for examples. Z

> Thanks for the help,
>
> Celso
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!
> http://www.R-project.org/posting-guide.html
>



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Wed Jul 05 03:10:22 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Wed 05 Jul 2006 - 18:16:39 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.