TalentJR apps
Textbook: Mathematics and Statistics (Commerce) Part II – Class 12 (Balbharati, official free PDF) · pages 34–42
Correlation tells us how strongly two variables move together; regression goes one step further and gives an equation to predict one variable from the other. In this exercise you fit a straight line to paired data by the method of least squares, write the line of regression of Y on X (to predict Y) and of X on Y (to predict X), and use them for estimates such as a starting salary or a productivity index. The whole job is a careful table of sums followed by two short formulas.
The least-squares line is the straight line for which the sum of squared vertical errors (residuals) is smallest.
Regression of Y on X: Y − ȳ = b_YX(X − x̄) with b_YX = cov(X, Y)/var(X); use it to predict Y from X.
Regression of X on Y: X − x̄ = b_XY(Y − ȳ) with b_XY = cov(X, Y)/var(Y); use it to predict X from Y.
Both lines pass through the point of means (x̄, ȳ).
When the means are whole numbers, work with deviations from the means; otherwise use the raw sums Σx, Σy, Σx², Σy², Σxy.
Get a ✓ Verified tutor for “Exercise 3.1 – Fitting regression lines by least squares” — live online or at home. We aim to suggest up to 3 tutors within 24 hours.
Fit the line of Y on X to x: 1, 2, 3, 4, 5 and y: 3, 5, 4, 7, 8.
Answer: ŷ = 1.8 + 1.2x
For x: 2, 4, 6, 8 and y: 10, 9, 6, 3, find the line of Y on X and estimate y when x = 5.
Answer: y = 13 − 1.2x; estimate 7
Same data (x: 2, 4, 6, 8; y: 10, 9, 6, 3). Find the line of X on Y.
Answer: x = 10.6 − 0.8y
n = 4, Σx = 20, Σy = 12, Σx² = 120, Σy² = 44, Σxy = 70. Find b_YX, b_XY and r.
Answer: b_YX = 0.5, b_XY = 1.25, r ≈ 0.79
| What | Formula | Symbols |
|---|---|---|
| Y on X | y − ȳ = b_YX(x − x̄) | y = 1.8 + 1.2x |
| X on Y | x − x̄ = b_XY(y − ȳ) | x = 10.6 − 0.8y |
| b_YX | Σ(x − x̄)(y − ȳ)/Σ(x − x̄)² | 12/10 = 1.2 |
| b_XY | Σ(x − x̄)(y − ȳ)/Σ(y − ȳ)² | −24/30 = −0.8 |
| Covariance | cov = Σxy/n − x̄ȳ | 70/4 − 15 = 2.5 |
| Variance | var(X) = Σx²/n − x̄² | 30 − 25 = 5 |
| Intercept | a = ȳ − b_YX x̄ | 5.4 − 3.6 = 1.8 |
| Check | r² = b_YX × b_XY | 0.5 × 1.25 = 0.625 |
Solve each one in your notebook first. Then open the solution and compare every step.
1. Q1. Years of service X: 11, 7, 9, 5, 8, 6, 10; monthly income Y (Rs 1000s): 10, 8, 6, 5, 9, 7, 11. (i) Find the regression of income on service. (ii) Suggest the income for 13 years' service.
Answer: (i) y = 2 + 0.75x (ii) Rs 11,750
2. Q2. X: 10, 12, 13, 17, 18; Y: 5, 6, 7, 9, 13. Find the regressions of X on Y and Y on X.
Answer: x = y + 6; y ≈ 0.87x − 4.17
3. Q3. n = 5, Σx = 20, Σy = 20, Σx² = 90, Σy² = 90, Σxy = 76. Find (i) cov(x, y) (ii) b_YX and b_XY (iii) r.
Answer: (i) −0.8 (ii) −0.4, −0.4 (iii) −0.4
4. Q4. X: 120, 115, 120, 125, 126, 123; Y: 13, 15, 14, 13, 12, 14. Estimate y when x = 125.
Answer: y ≈ 12.75
5. Q5. Aptitude X: 60, 62, 65, 70, 72, 48, 53, 73, 65, 82; productivity Y: 68, 60, 62, 80, 85, 40, 52, 62, 60, 81. Find both regressions; estimate Y for X = 95 and X for Y = 75.
Answer: y ≈ 1.168x − 10.91 (≈ 100 at x = 95); x ≈ 0.596y + 26.27 (≈ 71 at y = 75)
6. Q6. X (independent): 2, 4, 5, 6, 8, 11; Y (dependent): 18, 12, 10, 8, 7, 5. Find the appropriate regression.
Answer: y = −1.34x + 18.04
7. Q7. Economics X: 59, 60, 61, 62, 63; Mathematics Y: 78, 82, 82, 79, 81. Find the regression of Y on X.
Answer: y = 0.3x + 62.1
8. Q8. X: 1, 2, 3, 4, 5; Y: 5, 7, 9, 11, 13. Find both regression lines.
Answer: y = 2x + 3; x = 0.5y − 1.5
9. Q9. X: 6, 2, 10, 4, 8; Y: 9, 11, 5, 8, 7. Find both regression lines.
Answer: y = −0.65x + 11.9; x = −1.3y + 16.4
10. Q10. X: 1, 2, 3; Y: 2, 1, 6. Find the regression of Y on X and the likely y at x = 4.
Answer: y = 2x − 1; y = 7
11. Q11. X: 1–6; Y: 2, 4, 7, 6, 5, 6. Find the regression of Y on X and estimate Y at X = 10.
Answer: y ≈ 0.63x + 2.8; y ≈ 9.1
12. Q12. Hours of study X: 3, 3, 3, 4, 4, 5, 5, 5, 6, 6, 7, 8; marks Y: 45, 60, 55, 60, 75, 70, 80, 75, 90, 80, 75, 85. Find the regression of marks on hours.
Answer: y ≈ 6.6x + 38.39
Read the question, answer it in your head, then tap the card to check. 20 cards.
15 questions. Tap an option — you will see at once if it is right and why.
1. The line of regression of Y on X is used to
Answer: C. Y is the dependent variable.
2. Least squares minimises
Answer: D. Sum of squared residuals.
3. Both regression lines pass through
Answer: A. The point of means.
4. If Σ(x − x̄)(y − ȳ) = 30 and Σ(x − x̄)² = 15, b_YX =
Answer: B. 30/15.
5. If Σ(x − x̄)(y − ȳ) = −12 and Σ(y − ȳ)² = 48, b_XY =
Answer: A. −12/48.
6. x̄ = 4, ȳ = 10, b_YX = 2. The line of Y on X is
Answer: C. y − 10 = 2(x − 4).
7. With y = 13 − 1.2x, the estimate of y at x = 5 is
Answer: A. 13 − 6.
8. n = 5, Σxy = 76, x̄ = ȳ = 4. cov(X, Y) is
Answer: B. 15.2 − 16.
9. If b_YX = −0.4 and b_XY = −0.4, then r =
Answer: B. √0.16 with the common sign.
10. The independent variable is also called the
Answer: A. It is used to predict.
11. b_YX measures
Answer: A. It is the slope of Y on X.
12. If all points lie on y = 2x + 3, then b_XY =
Answer: A. x = 0.5y − 1.5.
13. var(X) when Σx² = 90, n = 5, x̄ = 4 is
Answer: A. 18 − 16.
14. Which is NOT needed for b_YX from raw sums?
Answer: D. Σy² is used for b_XY.
15. To estimate a test score from a productivity index you use
Answer: C. Score is the variable predicted.
Get a ✓ Verified tutor for “Exercise 3.1 – Fitting regression lines by least squares” — live online or at home. We aim to suggest up to 3 tutors within 24 hours.
Done with the notes? Revise Exercise 3.1 – Fitting regression lines by least squares the fun way: match key terms, beat the 60-second lightning round and spot true or false facts. Every game uses only this lesson, so each round is real exam revision.
⭐ 0 XP⏱ About 60 minutes
Get a ✓ Verified tutor for “Exercise 3.1 – Fitting regression lines by least squares” — live online or at home. We aim to suggest up to 3 tutors within 24 hours.
Sign in free to see the answers to the textbook exercise of Exercise 3.1 – Fitting regression lines by least squares.
Sign in to see solutionsStuck on a question? Type it, 🎤 speak it or 📷 snap a photo of it and get simple, step-by-step help with “Linear Regression Ex 3.1” — important questions, a quick quiz, revision notes — in English, मराठी or हिंदी.
Sign in with Google to ask the AI tutor. It's free — 20 questions a day, one TalentJR account.
Sign in to askPrefer a real teacher? TalentJR teachers take live online classes anywhere in India. Tell us what you need and our team will call you with timings and fees.