From the following data of 5 pairs of observations, find the two regression equations of Y on X and X on Y. Also estimate the value of Y when X=7.
| X | 1 | 2 | 3 | 4 | 5 |
|---|---|---|---|---|---|
| Y | 2 | 4 | 5 | 4 | 5 |
Concept understanding — Regression Lines (Y on X and X on Y)
There are two regression lines for any bivariate data set. The line of Y on X, (Y−Yˉ)=byx(X−Xˉ), minimizes vertical deviations and estimates Y from X. The line of X on Y, (X−Xˉ)=bxy(Y−Yˉ), minimizes horizontal deviations and estimates X from Y. Both pass through (Xˉ,Yˉ) and coincide only when r=±1.
With n=5, ΣX=15, ΣY=20, ΣXY=66, ΣX2=55, the direct-method formulas give byx=0.6 and bxy=1.0.
Y on X: Y=0.6X+2.2; X on Y: X=Y−1.
Estimated Y at X=7 is 6.4.
Step 1 — Basic sums.
n=5, ΣX=1+2+3+4+5=15, so Xˉ=15/5=3.
ΣY=2+4+5+4+5=20, so Yˉ=20/5=4.
ΣXY=(1)(2)+(2)(4)+(3)(5)+(4)(4)+(5)(5)=2+8+15+16+25=66.
ΣX2=1+4+9+16+25=55.
ΣY2=4+16+25+16+25=86.
Step 2 — Regression coefficient of Y on X.
byx=nΣX2−(ΣX)2nΣXY−ΣXΣY=5(55)−(15)25(66)−(15)(20)=275−225330−300=5030=0.6
Step 3 — Regression coefficient of X on Y.
bxy=nΣY2−(ΣY)2nΣXY−ΣXΣY=5(86)−(20)2330−300=430−40030=3030=1.0
Step 4 — Regression equations.
Y on X: (Y−Yˉ)=byx(X−Xˉ)⇒Y−4=0.6(X−3)=0.6X−1.8⇒Y=0.6X+2.2
X on Y: (X−Xˉ)=bxy(Y−Yˉ)⇒X−3=1.0(Y−4)=Y−4⇒X=Y−1
Step 5 — Independent check. r=±byx⋅bxy=0.6×1.0=0.6≈0.775; both coefficients are positive, so r≈+0.775, a fairly strong positive relationship. Both lines pass through (Xˉ,Yˉ)=(3,4): Y=0.6(3)+2.2=4 ✓ and X=4−1=3 ✓.
Step 6 — Prediction. Estimating Y at X=7 using the Y-on-X line: Y=0.6(7)+2.2=4.2+2.2=6.4.
Regression equations: Y=0.6X+2.2 and X=Y−1; estimated Y at X=7 is 6.4.
Alternatively, first compute r via the standard correlation formula, then σx,σy, and derive byx=rσy/σx, bxy=rσx/σy — slower here since it needs an extra pass to compute standard deviations, but is the natural approach when r, σx and σy are already known from a prior correlation problem (see Worked Example 2).
Using the wrong denominator (ΣY2 instead of ΣX2, or vice versa) when computing a coefficient; forgetting to check the line against the mean point (Xˉ,Yˉ); substituting X=7 into the X-on-Y line by mistake when asked to estimate Y.
- CBSE 2026Set MARCH1 markMCQQ.The best fitted line of regression can be obtained by which method?(a) Least Square Method(b) Karl Pearson's Method(c) Maximum Square Method(d) Bowley's Method
›Reveal solutionSolution
The best-fitted regression line is found by the method of least squares.
The regression line is chosen so that the sum of the squares of the deviations of the observed y from the estimated y^ is minimum, i.e. Σ(y−y^)2 is least. This is the least square method; Karl Pearson's method is for correlation, not for fitting a line.
✓Final answer(a) Least Square Method.
- CBSE 2026Set MARCH1 markMCQQ.The regression line of Y on X is y^=30−1.5x. What is the value of yˉ if xˉ=10?(a) 28.5(b) 20(c) 15(d) 45
›Reveal solutionSolution
The regression line passes through (xˉ,yˉ); putting xˉ=10 gives yˉ=15.
The regression line of Y on X always passes through the point of averages (xˉ,yˉ). Substituting xˉ=10 in y^=30−1.5x:
yˉ=30−1.5(10)=30−15=15.
✓Final answer(c) 15.
- CBSE 2025Set MARCH1 markMCQQ.The regression line always passes through which point?(a) (xˉ,yˉ)(b) (0,yˉ)(c) (xˉ,0)(d) (0,0)
›Reveal solutionSolution
A regression line always passes through the point of means (xˉ,yˉ) — option (a).
In the GSEB Class-12 Statistics Linear Regression chapter, the regression line of Y on X is written as:
y^−yˉ=byx(x−xˉ)
Substituting x=xˉ gives y^=yˉ, so the line passes through (xˉ,yˉ). The same is true for the line of X on Y; hence both lines intersect at the mean point.
✓Final answer(a) (xˉ,yˉ).
- CBSE 2022Set MARCH1 markMCQQ.The regression line always passes through which point?(a) (xˉ,yˉ)(b) (0,yˉ)(c) (xˉ,0)(d) (0,0)
›Reveal solutionSolution
Each regression line is constructed to pass through the point of averages (xˉ,yˉ), which is also where the two regression lines intersect.
Reasoning. The regression line of Y on X is y−yˉ=byx(x−xˉ) and of X on Y is x−xˉ=bxy(y−yˉ). Substituting x=xˉ,y=yˉ satisfies both equations, so both lines pass through (xˉ,yˉ).
✓Final answerOption (a) (xˉ,yˉ).
- CBSE 2022Set MARCH1 markQ.Give the name of a method to obtain the best fitted regression line.
›Reveal solutionSolution
The best-fitted regression line is obtained by the Method of Least Squares.
Explanation. The method of least squares chooses the line for which the sum of the squares of the deviations (errors) of the observed values from the estimated values is minimum. This criterion yields the best-fitted regression line of Y on X (and, similarly, of X on Y).
✓Final answerThe Method of Least Squares.
- CBSE 2020Set MARCH1 markMCQQ.What is the error e in estimation in case of regression line of Y on X?(a) y−y^(b) x^−y^(c) x−x^(d) y^−y
›Reveal solutionSolution
Error of estimation e=y−y^ (observed minus estimated) — option (a).
For the regression line of Y on X, we estimate Y as y^=a+bx. For a given observation the error (residual) of estimation is defined as the actual observed value of Y minus the value estimated by the line:
e=y−y^
The method of least squares chooses a and b so that ∑e2=∑(y−y^)2 is minimum. The other options either interchange the sign or use the X-on-Y residual.
✓Final answerThe error e=y−y^ — option (a).
- CBSE 2020Set MARCH1 markQ.What are the constants a and b in the regression line y^=a+bx?
›Reveal solutionSolution
a = intercept (y^ at x=0); b = regression coefficient byx = slope = change in y^ per unit change in x.
In the regression line of Y on X,
y^=a+bx,
- a is the intercept constant: the value the line predicts for y^ when x=0. It fixes the position of the line on the Y-axis.
- b is the regression coefficient of Y on X, denoted byx: it is the slope of the line, i.e. the amount by which the estimated y^ changes for a one-unit increase in x.
Both are determined by the method of least squares from the data, using
b=byx=∑(x−xˉ)2∑(x−xˉ)(y−yˉ),a=yˉ−bxˉ.
✓Final answera = intercept (value of y^ at x=0); b = slope / regression coefficient byx (change in y^ per unit change in x).
🎓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.