Calculate Odds Ratio Stata. An odds ratio of 10 or close to 10. You can enter a single value such as 15 or a series of values such as 15 2 25 or 05 to 09 by 01.
The event is a 0 or 1 event. The command is cci 2 For a case-control study design stata will report the estimated odds ratio the OR. Currently we are trying to calculate the prevalence ratio.
In logistic regression the odds ratios for a dummy variable is the factor of the odds that Y1 within that category of X compared to the odds that Y1 within the reference category.
The odds for group 1 is calculated by dividing 3 by 1 3 and the odds ratio which is the ratio of the odds for group 2 divided by the odds for group 1 is 667 divided by 429 or 1556. Log Odds Ratio logθ θ 36 Logθ 36 θ 05 Logθ -07 θ 2 Logθ 07 θ 1 Logθ 0 Odd Ratio Log Odds Ratio. Discover how to calculate odds ratios for case-control data. The odds for group 1 is calculated by dividing 3 by 1 3 and the odds ratio which is the ratio of the odds for group 2 divided by the odds for group 1 is 667 divided by 429 or 1556.
