Mathematics & Statistics (Part II) · Chapter 3
Linear Regression
In one line: How least squares fits two straight regression lines through (x̄, ȳ) using b_YX and b_XY to predict X or Y.
Big picture flow
- 01Find x̄, ȳ or Raw Sums
- 02Compute b_YX & b_XY
- 03Write Lines Through (x̄, ȳ)
- 04Verify Signs & b_YX·b_XY ≤ 1
Mind map
The whole chapter on one screen. Tap a branch to open it.
Tap any branch to jump to notes ↓
Topics
1Concept and least squares4 concepts · 2 formulas
- Regression gives an equation to predict values, whereas correlation only measures strength of link.
- There are two distinct regression lines unless all points lie strictly on one straight line.
- Method of least squares minimizes the sum of squares of deviations parallel to the dependent axis.
Memory hookLeast squares penalizes big misses harshly by squaring errors before adding them up.
2Regression lines and coefficients4 concepts · 3 formulas
- Use deviation formulas when means x̄ and ȳ are whole numbers to keep arithmetic small.
- Use raw-sum formulas with Σx, Σy, Σx², Σy², Σxy when means are decimals.
- Always put the variable to be estimated on the left side of the equation.
Memory hookIn b_YX, the second letter X goes to the bottom (denominator); in b_XY, the second letter Y goes to the bottom.
Asked in: Mar 2024 · Jul 2024 · Mar 2025 · Jul 2025 · Mar 2026 · Jun 2026
3Properties of coefficients4 concepts · 3 formulas
- b_YX, b_XY, and r always share the exact same sign because all depend on cov(X, Y).
- Both b_YX and b_XY cannot exceed 1 in magnitude together because r² ≤ 1.
- Both regression lines always intersect at the point of means (x̄, ȳ).
Memory hookThree musketeers: b_YX, b_XY, and r always march with the same sign, and one cannot let the other cross 1 together.
Asked in: Jul 2024 · Mar 2025 · Jul 2025 · Mar 2026 · Jun 2026
4Origin shift and solving lines4 concepts · 2 formulas
- Regression coefficients are invariant under change of origin, but NOT under change of scale.
- To identify Y on X from two equations, rewrite one as Y = ... and the other as X = ... and check r² ≤ 1.
- Solving the two regression equations simultaneously gives (x̄, ȳ) directly.
Memory hookOrigin shift is free (no factor); scale shift flips back with k/h for Y on X.
Asked in: Mar 2024 · Jul 2024 · Mar 2025 · Jul 2025 · Jun 2026
Key terms & definitions
Tap any card to test yourself before peeking.
Quick comparisons (VS.)
Change of Origin vs Change of Scale
VSQuick check (Board Q.1 practice)
If b_XY < 0 and b_YX < 0, then the correlation coefficient r is:
Both lines of regression always intersect at the point:
If b_YX > 1, then b_XY must also be greater than 1.
If u = x − a and v = y − b, then b_YX = b_VU (regression coefficients are invariant under change of origin).
The difference y_i − ŷ_i between an observed value and the regression-predicted value is called:
Number of distinct regression lines when points do not all lie on one straight line.
Exam answers
Given means x_bar = 25, y_bar = 20, standard deviations sigma_X = 4, sigma_Y = 3, and r = 0.5, find the two regression equations and estimate Y when X = 10.
- Step 1: Compute the regression coefficient b_YX using r and standard deviations.
- Step 2: Write the regression equation of Y on X passing through (25, 20).
- Step 3: Compute the regression coefficient b_XY.
- Step 4: Write the regression equation of X on Y.
- Step 5: Substitute X = 10 into the Y on X equation to estimate Y.
Step marks show only when linked to an official marking scheme.
Common mistake: Swapping sigma_X and sigma_Y in b_YX and b_XY, or plugging X = 10 into the X on Y equation.
The two regression equations are 3x + 2y - 26 = 0 and 6x + y - 31 = 0. Find the means of X and Y, the coefficients b_YX and b_XY, and correlation coefficient r.
- Step 1: Solve the two equations simultaneously to find the point of intersection (x_bar, y_bar).
- Step 2: Assume 3x + 2y - 26 = 0 is Y on X and 6x + y - 31 = 0 is X on Y.
- Step 3: Verify the consistency condition 0 <= b_YX * b_XY <= 1.
- Step 4: Take the negative square root because both regression coefficients are negative.
Step marks show only when linked to an official marking scheme.
Common mistake: Writing r = +0.5 when b_YX and b_XY are negative, or skipping the r^2 <= 1 check.
Board PYQs (2024–2026)
18 questions asked across 6 official board papers
Activity: find regression and correlation coefficients from lines 16y + x = 64 and x + 4y = 5.
Obtain equation of regression line Y on X for X = 1..5 and Y = 5, 7, 9, 11, 13.
Identify what b_yx * b_xy equals in regression analysis (MCQ).
Obtain equation of regression line of Y on X for X = 1..5 and Y = 5, 7, 9, 11, 13.
Given means (85, 90), SDs (5, 6), r = 0.6, find regression line X on Y and estimate X at Y = 100.
Determine bound on b_XY given b_YX > 1 (MCQ).
From regression lines 8x - 10y + 66 = 0 and 40x - 18y = 214, find means and correlation coefficient.
Given means (10, 90), SDs (3, 12), r = 0.8, find regression of Y on X and estimate sales for X = 15.
Identify lower bound for |b_xy + b_yx| in terms of r (MCQ).
Given lines 10x - 4y = 80 and 10y - 9x = -40, find means, b_YX, b_XY, r, and var(X) for var(Y) = 36.
Compute regression equation of Y on X for X = 1..5 and Y = 5, 7, 9, 11, 13.
True or False: if b_yx + b_xy = 1.30 and r = 0.75, then the given data is inconsistent.
Activity: find correlation coefficient between x and y from lines 3x + 2y - 26 = 0 and 6x + y - 31 = 0.
Given x_bar = 53, y_bar = 28, b_yx = -1.2, b_xy = -0.3, find r and estimate y for x = 50.
True or False: in regression of Y on X, X is independent and Y is dependent.
Activity: given x_bar = 10, y_bar = 12, V(X) = 9, sigma_y = 4, r = 0.6, estimate y when x = 5.
Given b_YX = 0.4, b_XY = 0.9, and Var(X) = 9, find Var(Y).
Identify dependence of regression coefficients b_xy and b_yx on origin and scale (MCQ).