CGL CompassSSC CGL Preparation PlannerSign in5 days free
Tier 2 notes

Regression & Curve Fitting: SSC CGL Tier 2 notes summary

Regression estimates the value of one variable (dependent) from another (independent) using an average relationship.

Regression questions come with correlation, about 3 to 4 per paper in 2023. SSC asks where the two regression lines meet (at the means), the angle between them when r = 0 (they are perpendicular), one regression coefficient from r and the other, the rule that both coefficients cannot exceed 1, partial regression coefficients for three variables, the least-squares principle and residual plots, as on 19 January 2025.

In brief

Remember
  1. Regression estimates the value of one variable (dependent) from another (independent) using an average relationship.
  2. There are two regression lines: Y on X, used to estimate Y from X, and X on Y, used to estimate X from Y.
  3. The line of Y on X is y - ȳ = byx (x - x̄), with byx = r σy/σx = Cov(X, Y)/σx².
  4. The line of X on Y is x - x̄ = bxy (y - ȳ), with bxy = r σx/σy = Cov(X, Y)/σy².
  5. Both lines pass through the point of means (x̄, ȳ), so solving the two equations gives the means.
  6. r² = byx x bxy, so r is the geometric mean of the regression coefficients and has their common sign.
  7. The two coefficients always have the same sign, and if one is greater than 1 in size the other must be less than 1.
  8. The arithmetic mean of the two coefficients is at least r in size.
  9. Regression coefficients change with scale but not with origin.
  10. When r = ±1 the two lines coincide, and when r = 0 they are perpendicular, parallel to the axes.
  11. The angle θ between the lines satisfies tan θ = [(1 - r²)/|r|] x σxσy/(σx² + σy²).
  12. The method of least squares chooses the line that makes the sum of squared vertical errors as small as possible.
  13. The normal equations for y = a + bx are Σy = na + bΣx and Σxy = aΣx + bΣx².
  14. A good regression model leaves residuals that show a random pattern with no curve or funnel.
  15. Multiple regression of X1 on X2 and X3 is X1 = a + b12.3 X2 + b13.2 X3, where each b is a partial regression coefficient.
  16. The standard error of estimate of Y on X is σy √(1 - r²), and it is zero when r = ±1.

Numbers to remember

NumberWhat it is
(x̄, ȳ)the point where both regression lines meet
π/2angle between the lines when r = 0
0angle between the lines when r = ±1
r²product of the two regression coefficients
< 1the other coefficient when one exceeds 1 in size
2normal equations for fitting a straight line
3normal equations for fitting a parabola y = a + bx + cx²
σy√(1 - r²)standard error of estimate of Y on X

Key formulas and rules

y - ȳ = byx(x - x̄); byx = rσy/σx
Y on X.
x - x̄ = bxy(y - ȳ); bxy = rσx/σy
X on Y.
byx = Cov/σx²; bxy = Cov/σy²
r² = byx x bxy; r has their sign
(byx + bxy)/2 ≥ |r|
tan θ = [(1 - r²)/|r|] σxσy/(σx² + σy²)
Σy = na + bΣx; Σxy = aΣx + bΣx²
Normal equations.
Syx = σy√(1 - r²)
Error of estimate.

Common traps

Watch out
  • Using σx/σy for byx is backward; byx = rσy/σx.
  • Saying both coefficients can exceed 1 is wrong.
  • Giving the coefficients opposite signs is wrong; they share r's sign.

Solved examples

Q. If the correlation coefficient is zero, then the angle between the two lines of regression is: Options: 3π/4, π, π/4, π/2. (CGL 2022 Tier 2 Statistics, 4 Mar 2023)

Answer: π/2

Step 1: With r = 0, byx = bxy = 0. Step 2: The lines become y = ȳ and x = x̄. Step 3: These are perpendicular, so the angle is π/2.

Q. If the regression coefficient bxy > 1, then byx is: (CGL 2022 Tier 2 Statistics, 4 Mar 2023)

Answer: < 1

Step 1: bxy x byx = r² ≤ 1. Step 2: If bxy > 1, byx must be less than 1 to keep the product at most 1. Step 3: So byx < 1.

Q. If the correlation coefficient between x and y is 0.5 and the regression coefficient of y on x is 0.5, then the regression coefficient of x on y is: (CGL 2022 Tier 2 Statistics, 4 Mar 2023)

Answer: 0.5

Step 1: bxy = r²/byx. Step 2: = 0.25/0.5. Step 3: bxy = 0.5.

What the full notes cover

  • What regression does
  • The two regression lines
  • Properties of regression coefficients
  • Angle between the lines
  • Method of least squares
  • Residuals and model adequacy
  • Multiple regression (three variables)