Statistics 7: Regression

Regression equation, coefficients, two regression lines, relationship with correlation — solved examples and exam tricks

1. What is Regression?

Regression is a statistical method used to estimate or predict the value of one variable based on another variable. It studies the dependence of one variable on another.

Example — Can we predict marks from study hours?

Study Hours (X)Marks (Y)
240
450
660
870

If a student studies 10 hours, what marks can we expect? Regression helps answer this.


2. Important Terminology

TermDescriptionExamples
Independent Variable (X)Variable used for predictionStudy hours, Rainfall, Advertisement spending
Dependent Variable (Y)Variable being predictedMarks, Crop production, Sales

Exam Trick: Ask "Which variable affects the other?" — that variable becomes X.


3. Regression Equation

The most basic regression equation is: Y = a + bX

SymbolMeaning
YDependent variable (predicted)
XIndependent variable
aIntercept (value of Y when X = 0)
bRegression coefficient (slope)

Understanding the equation — Example: Y = 20 + 5X
Interpretation: If X increases by 1 unit, Y increases by 5 units.
When X = 4: Y = 20 + 5(4) = 40 → Predicted marks = 40


4. What is Regression Coefficient?

The regression coefficient b measures the rate of change in Y due to X.

Sign of bInterpretationExample
b > 0 (Positive)X ↑ ⇒ Y ↑ (Positive relationship)Y = 10 + 3X → every +1 in X gives +3 in Y
b < 0 (Negative)X ↑ ⇒ Y ↓ (Negative relationship)Y = 100 − 2X → every +1 in X gives −2 in Y

5. Two Regression Lines

LinePurposeEquation
Regression of Y on XPredict Y from XY − Ȳ = b_yx (X − X̄)
Regression of X on YPredict X from YX − X̄ = b_xy (Y − Ȳ)

Exam Fact: There are always two regression lines unless correlation is perfect (r = ±1).


6. Regression Coefficients b_yx and b_xy

CoefficientFormula
b_yx (Y on X)b_yx = r × (σy / σx)
b_xy (X on Y)b_xy = r × (σx / σy)

Where: r = correlation coefficient | σx = SD of X | σy = SD of Y

Relationship Between Correlation and Regression Coefficients

r = √(b_xy × b_yx) — Very important exam question.

Example: b_xy = 0.25, b_yx = 0.64
r = √(0.25 × 0.64) = √0.16 = 0.4 ✅

Properties of Regression Coefficients

PropertyDetail
Same sign as rIf r > 0 → both b_yx and b_xy are positive. If r < 0 → both are negative.
r = √(b_xy × b_yx)Geometric mean of the two regression coefficients equals r
One exceeds 1 → other < 1If one regression coefficient is greater than 1, the other must be less than 1

7. Regression Line Passes Through Mean Point

Every regression line passes through the point (X̄, Ȳ).

Example: Mean of X = 20, Mean of Y = 50 → Regression line passes through (20, 50)

This is a very important theory question.


8. Angle Between Regression Lines

ConditionAngle Between LinesMeaning
r = ±1 (Perfect correlation)0° — lines coincideBoth lines become one
r = 0 (No correlation)90° — lines are perpendicularNo linear relationship

9. Correlation vs Regression

CorrelationRegression
Measures relationshipPredicts values
No dependent variableHas dependent variable (Y)
SymmetricalNot symmetrical
Result: r (a number)Result: regression equation
Degree of associationFunctional relationship

10. Applications of Regression

FieldX (Independent)Y (Dependent)
EducationStudy hoursMarks
AgricultureRainfallCrop yield
BankingIncomeLoan approval
BusinessAdvertisingSales
EconomicsIncomeConsumption

Numerical Examples

Example 1: Regression equation: Y = 15 + 4X. Predict Y when X = 8.
Y = 15 + 4(8) = 15 + 32 = 47 ✅

Example 2: Regression equation: Y = 100 − 5X. Predict Y when X = 12.
Y = 100 − 5(12) = 100 − 60 = 40 ✅


Exam MCQs

  • Regression is mainly used for? → Prediction
  • Regression line always passes through? → Mean point (X̄, Ȳ)
  • If correlation is perfect (r=±1)? → Two regression lines coincide
  • If r = 0? → Regression lines are perpendicular
  • Regression coefficient and correlation coefficient always have? → Same signs

Common Exam Traps:

  • Regression predicts — Correlation only measures relationship
  • There are TWO regression lines, not one
  • Regression lines pass through (X̄, Ȳ) — always
  • If r = 0 → lines are perpendicular (not parallel)
  • If r = ±1 → lines coincide (not disappear)

Quick Revision Sheet

Formula / ConceptDetail
Regression EquationY = a + bX
b_yx (Y on X)b_yx = r × (σy / σx)
b_xy (X on Y)b_xy = r × (σx / σy)
r from coefficientsr = √(b_xy × b_yx)
Lines pass through(X̄, Ȳ) — the mean point
r = ±1Regression lines coincide
r = 0Regression lines are perpendicular
Sign ruleb_yx and b_xy always have same sign as r