Skip to content
Exercises · Q8
Q.

The price of a commodity (X, in Rs.) and the quantity demanded (Y, in units) over 5 months are given below. Compute Karl Pearson's Coefficient of Correlation and interpret the result.

Month12345
Price (X)1020304050
Quantity Demanded (Y)5040322520
Gujarat GsebTextbookSubjectiveImportance★★★★★
10% · 4/42 Questions
🔒 Locked · start free trial →

You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.

Start your 14-day free trial to unlock the full solution →

Step 1 — Compute the means.

X‾=10+20+30+40+505=30Y‾=50+40+32+25+205=1675=33.4\overline{X}=\dfrac{10+20+30+40+50}{5}=30 \qquad \overline{Y}=\dfrac{50+40+32+25+20}{5}=\dfrac{167}{5}=33.4

Step 2 — Compute deviations and products.

XXYYx=X−30x=X-30y=Y−33.4y=Y-33.4xyxyx2x^2y2y^2
1050−2016.6−332400275.56
2040−106.6−6610043.56
30320−1.4001.96
402510−8.4−8410070.56
502020−13.4−268400179.56
Total−7501000571.2

Step 3 — Apply the formula.

r=∑xy∑x2∑y2=−7501000×571.2=−750571200=−750755.78=−0.9924r=\dfrac{\sum xy}{\sqrt{\sum x^2\sum y^2}}=\dfrac{-750}{\sqrt{1000\times571.2}}=\dfrac{-750}{\sqrt{571200}}=\dfrac{-750}{755.78}=-0.9924

Verification by the direct method: ∑X=150,∑Y=167,∑XY=4260,∑X2=5500,∑Y2=6149,N=5\sum X=150,\sum Y=167,\sum XY=4260,\sum X^2=5500,\sum Y^2=6149,N=5.

r=5(4260)−150(167)[5(5500)−1502][5(6149)−1672]=21300−250505000×2856=−375014280000=−37503778.9=−0.9923r=\dfrac{5(4260)-150(167)}{\sqrt{[5(5500)-150^2][5(6149)-167^2]}}=\dfrac{21300-25050}{\sqrt{5000\times2856}}=\dfrac{-3750}{\sqrt{14280000}}=\dfrac{-3750}{3778.9}=-0.9923 …

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.