Name: Towards AI Legal Name: Towards AI, Inc. Description: Towards AI is the world's leading artificial intelligence (AI) and technology publication. Read by thought-leaders and decision-makers around the world. Phone Number: +1-650-246-9381 Email: [email protected]
228 Park Avenue South New York, NY 10003 United States
Website: Publisher: https://towardsai.net/#publisher Diversity Policy: https://towardsai.net/about Ethics Policy: https://towardsai.net/about Masthead: https://towardsai.net/about
Name: Towards AI Legal Name: Towards AI, Inc. Description: Towards AI is the world's leading artificial intelligence (AI) and technology publication. Founders: Roberto Iriondo, , Job Title: Co-founder and Advisor Works for: Towards AI, Inc. Follow Roberto: X, LinkedIn, GitHub, Google Scholar, Towards AI Profile, Medium, ML@CMU, FreeCodeCamp, Crunchbase, Bloomberg, Roberto Iriondo, Generative AI Lab, Generative AI Lab Denis Piffaretti, Job Title: Co-founder Works for: Towards AI, Inc. Louie Peters, Job Title: Co-founder Works for: Towards AI, Inc. Louis-François Bouchard, Job Title: Co-founder Works for: Towards AI, Inc. Cover:
Towards AI Cover
Logo:
Towards AI Logo
Areas Served: Worldwide Alternate Name: Towards AI, Inc. Alternate Name: Towards AI Co. Alternate Name: towards ai Alternate Name: towardsai Alternate Name: towards.ai Alternate Name: tai Alternate Name: toward ai Alternate Name: toward.ai Alternate Name: Towards AI, Inc. Alternate Name: towardsai.net Alternate Name: pub.towardsai.net
5 stars – based on 497 reviews

Frequently Used, Contextual References

TODO: Remember to copy unique IDs whenever it needs used. i.e., URL: 304b2e42315e

Resources

Take our 85+ lesson From Beginner to Advanced LLM Developer Certification: From choosing a project to deploying a working product this is the most comprehensive and practical LLM course out there!

Publication

Odds Ratio Does What Risk Ratio Fails to Do — an Intuitive Example
Statistics

Odds Ratio Does What Risk Ratio Fails to Do — an Intuitive Example

Last Updated on December 4, 2020 by Editorial Team

Author(s): Atul Sharma

Statistics

Odds Ratio Does What Risk Ratio Fails to Do — an Intuitive Example

Understand the concept from scratch

Photo by Sydney Sims on Unsplash

Let’s begin by dropping the ultimate takeaway of this blog:

“The odds ratio is a consistent measure for both the Population & Sample statistics (Case Control studies with significant effect) where the Risk ratio shows inconsistency”

Now the question that comes to our mind is — Why is that?

I will prove this using a relatable example so that we can build an intuitive sense around it as well. But before jumping to the example, let’s see how Risk & Odds behave:

(Image by author)

Notice how Odds reach closer & closer in terms of difference to the risk measure as it gets lower. It is because of this reason Odds & Risk are interpreted similarly in the cases where the event rate(Positive here) is relatively low. In cases where the event rate is relatively high(above 0.3 or 30%), there is a significant difference in both measures.

But the point we are trying to understand here is why the odds ratio stays consistent in Case-control studies, whereas the risk ratio becomes inconsistent. Time to explain this with the help of an example — The scenario we are considering is related to the sensitive issue of depression and its dominance in Corporates:

(Image by author)

The visual you see above is the representation of the population; however, for control case studies, only samples are taken from both the affected population as well as the unaffected population. Let’s first calculate the Risk(Corporate), Risk(Non-Corporate), Odds(Corporate), Odds(Non-Corporate), Risk Ratio, and Odds ratio taking approximate figures of the population just for the sake of understanding the concepts:

(Image by author)

Risk(Corporate) = 0.8/2 = 0.40

Risk(Non-Corporate) = 2/6 = 0.33

Odds(Corporate) = 0.8/1.2 = 0.67

Odds(Non-Corporate) = 2/4 = 0.50

Risk Ratio = 0.40/0.33 = 1.21

Odds ratio = 0.67/0.50 = 1.34

You will agree that the Risk ratio measure(also known as ‘Relative risk’) is more intuitive than the Odds ratio because it conveys that a person working in corporate has 1.21 times more risk of having depression than a non-corporate one. Making intuitive sense out of the Odds ratio is not easy, but it is a consistent measure when it comes to Case-control studies(sample statistics). Let’s see how:

(Image by author)

From both the Depression(X+Z) & Depression-free population(Y+N), 1000 samples each are taken to conduct the Case-control study. The values look like this:

(Image by author)

Now we shall observe the inconsistency in the Risk ratio that we have been talking about since the start of this blog, and the sole reason for that is the under-representation of the Depression-free population in the Case-control study.

Risk(Corporate) = 285/515 = 0.55

Risk(Non-Corporate) = 715/1485 = 0.48

Odds(Corporate) = 285/230 = 1.23

Odds(Non-Corporate) = 715/770 = 0.92

Risk Ratio = 0.55/0.48 = 1.14

Odds ratio = 1.23/0.92 = 1.34

Appreciate how the Risk Ratio has changed in the Case-control study, but the Odds ratio remained the same(consistent). To find out why the Odds ratio stays consistent, let us look at its formula:

Odds ratio = (x/y)/(z/n)

A little rearrangement in the formula totally takes care of the issue of under-representation:

Odds ratio = (x/z)/(y/n)

Now the numerator reflects the split of values (Corporate & Non-corporate) in the Depression set, and the denominator reflects the split of values (Corporate & Non-corporate) in the Depression-free set, thereby computing the same value in the Case-control study as in the whole Population study.

It is because of this reason. The Odds ratio measure is preferred over the Risk ratio to make an estimate with confidence intervals in Case-control studies.

Conclusion:

When the event rate is relatively low, and there is not much significant effect between categories, only then the Risk ratio & the odds ratio behave in a similar manner. Moreover, Risk involves the process of a forward-looking scenario, i.e., After a subject is exposed to something, the likeliness of him/her developing the outcome is computed, whereas, for the odds measure, it is the opposite, i.e., Subject who has already developed an outcome, the odds of him/her being exposed to something in the past is the area of interest. I hope I am able to establish the difference/distinction between the Risk ratio and the Odds ratio with a relevant example. Make sure to visit my profile for similar intuitive and simplified blogs. Many more to come….

Thanks!!!


Odds Ratio Does What Risk Ratio Fails to Do — an Intuitive Example was originally published in Towards AI on Medium, where people are continuing the conversation by highlighting and responding to this story.

Published via Towards AI

Feedback ↓