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) |
|---|---|
| 2 | 40 |
| 4 | 50 |
| 6 | 60 |
| 8 | 70 |
If a student studies 10 hours, what marks can we expect? Regression helps answer this.
2. Important Terminology
| Term | Description | Examples |
|---|---|---|
| Independent Variable (X) | Variable used for prediction | Study hours, Rainfall, Advertisement spending |
| Dependent Variable (Y) | Variable being predicted | Marks, 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
| Symbol | Meaning |
|---|---|
| Y | Dependent variable (predicted) |
| X | Independent variable |
| a | Intercept (value of Y when X = 0) |
| b | Regression 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 b | Interpretation | Example |
|---|---|---|
| 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
| Line | Purpose | Equation |
|---|---|---|
| Regression of Y on X | Predict Y from X | Y − Ȳ = b_yx (X − X̄) |
| Regression of X on Y | Predict X from Y | X − 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
| Coefficient | Formula |
|---|---|
| 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
| Property | Detail |
|---|---|
| Same sign as r | If 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 < 1 | If 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
| Condition | Angle Between Lines | Meaning |
|---|---|---|
| r = ±1 (Perfect correlation) | 0° — lines coincide | Both lines become one |
| r = 0 (No correlation) | 90° — lines are perpendicular | No linear relationship |
9. Correlation vs Regression
| Correlation | Regression |
|---|---|
| Measures relationship | Predicts values |
| No dependent variable | Has dependent variable (Y) |
| Symmetrical | Not symmetrical |
| Result: r (a number) | Result: regression equation |
| Degree of association | Functional relationship |
10. Applications of Regression
| Field | X (Independent) | Y (Dependent) |
|---|---|---|
| Education | Study hours | Marks |
| Agriculture | Rainfall | Crop yield |
| Banking | Income | Loan approval |
| Business | Advertising | Sales |
| Economics | Income | Consumption |
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 / Concept | Detail |
|---|---|
| Regression Equation | Y = a + bX |
| b_yx (Y on X) | b_yx = r × (σy / σx) |
| b_xy (X on Y) | b_xy = r × (σx / σy) |
| r from coefficients | r = √(b_xy × b_yx) |
| Lines pass through | (X̄, Ȳ) — the mean point |
| r = ±1 | Regression lines coincide |
| r = 0 | Regression lines are perpendicular |
| Sign rule | b_yx and b_xy always have same sign as r |