Skip to content

Economics · Ch 10 — Economic Statistics

Correlation

3

Correlation

Where a measure of dispersion describes a single variable, correlation studies the relationship between two variables — whether, and how strongly, they move together. Does advertisement expenditure move with sales? Does rainfall move with agricultural output in Andhra Pradesh? Correlation summarises this relationship in a single figure, the correlation coefficient (rr), which always lies between −1-1 and +1+1:

  • r=+1r = +1 — perfect positive correlation: the two variables move in the same direction, in exact proportion.
  • r=−1r = -1 — perfect negative correlation: the two variables move in exactly opposite directions.
  • r=0r = 0 — no correlation: no linear relationship exists between the two variables.
  • Any value strictly between these extremes indicates the degree of positive or negative correlation — the closer ∣r∣|r| is to 1, the stronger the relationship, and the closer it is to 0, the weaker.

Karl Pearson's Coefficient of Correlation, the most widely used method, uses the actual numerical values of both series. By the deviation-from-actual-mean method:

r=ΣxyΣx2⋅Σy2r = \frac{\Sigma xy}{\sqrt{\Sigma x^2 \cdot \Sigma y^2}}

where x=X−Xˉx = X - \bar{X} and y=Y−Yˉy = Y - \bar{Y} are deviations of each series from its own mean. An equivalent direct-value formula, useful when the mean is not a whole number, is:

r=NΣXY−ΣX ΣY[NΣX2−(ΣX)2][NΣY2−(ΣY)2]r = \frac{N\Sigma XY - \Sigma X\, \Sigma Y}{\sqrt{\left[N\Sigma X^2 - (\Sigma X)^2\right]\left[N\Sigma Y^2 - (\Sigma Y)^2\right]}}

Spearman's Rank Correlation Coefficient is used instead when data is available only as ranks rather than actual measured values (for example, two judges' rankings of contestants, or a ranking of preferences), or when the underlying values cannot be meaningfully measured:

rs=1−6Σd2n(n2−1)r_s = 1 - \frac{6 \Sigma d^2}{n(n^2 - 1)} …

Definition 1Karl Pearson's Coefficient of Correlation

r = Σxy / √(Σx² · Σy²), where x and y are deviations of the two series from their own means. Measures the degree of LINEAR relationship between two variables measured on an actu …

Definition 2Spearman's Rank Correlation Coefficient

r_s = 1 − [6Σd² / n(n² − 1)], where d = difference between the two ranks of an item and n = number of items. Used when data is available as ranks …