Cristian Pattaro asked:
> is there a automatic method to obtain Odds Ratio estimates and their
> confidence intervals from a GLM Logistic model?

something like:

 oddsr<-function(x) {
   require(MASS)
   round(exp(cbind(Odds.Ratio=coef(x), confint(x))),3)
 }
 oddsr(glm(y ~ x, family=binomial))

David Duffy.

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to