Dear List
I have a quick question.
I have two groups 0 and 1 and want to calculate the odds ratio with CI for a given event.
The event is a 0 or 1 event.
When i manually calculate the Odds Ratio it is about 1.96. In stata i use the logistic command:
.logistic event group
and now i get an odds ratio of 2.41
1) is there a way to get stata to calculate the odds ratio using a 2 by 2 table (ad/bc) with CI.
2) i'm guessing the odds ratios are different because the latter is a logistic regression model. I have not tester for GOF.
thank you
I have a quick question.
I have two groups 0 and 1 and want to calculate the odds ratio with CI for a given event.
The event is a 0 or 1 event.
When i manually calculate the Odds Ratio it is about 1.96. In stata i use the logistic command:
.logistic event group
and now i get an odds ratio of 2.41
1) is there a way to get stata to calculate the odds ratio using a 2 by 2 table (ad/bc) with CI.
2) i'm guessing the odds ratios are different because the latter is a logistic regression model. I have not tester for GOF.
thank you
Comment