Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
+4 votes
2 views
in Data Science by (47.6k points)

In terms of data, what is the difference between correlation and covariance?

1 Answer

+8 votes
by (106k points)

Both Correlation and Covariance are used as a measure to check how two variables change with respect to each other.

Covariance: It measures of change of how to variables change with respect to each other.

  1. Covariance is unit dependent.
  2. It varies from - infinity to infinity

An example of Covariance is: Height vs weight(kg) and Height vs weight(lbs) will have different covariance values

Correlation: It measures a unit of change between two variables which changes with respect to each other.

  1. It does not depend on the unit.
  2. It varies from -1 to 1.

An example of Correlation is: Height vs weight(kg) and Height vs weight(lbs) will have the same correlation values.

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...