Re: [R] Coefficients, OR and 95% CL

2008-09-23 Thread Frank E Harrell Jr
Eik Vettorazzi wrote: l.mod<-glm(menarche~age,binomial) you will get odds-ratios by exponentiating the coefficients of this model, so exp(coef(l.mod)) will do this job. You may notice that this will produce an "OR" for the intercept part as well - which is not interpretable. For the confide

Re: [R] Coefficients, OR and 95% CL

2008-09-23 Thread Eik Vettorazzi
l.mod<-glm(menarche~age,binomial) you will get odds-ratios by exponentiating the coefficients of this model, so exp(coef(l.mod)) will do this job. You may notice that this will produce an "OR" for the intercept part as well - which is not interpretable. For the confidence intervals for this

Re: [R] Coefficients, OR and 95% CL

2008-09-23 Thread Nutter, Benjamin
You might also consider ?confint -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jorge Ivan Velez Sent: Monday, September 22, 2008 5:36 PM To: Luciano La Sala Cc: R mailing list Subject: Re: [R] Coefficients, OR and 95% CL Dear Luciano, See

Re: [R] Coefficients, OR and 95% CL

2008-09-22 Thread Jorge Ivan Velez
Dear Luciano, See ?logistic.display in the epicalc package. If glm1 is your model, something like logistic.display(glm1) should do the job. HTH, Jorge On Mon, Sep 22, 2008 at 5:28 PM, Luciano La Sala <[EMAIL PROTECTED]>wrote: > Dear R-users, > > After running a logistic regression, I need

[R] Coefficients, OR and 95% CL

2008-09-22 Thread Luciano La Sala
Dear R-users, After running a logistic regression, I need to calculate OR by exponentiating the coefficient, and then I need the 95% CL for the OR as well. For the following example (taken from P. Dalaagard's book), what would be the most straightforward method of getting what I need? Could any