# Correlation

Correlation is a technique which measures the strength of association between two variables. Both the variables $$X$$ and $$Y$$ may be random, or it may be that one variable is independent (non-random) and the other is correlated or dependent. When the changes in one variable appear to be linked with the changes in the other variable, the two variables are said to be correlated. When the two variables are meaningfully related and both increase or both decrease simultaneously, then the correlation is termed as positive. If an increase in any one variable is associated with a decrease in the other variable, the correlation is termed as negative or inverse.

Suppose marks in mathematics are denoted by $$X$$ and marks in statistics are denoted by $$Y$$. If small values of $$X$$ appear with small values of $$Y$$ and large values of $$X$$ come with large values of $$Y$$, then the correlation is said to be positive.

If $$X$$ stands for marks in English and $$Y$$ stands for marks in mathematics, it is possible that small values of $$X$$ appear with large values of $$Y$$. This is a case of negative correlation.