Home / Economics / Class XI / Correlation
Correlation — CUET Economics hero
Class XI 📈 Economics Ch 14 of 16

Correlation

CUET unit: Statistics for Economics

📌 Snapshot

  • Correlation made simple: scatter diagrams, Karl Pearson's r and Spearman's rank method, all worked through.
  • Why r lies between minus 1 and plus 1, why it has no unit and why zero correlation is not independence.
  • Worked examples for Pearson's r, the step deviation shortcut, ranks with ties and the effect of an extreme value.
  • Correlation versus causation, plus the exam traps on D squared, the tie correction and swapped signs.

📖 Detailed Notes

Written and reviewed by Devendra Dubey, Mathematics & Commerce faculty at UniDrill (M.Sc. Mathematics, Osmania University · 10 years teaching). Based on NCERT Economics Class XI (Statistics for Economics), Chapter 6.

Does ice cream cause drowning?

In a typical year, the months when ice cream sells the most are also the months when the most people drown. A careless reader would ban ice cream. A careful one would notice that both go up in summer: hot weather sends people to the ice cream stall and to the river.

This is the whole chapter in a story. Correlation studies whether two variables move together, in which direction and how closely. It is a tool for describing the pattern in pairs of numbers: price and quantity demanded, height and weight, income and consumption. What it cannot do is tell you why they move together. Keep that warning in mind, because CUET sets a trap on it every year.

What correlation measures

Correlation always works on paired observations: two values recorded for the same household, the same year or the same firm. Two separate unrelated lists cannot be correlated. There are two things to read from the result: the direction (do they rise together or move opposite ways?) and the intensity (how closely do they follow each other?).

Direction What happens Examples
Positive Both variables move the same way Income and consumption, height and weight, temperature and ice cream sales
Negative The variables move in opposite ways Price of apples and demand for apples, hours of rest and number of errors
None No pattern of movement together Shoe size and marks in economics

Why should two variables move together at all? There are three different reasons, and only one of them is cause and effect.

Reason What it means Example
Cause and effect One variable directly influences the other Low rainfall leads to low farm output
Coincidence A pattern in the numbers with no link behind it The arrival of migratory birds and the birth rate of a town
A hidden third variable Something else drives both, creating a spurious link Temperature drives both ice cream sales and drownings

For simplicity, this chapter assumes the relationship is linear: the points follow a straight line, rising or falling. Non-linear relationships exist, but the coefficients below do not measure them.

The scatter diagram: look before you calculate

A scatter diagram plots each pair as a point, with one variable on the X-axis and the other on the Y-axis. It gives no number, but it shows two things at a glance: the tilt of the cloud tells the direction, and its tightness tells the intensity. It is the only one of the three tools in this chapter that is not restricted to straight-line relationships.

What the cloud looks like Reading $r$
Points tightly bunched along an upward line Strong positive Near $+1$
Points loosely scattered, with a faint upward tilt Weak positive Small positive, such as $0.3$
Random cloud with no tilt No correlation Near $0$
Points tightly bunched along a downward line Strong negative Near $-1$
Points exactly on a straight upward or downward line Perfect correlation Exactly $+1$ or $-1$
Points following a curve Non-linear $r$ may be near $0$ even though a relationship exists

Karl Pearson's coefficient: the idea

Pearson's coefficient $r$ gives a number for the direction and intensity of a linear relationship between two cardinal (measured) variables. Here is where the formula comes from.

Mark the means $\bar X$ and $\bar Y$ on the scatter diagram. They cut the plane into four regions. For each point, form the deviations $x = X - \bar X$ and $y = Y - \bar Y$. If both are positive (right and above) or both negative (left and below), the product $xy$ is positive. If they have opposite signs, the product is negative. So $\sum xy$ will be large and positive when most points lie in the upper-right and lower-left regions, which is what an upward-sloping cloud looks like. It is large and negative for a downward cloud, and near zero for a shapeless cloud.

But $\sum xy$ has a problem: it depends on the units. Measure the same heights in millimetres instead of centimetres and the number is ten times larger, with the same relationship. The fix is to divide by something carrying the same units, which is $\sqrt{\sum x^2 \sum y^2}$. This makes the result a pure number, and it also guarantees that it never leaves the range from $-1$ to $+1$.

$$r = \dfrac{\sum xy}{\sqrt{\sum x^2 \cdot \sum y^2}} = \dfrac{\sum xy}{N \sigma_x \sigma_y}, \qquad x = X - \bar X, \quad y = Y - \bar Y$$

The two forms are the same, because $\sigma_x = \sqrt{\sum x^2 / N}$. The numerator, $\sum xy / N$, is the covariance, and it carries the sign of $r$ because the denominator is always positive.

Property of $r$ What it means
No unit It is a pure number, so heights in feet and weights in kg still give a unit free $r$
Range $-1 \le r \le +1$. A value outside this range means a calculation error
Sign Same as the sign of the covariance. Positive means they move together, negative means opposite
$r = \pm 1$ Perfect linear relationship, with every point exactly on a line
$r = 0$ No linear relationship. A non-linear relationship may still exist
Origin and scale Unaffected by change of origin and change of scale (same sign). This is why step deviation works

Worked example: Pearson's r. Five students study for $X$ hours a week and score $Y$ marks: $X$ = 2, 4, 6, 8, 10 and $Y$ = 45, 48, 60, 58, 74. Find $r$.

$X$ $Y$ $x = X - 6$ $y = Y - 57$ $xy$
2 45 −4 −12 48
4 48 −2 −9 18
6 60 0 3 0
8 58 2 1 2
10 74 4 17 68
Step What we do Result
1 Find the means $\bar X = 30/5 = 6$, $\bar Y = 285/5 = 57$
2 Add the products of deviations $\sum xy = 136$
3 Add the squares $\sum x^2 = 40$, $\sum y^2 = 144 + 81 + 9 + 1 + 289 = 524$
4 Substitute $r = \dfrac{136}{\sqrt{40 \times 524}} = \dfrac{136}{144.8}$
5 Evaluate $r \approx 0.94$

A value of 0.94 means a strong positive linear relationship: students who study more tend to score more.

Common wrong step. Forgetting the square root in the denominator: $136 / (40 \times 524) \approx 0.0065$, a meaningless answer. A quick sanity check is to remember that $|r|$ cannot exceed 1. Another common slip is to multiply the raw values $X \times Y$ instead of the deviations. The formula needs deviations from the means.

Pause and predict: if $Y = -3X + 5$ exactly for every point, what is $r$? And if every $X$ is multiplied by 10 and then increased by 5, what happens to $r$?

Check your answer: $r = -1$, because the points lie exactly on a downward line (the steepness of $-3$ does not matter, only the direction). Multiplying by 10 and adding 5 is a change of scale and origin with a positive factor, so $r$ is unchanged.

The step deviation shortcut

When the values are large, work with $U = (X - A)/B$ and $V = (Y - C)/D$, where $A$ and $C$ are assumed means and $B$ and $D$ are common factors. Then $r_{UV} = r_{XY}$, provided $B$ and $D$ have the same sign. When the assumed means are not the actual means, use the raw sums form:

$$r = \dfrac{N\sum UV - \sum U \sum V}{\sqrt{N\sum U^2 - (\sum U)^2}\;\sqrt{N\sum V^2 - (\sum V)^2}}$$

Worked example: step deviation. Advertising spend $X$ (₹ lakh) and sales $Y$ (₹ lakh) of five shops: $X$ = 100, 120, 140, 160, 180 and $Y$ = 200, 230, 250, 290, 300. Use $U = (X - 140)/20$ and $V = (Y - 250)/10$.

$X$ $Y$ $U$ $V$ $UV$
100 200 −2 −5 10
120 230 −1 −2 2
140 250 0 0 0
160 290 1 4 4
180 300 2 5 10
Step What we do Result
1 Add the columns $\sum U = 0$, $\sum V = 2$, $\sum UV = 26$
2 Add the squares $\sum U^2 = 10$, $\sum V^2 = 25 + 4 + 0 + 16 + 25 = 70$
3 Numerator $5(26) - 0 \times 2 = 130$
4 Denominator $\sqrt{5(10) - 0}\,\sqrt{5(70) - 4} = \sqrt{50}\,\sqrt{346} \approx 131.5$
5 Evaluate $r = 130 / 131.5 \approx 0.99$

Working directly with $X$ and $Y$ gives the same $0.988$, which confirms that scaling and shifting does not change $r$.

Common wrong step. Dropping the $\sum U \sum V$ and the $(\sum V)^2$ terms. That formula is valid only when the assumed means are the actual means. Here $\bar Y$ is 254, not 250, so the shortcut gives $26/\sqrt{10 \times 70} \approx 0.983$, close but wrong. A second slip is using $B$ and $D$ of opposite signs, such as $V = (Y - 250)/(-10)$. That flips every $V$ and so flips $r$ to $-0.99$.

Spearman's rank correlation

Pearson's $r$ needs numbers that can be measured precisely and a straight line relationship. Spearman's rank correlation $r_s$ works on ranks, so it suits three situations: the quality cannot be measured but can be ranked (beauty, honesty, performance), only the ranks are available, or there are extreme values that would distort Pearson's $r$ because ranking limits the influence of any one value.

Rank each variable separately (rank 1 for the highest), find the difference $D$ in the two ranks of each unit, and use

$$r_s = 1 - \dfrac{6\sum D^2}{n^3 - n}$$

The logic: if both rankings agree, every $D$ is $0$ and $r_s = 1$. The more the rankings disagree, the bigger $\sum D^2$ grows, and when one ranking is exactly the reverse of the other, the fraction equals $2$ and $r_s = -1$. We square $D$ because the plain differences cancel out, as the mean's zero deviation property warned us.

Worked example: no ties. Two judges rank six contestants as shown. Find $r_s$.

Contestant Judge 1 rank Judge 2 rank $D$ $D^2$
A 1 2 −1 1
B 2 1 1 1
C 3 4 −1 1
D 4 3 1 1
E 5 6 −1 1
F 6 5 1 1

Here $\sum D^2 = 6$ and $n = 6$, so $r_s = 1 - \dfrac{6 \times 6}{216 - 6} = 1 - \dfrac{36}{210} = 0.83$. The two judges largely agree.

Common wrong step. Adding the plain differences. Here $\sum D = 0$, which would give $r_s = 1$, a perfect agreement that does not exist. Always square before adding.

Ties. When two or more observations have the same value, they share the average of the ranks they would have occupied (two values tied for 4th and 5th each get 4.5). This shrinks $\sum D^2$ artificially, so for each group of $m$ tied values, add $\dfrac{m^3 - m}{12}$ to $\sum D^2$ inside the formula:

$$r_s = 1 - \dfrac{6\left[\sum D^2 + \sum \dfrac{m^3 - m}{12}\right]}{n^3 - n}$$

Worked example: ties. Six students take two tests. Find $r_s$.

Student Test A Test B Rank A Rank B $D^2$
P 78 70 2 4 4
Q 65 82 4.5 2.5 4
R 65 60 4.5 5 0.25
S 90 82 1 2.5 2.25
T 54 45 6 6 0
U 72 88 3 1 4
Step What we do Result
1 Rank each test, highest first. In test A the two 65s would take ranks 4 and 5, so each gets the average 4.5 and 4.5
2 In test B the two 82s would take ranks 2 and 3, so each gets 2.5 and 2.5
3 Add the squared differences $\sum D^2 = 14.5$
4 Two tied groups, each with $m = 2$, so each adds $(8 - 2)/12 = 0.5$ Correction $= 1.0$
5 Substitute $r_s = 1 - \dfrac{6(14.5 + 1)}{216 - 6} = 1 - \dfrac{93}{210}$
6 Evaluate $r_s \approx 0.56$

Common wrong step. Giving tied students ranks 4 and 5 instead of 4.5 each, or leaving out the correction. Skipping the correction here gives $0.59$ instead of $0.56$, which could land you on a wrong option.

Worked example: an extreme value. Years of experience $X$ = 1 to 6 and salary $Y$ (₹ thousand) = 10, 12, 15, 18, 20, 95. Compare Pearson's $r$ with Spearman's $r_s$.

Step What we do Result
1 Pearson: $\bar X = 3.5$, $\bar Y = 28.3$, and $\sum xy = 226$, $\sum x^2 = 17.5$, $\sum y^2 \approx 5401$ $r = \dfrac{226}{\sqrt{17.5 \times 5401}} \approx 0.74$
2 Spearman: ranking by experience and by salary gives identical orders, so every $D = 0$ $r_s = 1$

The one extreme salary drags Pearson's $r$ down to $0.74$, because it sits far from the straight line the other five points follow. (Replace 95 by 22 and $r$ is $0.997$.) Spearman's $r_s$ only asks whether the order agrees, and it does perfectly.

Worked example: perfect relationship, zero correlation. Let $X$ = −2, −1, 0, 1, 2 and $Y = X^2$ = 4, 1, 0, 1, 4. Find $r$.

Step What we do Result
1 Means $\bar X = 0$, $\bar Y = 2$
2 Products $xy$ with $y = Y - 2$ $(-2)(2) + (-1)(-1) + 0 + (1)(-1) + (2)(2) = -4 + 1 + 0 - 1 + 4$
3 Sum $\sum xy = 0$, so $r = 0$

Here $Y$ is exactly determined by $X$, yet $r = 0$. The relationship is a U-shape: the left half falls and the right half rises, and the two cancel in $\sum xy$. This is why $r = 0$ means "no linear relationship", not "independent".

Beyond the textbook. For the exam: Spearman's $r_s$ is generally lower than Pearson's $r$, because converting values to ranks throws away information. In reality: that is a tendency, not a law. In the extreme value example above, $r_s$ is larger than $r$. Why it matters: never answer "which is bigger" from the general rule alone when the data are given.

Beyond the textbook. For the exam: $r$ is read as strong, moderate or weak by its distance from zero. In reality: statisticians usually quote $r^2$, the share of the variation in $Y$ that a straight line on $X$ accounts for. With $r = 0.8$, $r^2 = 0.64$, so 64 per cent of the variation is accounted for and 36 per cent is not. Why it matters: $r = 0.8$ sounds nearly perfect, but it leaves over a third of the variation unexplained. "Accounted for" is a statistical statement, not a causal one.

Correlation is not causation

A high $r$ shows that two variables move together. It does not show that one makes the other move. The same $r$ can arise from cause and effect, from coincidence or from a hidden third variable, as the table near the top showed. Only reasoning about the real world, not the number, can tell them apart.

Pause and predict: a study finds $r = +0.9$ between ice cream sales and drowning deaths across months of the year. Does the town need to restrict ice cream?

Check your answer: no. The temperature is a third variable that drives both. The coefficient is a fact about the data, and it says nothing about the cause.

Beyond the textbook. For the exam: a steeper line does not mean a larger $r$. In reality: the lines $Y = 2X$ and $Y = 0.1X$ both give $r = 1$ if the points lie exactly on them. The slope depends on the units of $X$ and $Y$, while $r$ does not. Why it matters: $r$ measures how tightly the points hug a line, not how steep the line is.

Exam traps

Trap Why it is tempting The truth
"High $r$ proves that $X$ causes $Y$" A strong number feels like proof $r$ measures co-movement only. A third variable or coincidence can produce it
"$r = 0$ means the variables are independent" Zero sounds like nothing It means no linear relationship. A curve can still link them
"$r$ is measured in the units of the data" The inputs have units $r$ is a pure number with no unit
"$r = 1.4$ is a very strong correlation" Bigger seems stronger $r$ cannot exceed 1. A value outside $-1$ to $+1$ is an error
"Add $D$, not $D^2$, in Spearman's formula" It is simpler Plain differences cancel. Always square them
"Tied ranks are given the next ranks, 4 and 5" Ranks are whole numbers Tied values share the average (4.5) and a correction $(m^3 - m)/12$ is added
"Dividing $Y$ by $-10$ in step deviation is harmless" Scaling seems neutral Using factors of opposite sign flips the sign of $r$
"The steeper the scatter line, the bigger $r$" A steep line looks strong $r$ depends on tightness, not slope

Formula sheet

Quantity Formula Unit When to use
Pearson's $r$ (covariance form) $r = \dfrac{\sum xy}{N\sigma_x\sigma_y}$ None Linear relation, measured variables
Pearson's $r$ (deviation form) $\dfrac{\sum xy}{\sqrt{\sum x^2 \sum y^2}}$, $x = X - \bar X$ None Deviations from actual means
Step deviation form $\dfrac{N\sum UV - \sum U\sum V}{\sqrt{N\sum U^2 - (\sum U)^2}\sqrt{N\sum V^2 - (\sum V)^2}}$ None Large values, assumed means
Spearman's $r_s$ $1 - \dfrac{6\sum D^2}{n^3 - n}$ None Ranks, no ties
Tie correction add $\dfrac{m^3 - m}{12}$ to $\sum D^2$ per tied group None Repeated ranks
Range $-1 \le r, r_s \le +1$ None Checking an answer

60-second revision

Topic Lock this in
Correlation Direction and intensity of a relationship between two variables, using paired data
Causation Correlation shows co-movement, never cause. Third variables and coincidence create spurious links
Scatter diagram Tilt gives direction, tightness gives intensity. The only tool that also shows non-linear patterns
Pearson's $r$ $\sum xy / \sqrt{\sum x^2 \sum y^2}$. Linear only
Properties Unit free, between $-1$ and $+1$, sign of covariance, unaffected by origin and scale
$r = 0$ No linear relation, not independence
Step deviation $U = (X - A)/B$, $V = (Y - C)/D$ with $B$ and $D$ of the same sign
Spearman $1 - 6\sum D^2/(n^3 - n)$. For ranks, qualities and extreme values
Ties Average rank, add $(m^3 - m)/12$ per group
$r_s$ vs $r$ Generally lower, but not always

Where this chapter connects

🎯 Practice MCQs

First 3 questions free · create a free account to unlock the rest — answers & explanations included, no payment needed

Q1. The correlation coefficient between the height of persons in feet and their weight in kilograms is expressed in:

▸ Show answer & explanation

Answer: D

The units of the numerator cancel against those of the denominator, so $r$ has no unit. This is the reason it can be compared across data sets.

Q2. The value of Karl Pearson's coefficient of correlation always lies between:

▸ Show answer & explanation

Answer: B

The denominator $\sqrt{\sum x^2 \sum y^2}$ is the largest value the numerator can reach, so $r$ lies between −1 and +1. Option A leaves out negative correlation.

Q3. Which of the following can reveal any kind of relationship between two variables, including a non-linear one?

▸ Show answer & explanation

Answer: D

Both coefficients measure the strength of a linear (or rank) relationship, and covariance gives only a signed number. A scatter diagram shows the actual shape of the cloud, so curved patterns are visible.

🔒 9 more practice MCQs

Create a free account to unlock every MCQ in this chapter — answers and explanations included. No payment needed.

Already registered? Just log in and they'll all appear here.

📊 Previous-Year Questions

Practise with real CUET Economics previous-year papers — every question solved, with the correct answer and a step-by-step explanation.

View solved CUET PYQ papers →

Ready to drill Economics?

Unlock all MCQs, chapter tests, mocks & PYQs for ₹199/year.

Get UniDrill Pro