Skip to content
Worked Examples · Example 1
Q.

From the following data of 5 pairs of observations, find the two regression equations of YY on XX and XX on YY. Also estimate the value of YY when X=7X = 7.

X12345
Y24545
Gujarat GsebTextbookSubjectiveImportance★★★★★
17% · 7/42 Questions
✓ Free question

Step 1 — Basic sums.

n=5n=5, ΣX=1+2+3+4+5=15\Sigma X = 1+2+3+4+5=15, so Xˉ=15/5=3\bar X = 15/5 = 3.

ΣY=2+4+5+4+5=20\Sigma Y = 2+4+5+4+5=20, so Yˉ=20/5=4\bar Y = 20/5 = 4.

ΣXY=(1)(2)+(2)(4)+(3)(5)+(4)(4)+(5)(5)=2+8+15+16+25=66\Sigma XY = (1)(2)+(2)(4)+(3)(5)+(4)(4)+(5)(5) = 2+8+15+16+25 = 66.

ΣX2=1+4+9+16+25=55\Sigma X^{2} = 1+4+9+16+25 = 55.

ΣY2=4+16+25+16+25=86\Sigma Y^{2} = 4+16+25+16+25 = 86.

Step 2 — Regression coefficient of YY on XX.

byx=nΣXY−ΣXΣYnΣX2−(ΣX)2=5(66)−(15)(20)5(55)−(15)2=330−300275−225=3050=0.6b_{yx} = \frac{n\Sigma XY - \Sigma X \Sigma Y}{n\Sigma X^{2}-(\Sigma X)^{2}} = \frac{5(66)-(15)(20)}{5(55)-(15)^{2}} = \frac{330-300}{275-225} = \frac{30}{50} = 0.6

Step 3 — Regression coefficient of XX on YY.

bxy=nΣXY−ΣXΣYnΣY2−(ΣY)2=330−3005(86)−(20)2=30430−400=3030=1.0b_{xy} = \frac{n\Sigma XY - \Sigma X \Sigma Y}{n\Sigma Y^{2}-(\Sigma Y)^{2}} = \frac{330-300}{5(86)-(20)^{2}} = \frac{30}{430-400} = \frac{30}{30} = 1.0

Step 4 — Regression equations.

YY on XX: (Y−Yˉ)=byx(X−Xˉ)⇒Y−4=0.6(X−3)=0.6X−1.8⇒Y=0.6X+2.2(Y-\bar Y)=b_{yx}(X-\bar X) \Rightarrow Y - 4 = 0.6(X-3) = 0.6X - 1.8 \Rightarrow Y = 0.6X + 2.2

XX on YY: (X−Xˉ)=bxy(Y−Yˉ)⇒X−3=1.0(Y−4)=Y−4⇒X=Y−1(X-\bar X)=b_{xy}(Y-\bar Y) \Rightarrow X-3 = 1.0(Y-4) = Y - 4 \Rightarrow X = Y - 1

Step 5 — Independent check. r=±byx⋅bxy=0.6×1.0=0.6≈0.775r = \pm\sqrt{b_{yx}\cdot b_{xy}} = \sqrt{0.6 \times 1.0} = \sqrt{0.6} \approx 0.775; both coefficients are positive, so r≈+0.775r \approx +0.775, a fairly strong positive relationship. Both lines pass through (Xˉ,Yˉ)=(3,4)(\bar X,\bar Y)=(3,4): Y=0.6(3)+2.2=4Y=0.6(3)+2.2=4 ✓ and X=4−1=3X=4-1=3 ✓.

Step 6 — Prediction. Estimating YY at X=7X=7 using the YY-on-XX line: Y=0.6(7)+2.2=4.2+2.2=6.4Y = 0.6(7)+2.2 = 4.2+2.2 = 6.4.

✓Final answer

Regression equations: Y=0.6X+2.2Y = 0.6X + 2.2 and X=Y−1X = Y - 1; estimated YY at X=7X=7 is 6.4\mathbf{6.4}.

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.