Re: [R] OR estimate

2008-01-27 Thread David Winsemius
"sigalit mangut-leiba" <[EMAIL PROTECTED]> wrote in news:[EMAIL PROTECTED]: > Hello, > I have a loop with 1000 repetitions which includes OR computation of > an exposure factor and outcome. > I compute OR like this: > > t<-table(exposure,outcome) > > oddsratio(t)$measure["estimate"] > > This g

[R] OR estimate

2008-01-27 Thread sigalit mangut-leiba
Hello, I have a loop with 1000 repetitions which includes OR computation of an exposure factor and outcome. I compute OR like this: t<-table(exposure,outcome) oddsratio(t)$measure["estimate"] This gives me the estimates for exposure=0 and exposure=1 but exposure=0 is the reference group and i ne