{"id":1750,"date":"2021-05-07T02:11:57","date_gmt":"2021-05-07T02:11:57","guid":{"rendered":"http:\/\/192.168.31.181\/muthu\/?p=1750"},"modified":"2021-05-09T02:50:43","modified_gmt":"2021-05-09T02:50:43","slug":"understanding-correlations-and-correlation-matrix","status":"publish","type":"post","link":"http:\/\/write.muthu.co\/understanding-correlations-and-correlation-matrix\/","title":{"rendered":"Understanding Correlations and Correlation Matrix"},"content":{"rendered":"\n

Correlation is the measure of how two or more variables are related to one another, also referred to as linear dependence. An increase in demand for a product increases its price, also called the demand curve, traffic on roads at certain intervals of time of the day, the amount of rain correlates with grass fires, the examples are many. <\/p>\n\n\n\n

Causation<\/strong><\/h2>\n\n\n\n

Correlation doesn’t imply causation<\/a>, even though the two variables have a linear dependence, one should not assume that one is affecting the other without proper hypothesis testing. Correlation will give you an exploratory overview of any dependence between variables in your dataset, their causation can only be understood after careful study. For example, women who are more educated tend to have lesser children. Women who are less educated tend to have more children, it’s a general observation. If you look at the population of developed and under-developed countries and look at their national education index, the two seem to be correlated but we can’t say education makes you produce lesser babies. So, correlation is best used as a suggestion rather than a technique that gives definitive answers. It is often a preparatory piece of analysis that gives some clues to what the data might yield, to be followed with other techniques like regression. <\/p>\n\n\n\n

Positive and Negative Correlation<\/h2>\n\n\n\n

Positive Correlation<\/h3>\n\n\n\n

Two variables X and Y are positively correlated if high values of X go with high values of Y and low values of X go with lower values of Y. For Example:<\/p>\n\n\n\n