Correlation

Statistics for Economics · Chapter 66 topics, part by part6 min read

What correlation measures, positive and negative relationships, scatter diagrams, Karl Pearson’s coefficient with its properties and step deviation method, and Spearman’s rank correlation with given, worked-out and repeated ranks.

🔗
Part

The Idea

3 topics to learn here

The Idea · Topic 1 of 3

What correlation measures

Covariation, not causation.

  1. 1

    Correlation analysis asks: do two variables move together, in the same direction, and how strongly? Example: temperature, hill-station visitors and ice-cream sales; supply of tomatoes and their price.

  2. 2

    It measures covariation, not causation. Migratory birds’ arrival and local birth rates may correlate by pure coincidence.

  3. 3

    A third variable can create a link: ice-cream sales and drowning deaths rise together because hot weather drives both.

  4. 4

    We assume the relationship is linear, one shown by a straight line.

⚠️ Common mistake

✗High correlation proves that one variable causes the other.

✓It only shows that they move together; the link may be coincidence or due to a third variable.

❓ Can you answer?

Does correlation prove cause and effect?

The Idea · Topic 2 of 3

Positive and negative correlation

Sign of the relationship.

  1. 1

    Positive: variables move in the same direction. When income rises, consumption rises; temperature and ice-cream sales rise together; irrigation and yield.

  2. 2

    Negative: variables move in opposite directions. When the price of apples falls, demand rises; more hours of study lower the chance of failing; higher interest rates lower demand for funds.

  3. 3

    Three tools measure correlation: the scatter diagram, Karl Pearson’s coefficient and Spearman’s rank correlation.

Positive, negative and no correlationPositive• Same direction• Income and consumption• Heat and ice-cream salesNegative• Opposite directions• Price and demand• Study time and failureNone• No linear pattern• Shoe size and pocket money• r near zero
❓ Can you answer?

Price rises and demand falls: which correlation?

The Idea · Topic 3 of 3

Scatter diagram

Shows form, direction and closeness.

  1. 1

    A scatter diagram plots paired values as points. The overall direction and the closeness of the points to a line show the relationship without any number.

  2. 2

    Points around an upward line: positive correlation. Around a downward line: negative. No line pattern: no correlation. Points exactly on a rising or falling line: perfect positive or negative correlation.

  3. 3

    If the points are widely spread around the line, the correlation is low; if they lie close, it is high.

  4. 4

    A scatter diagram also shows non-linear relations (curves), for which Pearson’s r should not be used. So look at the scatter diagram before calculating r.

Years of schooling and yield per acre024681012Years of schooling of farmerYield (₹ ‘000)024681012
❓ Can you answer?

What does a scatter diagram not give?

🧮
Part

Measuring It

3 topics to learn here

Measuring It · Topic 1 of 3

Karl Pearson’s coefficient of correlation

r = Σxy ÷ √(Σx² × Σy²).

  1. 1

    Karl Pearson’s r (product moment correlation) gives the degree of linear relationship between X and Y. With deviations x = X − X̄ and y = Y − Ȳ: r = Σxy ÷ √(Σx² · Σy²) (equivalently covariance ÷ (σx σy)).

  2. 2

    The sign of covariance fixes the sign of r; if covariance is zero, r is zero.

  3. 3

    Worked example: years of schooling X = 0, 2, 4, 6, 8, 10, 12 and yield (₹ ‘000 per acre) Y = 4, 4, 6, 10, 10, 8, 7. X̄ = 6, Ȳ = 7; Σxy = 42, Σx² = 112, Σy² = 38. So r = 42 ÷ √(112 × 38) = 0.644. Schooling and yield are positively and fairly strongly correlated.

  4. 4

    Step deviation method uses the fact that r does not change with origin or scale. Price index X = 120, 150, 190, 220, 230 and money supply Y = 1800, 2000, 2500, 2700, 3000 (₹ crore): with A = 100, h = 10, B = 1700, k = 100, r = 0.987, a very strong positive link.

  5. 5

    Another example: annual growth of national income against saving as % of GDP (1992-93 to 2001-02: 14, 17, 18, 17, 16, 12, 16, 11, 8, 10 against 24, 23, 26, 27, 25, 25, 23, 25, 24, 23) gives r = 0.32, a weak positive link.

Years of schooling and yield per acre024681012Years of schooling of farmerYield (₹ ‘000)024681012
XYx = X−6y = Y−7xyx²y²
04-6-318369
24-4-312169
46-2-1241
61003009
81023649
108414161
127600360
Total4211238
❓ Can you answer?

What is r for Σxy = 42, Σx² = 112, Σy² = 38?

Measuring It · Topic 2 of 3

Properties and interpretation of r

Know what the number means.

  1. 1

    r has no unit: it is a pure number (r between height in feet and weight in kg could be 0.7).

  2. 2

    -1 ≤ r ≤ +1; a value outside the range means an error in calculation. Negative r: inverse relation; positive r: same direction.

  3. 3

    r does not change when each variable is shifted (origin) or rescaled by positive common factors, so the step deviation method is allowed.

  4. 4

    r = 0: no linear relation (other kinds may exist). r = ±1: perfect exact linear relation. Close to ±1: strong; close to 0: weak.

  5. 5

    Examples: r = 0.1 between marks in English and statistics is weak; r = 0.9 means high English marks go with high statistics marks. For vegetable supply and price, r = −0.9 means a big price fall with larger supply, while −0.1 means a small fall.

  6. 6

    Common sense matters: if doctors sent to epidemic villages and the number of deaths show a positive correlation, the reasons lie elsewhere (terminal cases, delayed benefit, other causes of deaths).

  7. 7

    Zero correlation does not mean independence: X = −3, −2, −1, 1, 2, 3 with Y = 9, 4, 1, 1, 4, 9 has r = 0, yet Y = X².

The coefficient rProperties of r• No unit: a pure number• Lies from -1 to +1• Same after change of origin and scale• Sign shows directionReading r• r near 1: strong positive• r near -1: strong negative• r near 0: weak linear link• r = 0: no linear relation
❓ Can you answer?

Can r be 1.4?

Measuring It · Topic 3 of 3

Spearman’s rank correlation

rs = 1 − 6ΣD² ÷ (n³ − n).

  1. 1

    Used when variables cannot be measured but can be ranked (honesty, beauty), when exact measuring is not possible, when the relation is non-linear but has a clear direction, and when extreme values would distort Pearson’s r.

  2. 2

    Formula: rs = 1 − 6ΣD² ÷ (n³ − n), where D is the difference between the two ranks of an item. It lies between -1 and +1 and is read like r, though usually less exact since only ranks are used.

  3. 3

    Case 1: ranks given. Three judges rank five contestants: A: 1, 2, 3, 4, 5; B: 2, 4, 1, 5, 3; C: 1, 3, 5, 2, 4. Rank correlation: A and B = 1 − 6×14 ÷ 120 = 0.30; A and C = 1 − 6×10 ÷ 120 = 0.50; B and C = 1 − 6×28 ÷ 120 = −0.40. A and C agree most; B and C differ most. (The book prints 0.9 for B and C, a slip.)

  4. 4

    Case 2: ranks not given. Marks in statistics 85, 60, 55, 65, 75 and economics 60, 48, 49, 50, 55 give ranks (1, 4, 5, 3, 2) and (1, 5, 4, 3, 2); ΣD² = 2, so rs = 1 − 12 ÷ 120 = 0.90.

  5. 5

    Case 3: repeated ranks. Tied items get the average rank (three values of 50 at ranks 9, 10, 11 each get 10). Add a correction (m³ − m) ÷ 12 for each tied group to ΣD². For the 12-item example ΣD² = 198 and the correction is about 3, giving rs ≈ 0.30, a weak positive link.

  6. 6

    Rank correlation differs from Pearson’s r because ranks lose the size of the gaps between values.

Steps for rank correlationRank each variableFind D = differenceSquare and add ΣD²Apply 1 − 6ΣD² ÷ (n³ − n)
JudgesΣD²rs
A and B140.30
A and C100.50
B and C28-0.40
❓ Can you answer?

How is a tied rank assigned?

🔤 Key words

Each science word with its meaning and its Hindi name. Cover the meaning and try to say it first.

  • Correlationसहसंबंध

    The direction and strength of the relationship between two variables.

  • Positive correlationधनात्मक सहसंबंध

    Both variables move in the same direction.

  • Negative correlationऋणात्मक सहसंबंध

    The variables move in opposite directions.

  • Scatter diagramप्रकीर्ण आरेख

    A graph of paired values as points.

  • Karl Pearson’s rकार्ल पियर्सन सहसंबंध गुणांक

    A numerical measure of linear relationship, between -1 and +1.

  • Covarianceसहप्रसरण

    Average product of the deviations of X and Y from their means.

  • Linear relationshipरैखिक संबंध

    One that can be shown by a straight line.

  • Spearman’s rank correlationस्पियरमैन कोटि सहसंबंध

    A correlation computed from ranks of items.

  • Rankकोटि

    Position of an item when arranged by size or quality.

  • Common rankसमान कोटि

    Average of the ranks tied items would have taken.

  • Perfect correlationपूर्ण सहसंबंध

    r = +1 or -1: all points lie exactly on a line.

  • Causationकारण-परिणाम संबंध

    One variable producing a change in another; not shown by correlation alone.

🛂 One-look revision

One stamp per part. Read the key fact, then try to recall the whole topic.

  • CorrelationDirection and strengthNot causation
  • PositiveSame directionIncome and consumption
  • NegativeOpposite directionsPrice and demand
  • ScatterShows form without numberCheck before using r
  • Pearson rΣxy ÷ √(Σx²Σy²)Linear only
  • Range-1 ≤ r ≤ 1No unit
  • r = 0No linear relationNot independence
  • Step deviationr unaffected by origin and scalePrice index: 0.987
  • Spearman1 − 6ΣD² ÷ (n³ − n)For ranks and attributes
  • TiesAverage rank plus correctionCase 3: about 0.30
  • ExampleSchooling and yield: 0.644Positive, fairly strong

❔ Questions and answers

Tap a question to see the answer. Try answering in your head first.

NCERT Exercises

Q1. The unit of the correlation coefficient between height in feet and weight in kg is (i) kg/feet (ii) percentage (iii) non-existent.
A
(iii) non-existent: r is a pure number.
Q2. The range of the simple correlation coefficient is (i) 0 to infinity (ii) minus one to plus one (iii) minus infinity to infinity.
A
(ii) minus one to plus one.
Q3. If rxy is positive the relation between X and Y is of the type (i) when Y increases X increases (ii) when Y decreases X increases (iii) when Y increases X does not change.
A
(i) when Y increases, X increases.
Q4. If rxy = 0 the variables X and Y are (i) linearly related (ii) not linearly related (iii) independent.
A
(ii) not linearly related.
Q5. Of the three measures, which can measure any type of relationship: Pearson’s r, Spearman’s rank correlation, scatter diagram?
A
(iii) Scatter diagram: it shows linear and non-linear relations.
Q6. If precisely measured data are available, the simple correlation coefficient is (i) more accurate than rank correlation (ii) less accurate (iii) as accurate.
A
(i) more accurate, because it uses all the information in the values, not just their ranks.
Q7. Why is r preferred to covariance as a measure of association?
A
Covariance depends on the units of X and Y and has no fixed limits. r is unit-free and confined between -1 and +1, so strengths of different pairs can be compared.
Q8. Can r lie outside the -1 and 1 range depending on the type of data?
A
No. Whatever the data, r lies in [-1, 1]; a value outside means a calculation error.
Q9. Does correlation imply causation?
A
No. It measures covariation only. The link may be coincidence or due to a third variable (hot weather drives both ice-cream sales and drowning).
Q10. When is rank correlation more precise than the simple correlation coefficient?
A
When data cannot be measured exactly (honesty, beauty), contain extreme values, or the relation is non-linear with a clear direction; then ranks give a more reliable picture.
Q11. Does zero correlation mean independence?
A
No. r = 0 only means no linear relation. Y = X² with X = -3 to 3 has r = 0 although Y is fully determined by X.
Q12. Can the simple correlation coefficient measure any type of relationship?
A
No. It measures only linear relationships; a curved relation can give a misleading r.
Q13. Collect the price of five vegetables daily for a week and calculate correlations; interpret.
A
Activity: compute r for each pair from your data. Positive r means two vegetables get dearer or cheaper together (common supply conditions); negative r means one gets dearer when the other gets cheaper (substitutes). Interpret by size and sign, remembering correlation is not causation.
Q14. Measure classmates’ heights and ask their benchmates’ heights; calculate r and interpret.
A
Activity: expect a positive r since children often sit with others of similar height (a rough linear link), but it reflects seating habits, not a rule.
Q15. List some variables where accurate measurement is difficult.
A
Honesty, beauty, intelligence, happiness, quality of teaching, skill in singing, leadership.
Q16. Interpret the values of r as 1, -1 and 0.
A
r = 1: perfect positive linear relation; all points on a rising line. r = -1: perfect negative linear relation; all points on a falling line. r = 0: no linear relationship, though another kind may exist.
Q17. Why does rank correlation coefficient differ from Pearsonian correlation coefficient?
A
Spearman’s uses only the ranks, not the actual values, so information about the size of gaps is lost; Pearson’s uses every value. The two are equal only if the successive differences in the data are constant.
Q18. Heights of fathers X = 65, 66, 57, 67, 68, 69, 70, 72 and sons Y = 67, 56, 65, 68, 72, 72, 69, 71: calculate r. (Book answer 0.603)
A
With the numbers as printed (57 and 56), I get Σxy = 73, Σx² = 143.5, Σy² = 194, so r = 73 ÷ √(143.5 × 194) = 0.44. The book’s answer of 0.603 corresponds to the usual version of this data, X = 65, 66, 67, 67, 68, 69, 70, 72 and Y = 67, 68, 65, 68, 72, 72, 69, 71, so those two printed numbers look like misprints. Either way the relation is positive and moderate: taller fathers tend to have taller sons.
Q19. X = -3, -2, -1, 1, 2, 3 and Y = 9, 4, 1, 1, 4, 9: calculate r and comment.
A
X̄ = 0, Ȳ = 28/6; Σxy = 0 (positive and negative products cancel), so r = 0. Yet Y = X², an exact non-linear relation: zero correlation does not mean independence.
Q20. X = 1, 3, 4, 5, 7, 8 and Y = 2, 6, 8, 10, 14, 16: calculate r and comment.
A
Y = 2X exactly, so all points lie on a line: r = 1, a perfect positive correlation.
Q21. Schooling and yield; price index and money supply (worked examples).
A
Schooling: r = 42 ÷ √(112 × 38) = 0.644. Price index and money supply (step deviation, A = 100, h = 10, B = 1700, k = 100): r = 0.987.

Back to the full listAll Class 11 Economics