Example 2. Using the step deviation method, calculate the coefficient of correlation between price index (X) and money supply (Y).
Price index (X)
Money supply in Rs crores (Y)
120
1800
150
2000
190
2500
220
2700
230
3000
(Take A = 100; h = 10; B = 1700; k = 100.)
Yanam CbseNCERTSubjective· 5mImportance★★★★★est
8% · 2/25 Questions
✓ Free question
Concept understanding — Pearson Correlation
Pearson Correlation: From Intuition to Precision
Imagine you're tracking two things over time — say, the number of ice creams sold at your school canteen and the outside temperature. On hot days, both go up; on cool days, both drop. They seem to move together. That's the basic idea of correlation: a measure of how two variables move in relation to each other.
But not all co-movement is equal. Sometimes one variable goes up while the other goes down — like the price of a good and the quantity demanded (law of demand). Sometimes they seem to have no connection at all — like the number of students in your class and the price of tea in China. Pearson correlation gives us a single number that captures the strength and direction of this linear relationship.
The Precise Meaning
Pearson correlation coefficient, usually denoted by r, measures the linear relationship between two variables X and Y. It answers: If I know how far X is from its average, how far (and in which direction) is Y from its average, on average?
The formula is:
r=∑(Xi−Xˉ)2⋅∑(Yi−Yˉ)2∑(Xi−Xˉ)(Yi−Yˉ)
Where:
Xi, Yi are individual observations
Xˉ, Yˉ are the means (averages) of X and Y
∑ means "sum over all observations"
The numerator is the covariance — it tells you whether deviations from the mean tend to be in the same direction (positive product) or opposite directions (negative product). The denominator is the product of the standard deviations of X and Y, which scales the result so that r always lies between −1 and +1.
Important
r is unitless and always between −1 and +1:
r=+1: perfect positive linear relationship (all points lie on an upward-sloping line)
r=−1: perfect negative linear relationship (all points lie on a downward-sloping line)
r=0: no linear relationship (but there could still be a non-linear one!)
Why It Matters in Economics
Economics is full of pairs of variables that we suspect move together. Pearson correlation gives us a first, clean check on whether that suspicion holds water.
Example 1: Consumption and Income. Keynes said consumption depends on income. If you plot household consumption against household income for a sample of families, you'd expect a positive r — higher income families tend to consume more. A value close to +0.8 or +0.9 would be strong evidence for that relationship.
Example 2: Price and Quantity Demanded. The law of demand says price and quantity demanded move in opposite directions. A negative r between price and quantity (holding other factors constant) would confirm this. But here's the catch — in real market data, price and quantity are determined simultaneously by supply and demand, so a simple correlation might not show the expected negative sign. That's why economists use more advanced tools (like regression) to isolate the relationship.
Example 3: Investment and Interest Rates. You'd expect a negative correlation — when interest rates are high, borrowing is expensive, so investment falls. But the relationship might be weak (r close to 0) because investment also depends on expectations, technology, and government policy.
Watch out
Correlation does NOT imply causation. Just because ice cream sales and drowning incidents are positively correlated (both peak in summer) does NOT mean ice cream causes drowning. The common cause is hot weather, which makes people both buy ice cream and go swimming. In economics, this is a constant trap — GDP and money supply are correlated, but which causes which? The answer requires theory, not just correlation.
Visualising It
Draw a scatter plot with X on the horizontal axis and Y on the vertical axis. If the points cluster around a straight line sloping upward, r is positive and strong. If they cluster around a line sloping downward, r is negative and strong. If they form a shapeless cloud, r is near zero.
But here's the nuance: a perfect circle of points has r=0 even though X and Y are clearly related (non-linearly). Pearson correlation only captures linear relationships. Two variables could be perfectly related by a U-shaped curve and still have r=0.
Tip
Always plot your data first. A single outlier can dramatically change r, and a non-linear relationship can hide behind a near-zero r. The number alone is never enough — you need to see the shape.
A Quick Worked Example
Suppose you have data on five families:
Family
Income (₹'000)
Consumption (₹'000)
A
10
8
B
20
15
C
30
22
D
40
30
E
50
38
Mean income Xˉ=30, mean consumption Yˉ=22.6.
Compute deviations and products:
For family A: (10−30)(8−22.6)=(−20)(−14.6)=292
For family B: (20−30)(15−22.6)=(−10)(−7.6)=76
For family C: (30−30)(22−22.6)=(0)(−0.6)=0
For family D: (40−30)(30−22.6)=(10)(7.4)=74
For family E: (50−30)(38−22.6)=(20)(15.4)=308
Sum of products = 292+76+0+74+308=750
Sum of squared deviations for income: (−20)2+(−10)2+02+102+202=400+100+0+100+400=1000
Sum of squared deviations for consumption: (−14.6)2+(−7.6)2+(−0.6)2+7.42+15.42=213.16+57.76+0.36+54.76+237.16=563.2
r=1000×563.2750=563200750≈750.47750≈0.999
That's almost perfect positive correlation — consumption rises almost exactly linearly with income in this small sample.
The Bottom Line
Pearson correlation is your first tool for spotting linear relationships in economic data. It's simple, intuitive, and powerful — but limited. Use it to check whether two variables move together, but never to claim that one causes the other. In economics, where everything is connected to everything else, that caution is worth its weight in gold.
The step-deviation method rescales the large price-index and money-supply figures using an assumed origin and common factor before computing Karl Pearson's coefficient, since correlation is unaffected by such a change of origin and scale.
A very high positive correlation between the price index and money supply.
Rescaling with A=100,h=10 and B=1700,k=100 gives step deviations U and V. Then ∑U=41,∑V=35,∑UV=378,∑U2=423,∑V2=343, so r≈+0.98 — an almost perfect positive relationship between price index and money supply.
Concept first
The step-deviation method keeps large figures manageable. Correlation is unaffected by a change of origin (subtracting A, B) or scale (dividing by h, k), so we may compute r on the coded values U,V and it equals rXY:
U=hX−A,V=kY−B
r=[N∑U2−(∑U)2][N∑V2−(∑V)2]N∑UV−∑U∑V
The working table
A=100,h=10,B=1700,k=100,N=5.
X
Y
U=10X−100
V=100Y−1700
UV
U2
V2
120
1800
2
1
2
4
1
150
2000
5
3
15
25
9
190
2500
9
8
72
81
64
220
2700
12
10
120
144
100
230
3000
13
13
169
169
169
Σ
41
35
378
423
343
Substituting
Numerator=N∑UV−∑U∑V=5(378)−(41)(35)=1890−1435=455
N∑U2−(∑U)2=5(423)−412=2115−1681=434
N∑V2−(∑V)2=5(343)−352=1715−1225=490
r=434×490455=212660455=461.15455=0.9867
Interpretation
r≈+0.98 is very close to +1: as the price index rises, money supply rises almost in lock-step — a strong positive association.
✓Final answer
r=434×490455≈+0.98
A very high positive correlation between the price index and money supply.