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

Unlock the full potential of AI with Building LLMs for Productionβ€”our 470+ page guide to mastering LLMs with practical projects and expert insights!

Publication

Are you Confused with Correlation and Causation?
Latest

Are you Confused with Correlation and Causation?

Last Updated on May 11, 2021 by Editorial Team

Author(s): Juhi Sharma

Data Science

Difference between Correlation and Causation

Photo by Chris Liverani onΒ Unsplash

What is a β€œCo-relation”?

β€œCo-relation” is simply a relationship. If there is a correlation between two variables, we can observe a pattern betweenΒ them.

  1. Positive Correlation: When X increases, Y also increases or vice-versa

2. Negative Correlation: When X increases, Y also Decreases or vice-versa

3. No Correlation: When we can’t see any clear pattern between 2 variables.

Source: https://www.investopedia.com/

Correlation is a Numerical value that tells about the strength of the relationship between the 2 things/Variables.

The correlation coefficient lies between -1 to1. Value of coefficient tells about the relationship Strength and sign tells about the how the variables are correlated. ( Positive sign tells that 2 variables are directly correlated and the negative sign tells that 2 variables are inversely correlated)

Example: Below in the image, we can see that there is a positive correlation between total bill and tipΒ paid.

Source: ByΒ Author

What is causation?

Causation tells about the cause and effect relationship between 2 things. This means that a change in the value of one leads to a change in the value ofΒ another.

Source: https://scalar.usc.edu/

Example:

Exercise Caused Burning of calories.

Gravity causes objects to fall downwards.

Correlation doesn’t imply causation

If two things are correlated, doesn’t mean that one thing causesΒ another.

example: Going to Hospital is positively correlated with the number of deaths. It doesn’t mean that going to the hospital doesn’t cause you toΒ die.

Let's take oneΒ example

Smoking causes lungΒ cancer

People who do not smoke as the same chances of getting lung cancer as compared to the people who don’t?Β NO

Are any other reasons for Lung Cancer?Β YES

Here we can say that Smoking Contributes to Lung Cancer but it is not the only cause of Lung Cancer. There can be other causes like Pollution.

Before youΒ go

Thanks for reading! If you want to get in touch with me, feel free to reach me at [email protected] or my LinkedInΒ Profile.


Are you Confused with Correlation and Causation? 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 ↓