Utah Valley Global Health Group

A blog about global health for those living in Utah Valley and their friends.

What is an Odds Ratio?

Posted by ryanlindsay on June 3, 2008

Reliable data and correct interpretations thereof will help move global health interventions in the right direction. Interventions need to be evidence-based. Hunches, gut feelings, premonitions, and even guesses about health issues need to be proven before we make incorrect conclusions resulting in wasted time, effort and money on techniques that are not scientifically sound. Odds ratios are a surprisingly simple, yet powerful way to show statistical associations in health.

I have tried to share in simple words, how to calculate and use odds ratio. This is a stab at something I just learned about as a first year MPH student, and not something I profess to be an expert at. This post is undeniably more practical than entertaining…

2×2 contingency tables are helpful in organizing binary (a.k.a categorical, nominal, or “yes or no”) data so that statistical associations like chi-square tests and odds ratios can be calculated.

Contingency tables have exposures for the rows and outcomes (usually disease conditions) for the columns.

Source: Principles of Epidemiology by Ray Merrill and Thomas Timmreck.

A basic and hypothetical situation in global health might be to find out if the village well is the source of a cholera outbreak throughout a village. The first row would represent those exposed (those who didn’t drink the water) and the second row would be those unexposed (those who didn’t drink the well water). The first column would be those that had a disease outcome (in this case cholera). The second column would be those that didn’t have a disease outcome (no cholera).

This is visually summed up in the following table:

For our hypothetical example the numbers might be:

or

Now we can calculate and odds ratio. Calculating an odds ratio is simply multiplying box A by box D and then dividing by box B times box C.

For our example:

Odds ratio’s measure association between exposures (i.e. well water) and outcomes (i.e. cholera). Since odds ratio is the odds of disease among exposed individuals divided by the odds of disease among unexposed individuals, odds ratios allow us to speak about probability.

Odd ratio’s are commonly reported in peer-reviewed journals, so it is important that we know how to calculate and interpret them. An odds ratio of 1 equals no association between exposure and outcome. Odds ratios measure the direction of an association, be it positive, negative or no association. In our example, our calculation yielded on odds ratio of 2.84. This can be interpreted as “there is a positive relationship between drinking the well water and contracting cholera.” In different terms, you can say that drinking well water acts as a significant risk to getting cholera.

Odds ratios can be strengthened in measuring association through calculation of 95% confidence intervals (CI). Intervals that do not contain 1 indicate association. Without including the equation in this post, here is the CI for our well-cholera example 1.59 to 5.09. With this confidence interval we can say that we are 95% confident that the true odds ratio is between 1.59 and 5.09. This would indicate that there is a positive statistical association between drinking well water and getting cholera (because the interval doesn’t overlap 1). There is a site that allows you to calculate odds ratios and odds ratio confidence intervals online. You can also read more about odds ratios here. Chi-square tests are very important as well and as soon as I figure out how to post googledocs, I can share a spreadsheet that makes calculating chi-square values and corresponding p-values easy.

To further suggest examples of when odds ratios would be helpful in global health to measure statistical association, one could look at the relationship between the following topics (taken from the blog):

  1. How effective vaccination is against measles
  2. Gatorade and recovery from diarrhea
  3. Efficacy of male circumcision as a protection from HIV/AIDS

39 Responses to “What is an Odds Ratio?”

  1. Kirk Dearden said

    Great post on odds ratios, Ryan. I find them very helpful in international health and use them all the time. If you didn’t mention it in the body of your post, readers should know odds ratios are for cross-sectional case/control studies (data collected at one point in time). Relative risks are the appropriate measure for longitudinal data. Folks interested in odds ratios and other epidemiological measures (and how to calculate them) may also want to look at a recent book by Lisa Sullivan: Essentials of Biostatistics in Public Health. You can find it on Amazon: http://www.amazon.com/Essentials-Biostatistics-Public-Health-Sullivan/dp/0763756202/ref=sr_1_1?ie=UTF8&s=books&qid=1212529248&sr=8-1.

  2. chads said

    Timely post for me, Ryan. Thanks. I’ll be taking biostatistics this fall. I’ve always had a tough time clearly articulating the difference between OR and RR. Any thoughts?

  3. Joseph A Banken said

    Very nice post Ryan. You conciseness, clarity and parsimony is much appreciated. I look forward to additional reading from you.

  4. swarna venugopal said

    hey ryan.. thank you sooo much for the explanation on odds ratio. i’m having my thesis exam tomorrow and after reading your write-out i have a much clearer picture of what i am doing with my data.. thanks again buddy!!

  5. Kelvin said

    Very clear explanation! However, how can I use this method in SPSS? Can you show the step for me with the above example? Thanks

  6. Hanem said

    Thank you for great effort for simplifying the concepts for us
    could you please let me know how can I calculate the confecence interval and how can I enter such data to excel or SPSS, I am facing a problem as i enter the data to spss, I know how do the test in spss as it is explained in a book but I it did not explained how to enter the data of yes know question
    best wishes
    Hanem

  7. Mark said

    This is extremely helpful! Thank you for such a great walk-through.

  8. archana said

    hey….thanks a lot for making this so simple…..i am havin my stat exam tomorrow…thank u again

  9. Nyaaba said

    I have my end of semester next week and this has helped me understand the concept of odds ratio

  10. lin said

    Hi all,

    is odd ratio the same as incidence?

    Thank you

  11. Ryan said

    No, odds ratios are different then incidence. This site has a good equation for calculating incidence.

    http://www.hcoa.org/hcoacme/chf-cme/chf00014.htm

  12. delores said

    Thanks for the explanation and I think I got it. However, in your example the total is 522, shouldn’t the total = 261

    Please reply – I want to truly make sure I have this…

  13. Ryan said

    Delores, you are absolutely right, good job. The total should be 261 not 522.

  14. Dental uniforms…

    What is an Odds Ratio? « Utah Valley Global Health Group…

  15. Trend News said

    Trend News…

    […]What is an Odds Ratio? « Utah Valley Global Health Group[…]…

  16. john said

    john…

    […]What is an Odds Ratio? « Utah Valley Global Health Group[…]…

  17. Med Alert Necklace…

    […]What is an Odds Ratio? « Utah Valley Global Health Group[…]…

  18. vandana said

    very simply and clearly explained ……….thank you

  19. fadhil said

    Thank about this subject and I now write about dependent categorical data and I need to use odds ratio
    Dr. Fadhil Abidy
    Iraq

  20. Mondal said

    How can I calculate lower and upper limits of OR (95% CI) from the coefficient of binary logistic regression model?

  21. Ella said

    Very well explained. Thanks Ryan.

  22. Ella said

    hey folks, I will be starting my MSc. dissertation in few months from now. Am just a little bit confused about what topic to choose and write on. i will be glad if any one could send me suggested topic(s)

  23. Kim said

    Ryan, this is very helpful. However, I think you were correct the first time. The total should be 261 not 522. Each person is in one of the 4 cells, so that adds up to 261.

  24. Syeda Aleena Fazal said

    the description you gave is really helpful. Thanks

  25. Bonuses said

    I have acquired some new issues from your site about desktops.
    Another thing I’ve always considered is that laptop computers have become an item that each house must have for many people reasons. They supply you with convenient ways in which to organize households, pay bills, shop, study, focus on music and in many cases watch tv shows. An innovative approach to complete these tasks is with a computer. These personal computers are mobile, small, robust and mobile.

  26. Janina said

    I discovered your “What is an Odds Ratio? Utah Valley Global Health Group” page and noticed you could have a lot more traffic. I have found that the key to running a website is making sure the visitors you are getting are interested in your subject matter. There is a company that you can get traffic from and they let you try it for free. I managed to get over 300 targetted visitors to day to my website. Check it out here: http://voxseo.com/traffic/

  27. Tour companies, companies hiring out yachts &
    cruise companies have websites which give details on their
    offers. There are two differences in these two types
    of boats. Its interiors is modern and luxurious, and comprises of 4
    guest cabins in addition to accommodating up to 3 cabin crew.

  28. So my solar panels are working really well, he said,” Asia offered tremendous growth and investment in photovoltaic animation energy production equipment more than doubled to euro29.

  29. This is really fascinating, You’re an overly skilled blogger. I have joined your feed and look ahead to searching for extra of your magnificent post. Additionally, I’ve shared your site in my social networks

  30. Very nice post. I simply stumbled upon your weblog and wished to say that I have really enjoyed
    browsing your blog posts. In any case I’ll be subscribing for your feed and I’m hoping you write
    once more very soon!

  31. Letha said

    Hmm is anyone else experiencing problems with the images on this blog loading?
    I’m trying to figure out if its a problem on my end or if it’s the blog.
    Any feedback would be greatly appreciated.

  32. Great post. I was checking continuously this blog and I am impressed!
    Very useful info specifically the last part 🙂
    I care for such information a lot. I was seeking this
    certain information for a very long time.
    Thank you and best of luck.

  33. Hi, I would like to subscribe for this web site to obtain most recent updates, thus
    where can i do it please help out.

  34. Jayme said

    Thanks for the marvelous posting! I seriously enjoyed reading it,
    you happen to be a great author.I will be sure to bookmark
    your blog and will often come back sometime soon. I want to encourage one to continue your
    great posts, have a nice morning!

  35. Kara said

    An impressive share! I have just forwarded this onto a friend who was conducting a little research on this.

    And he in fact bought me dinner due to the fact
    that I found it for him… lol. So allow me to reword this….
    Thank YOU for the meal!! But yeah, thanks for spending time to discuss this
    matter here on your site.

  36. Elouise said

    Hey there jst wanted to give you a quick heads up.

    The text in your article seem to be running off the screen in Safari.
    I’m not sure if this is a format issue or something to do with web browser compatibility but
    I figured I’d post to leet you know. The layout look great though!

    Hope you get the issue solved soon. Kudos

  37. Amena said

    what if i have the data like

    Types AA Ab bb
    control 21 14 1
    test 19 10 8

    how can i calculate its allele frequency, odd ratio and from odd ratio its confidence interval?

  38. Azeb said

    How can I get CI given odds ratio?Thank you

  39. Tory said

    Hi there i am kavin, its my first time to commenting anywhere, when i
    read this piece of writing i thought i could also make comment
    due to this brilliant article.

Leave a reply to Ella Cancel reply