Skip to content
Worked Examples · Example 3
Q.

Find the two regression coefficients and the coefficient of correlation for the data:

xx12345
yy25387
Maharashtra MsbshseTextbookSubjectiveImportance★★★★★
23% · 7/31 Questions
✓ Free question

Here n=5n=5.

xˉ=1+2+3+4+55=3,yˉ=2+5+3+8+75=255=5.\bar x=\frac{1+2+3+4+5}{5}=3,\qquad \bar y=\frac{2+5+3+8+7}{5}=\frac{25}{5}=5.

Take dx=x−3, dy=y−5d_x=x-3,\ d_y=y-5:

xxyydxd_xdyd_ydxdyd_xd_ydx2d_x^2dy2d_y^2
12−2-2−3-3649
25−1-10010
330−2-2004
4813319
5722444
Total00131026

Regression coefficients:

byx=∑dxdy∑dx2=1310=1.3,bxy=∑dxdy∑dy2=1326=0.5.b_{yx}=\frac{\sum d_xd_y}{\sum d_x^2}=\frac{13}{10}=1.3,\qquad b_{xy}=\frac{\sum d_xd_y}{\sum d_y^2}=\frac{13}{26}=0.5.

Correlation coefficient (geometric-mean property). Since both coefficients are positive, rr is positive:

r=+byx⋅bxy=1.3×0.5=0.65=0.8062.r=+\sqrt{b_{yx}\cdot b_{xy}}=\sqrt{1.3\times0.5}=\sqrt{0.65}=0.8062.

Independent check (direct correlation formula): r=∑dxdy∑dx2∑dy2=131026=13260=1316.1245=0.8062.r=\dfrac{\sum d_xd_y}{\sqrt{\sum d_x^2}\sqrt{\sum d_y^2}}=\dfrac{13}{\sqrt{10}\sqrt{26}}=\dfrac{13}{\sqrt{260}}=\dfrac{13}{16.1245}=0.8062. The two methods agree, confirming the coefficients.

✓Final answer

byx=1.3, bxy=0.5b_{yx}=1.3,\ b_{xy}=0.5, and r=+0.65≈+0.806r=+\sqrt{0.65}\approx +0.806.

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.