[R] glm binomial logit

Thomas Lumley tlumley at u.washington.edu
Wed Jun 17 16:53:59 CEST 2009


You don't say why you think that computing these other statistics is responsible 
for the run time.

If you just want to fit logistic regressions faster, glm.fit() is likely to be helpful.

         -thomas

On Wed, 17 Jun 2009 jagat at cmi.ac.in wrote:

> Hi All,
>
> I am using "glm" function to build logistic regression. I noticed that glm
> function glm function is computing many other statistics which are not
> required for our analysis. As our dataset is very big and we have to run
> logistic regression on several samples the run time drastically increases
> if all those statistics are computed. Is these any way to skip computation
> in glm function? I am just a beginner of R and hence I am not able to
> modify the glm function.
> Can anybody give me an alternative way to fit logistic regression which
> computes only the estimates(coefficients) of variables.
>
> Waiting for your favourable response.
>
> Regards,
> Jagat
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-
guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

Thomas Lumley			Assoc. Professor, Biostatistics
tlumley at u.washington.edu	University of Washington, Seattle




More information about the R-help mailing list