Covariance and Correlation are two mathematical concepts which are quite commonly used in business statistics. Both of these two determine the relationship and measures the dependency between two random variables. Despite, some similarities between these two mathematical terms, they are different from each other. Correlation is when the change in one item may result in the change in another item.
Correlation is considered as the best tool for for measuring and expressing the quantitative relationship between two variables in formula. On the other hand, covariance is when two items vary together. Read the given article to know the differences between covariance and correlation.
Content: Covariance Vs Correlation
|Basis for Comparison||Covariance||Correlation|
|Meaning||Covariance is a measure indicating the extent to which two random variables change in tandem.||Correlation is a statistical measure that indicates how strongly two variables are related.|
|What is it?||Measure of correlation||Scaled version of covariance|
|Values||Lie between -∞ and +∞||Lie between -1 and +1|
|Change in scale||Affects covariance||Does not affects correlation|
|Unit free measure||No||Yes|
Definition of Covariance
Covariance is a statistical term, defined as a systematic relationship between a pair of random variables wherein a change in one variable reciprocated by an equivalent change in another variable.
Covariance can take any value between -∞ to +∞, wherein the negative value is an indicator of negative relationship whereas a positive value represents the positive relationship. Further, it ascertains the linear relationship between variables. Therefore, when the value is zero, it indicates no relationship. In addition to this, when all the observations of the either variable are same, the covariance will be zero.
In Covariance, when we change the unit of observation on any or both the two variables, then there is no change in the strength of the relationship between two variables but the value of covariance is changed.
Definition of Correlation
Correlation is described as a measure in statistics, which determines the degree to which two or more random variables move in tandem. During the study of two variables, if it has been observed that the movement in one variable, is reciprocated by an equivalent movement another variable, in some way or the other, then the variables are said to be correlated.
Correlation is of two types, i.e. positive correlation or negative correlation. The variables are said to be positively or directly correlated when the two variables move in the same direction. On the contrary, when the two variables move in opposite direction, the correlation is negative or inverse.
The value of correlation lies between -1 to +1, wherein values close to +1 represents strong positive correlation and values close to -1 is an indicator of strong negative correlation. There are four measures of correlation:
- Scatter diagram
- Product-moment correlation coefficient
- Rank correlation coefficient
- Coefficient of concurrent deviations
Key Differences Between Covariance and Correlation
The following points are noteworthy so far as the difference between covariance and correlation is concerned:
- A measure used to indicate the extent to which two random variables change in tandem is known as covariance. A measure used to represent how strongly two random variables are related known as correlation.
- Covariance is nothing but a measure of correlation. On the contrary, correlation refers to the scaled form of covariance.
- The value of correlation takes place between -1 and +1. Conversely, the value of covariance lies between -∞ and +∞.
- Covariance is affected by the change in scale, i.e. if all the value of one variable is multiplied by a constant and all the value of another variable are multiplied, by a similar or different constant, then the covariance is changed. As against this, correlation is not influenced by the change in scale.
- Correlation is dimensionless, i.e. it is a unit-free measure of the relationship between variables. Unlike covariance, where the value is obtained by the product of the units of the two variables.
Both measures only linear relationship between two variables, i.e. when the correlation coefficient is zero, covariance is also zero. Further, the two measures are unaffected by the change in location.
Correlation is a special case of covariance which can be obtained when the data is standardised. Now, when it comes to making a choice, which is a better measure of the relationship between two variables, correlation is preferred over covariance, because it remains unaffected by the change in location and scale, and can also be used to make a comparison between two pairs of variables.