STA215 · 2081 · 10 marks
Multiple Regression Analysis
Multiple Regression Analysis
Multiple Regression Analysis
Purpose of Multiple Regression Analysis
Multiple regression analysis is applied to:
- Establish a functional relationship between one dependent variable $Y$ and two or more independent variables $X_1, X_2, \ldots$
- Predict/estimate the value of the dependent variable from known independent variables
- Measure the separate effect of each independent variable while holding the others constant
- Identify which independent variables are significant contributors to the variation in $Y$
- Provide a more realistic model since real phenomena depend on several factors simultaneously
Given Data
| Y | X1 | X2 |
|---|---|---|
| 64 | 6 | 2 |
| 70 | 6 | 1 |
| 85 | 9 | 0 |
| 50 | 5 | 8 |
| 60 | 6 | 2 |
| 72 | 7 | 1 |
| 75 | 8 | 5 |
| 55 | 6 | 9 |
| 80 | 8 | 1 |
| 70 | 6 | 1 |
$n = 10$
Part (i): Multiple Regression Equation
Model: $\hat{Y} = b_0 + b_1 X_1 + b_2 X_2$
Step 1: Summations
| Y | X1 | X2 | X1² | X2² | X1·X2 | X1·Y | X2·Y |
|---|---|---|---|---|---|---|---|
| 64 | 6 | 2 | 36 | 4 | 12 | 384 | 128 |
| 70 | 6 | 1 | 36 | 1 | 6 | 420 | 70 |
| 85 | 9 | 0 | 81 | 0 | 0 | 765 | 0 |
| 50 | 5 | 8 | 25 | 64 | 40 | 250 | 400 |
| 60 | 6 | 2 | 36 | 4 | 12 | 360 | 120 |
| 72 | 7 | 1 | 49 | 1 | 7 | 504 | 72 |
| 75 | 8 | 5 | 64 | 25 | 40 | 600 | 375 |
| 55 | 6 | 9 | 36 | 81 | 54 | 330 | 495 |
| 80 | 8 | 1 | 64 | 1 | 8 | 640 | 80 |
| 70 | 6 | 1 | 36 | 1 | 6 | 420 | 70 |
| 681 | 67 | 30 | 463 | 182 | 185 | 4673 | 1810 |
$$\sum Y = 681,\ \sum X_1 = 67,\ \sum X_2 = 30,\ \sum X_1^2 = 463,$$ $$\sum X_2^2 = 182,\ \sum X_1 X_2 = 185,\ \sum X_1 Y = 4673,\ \sum X_2 Y = 1810$$
Step 2: Means
$$\bar{Y} = 68.1,\quad \bar{X}_1 = 6.7,\quad \bar{X}_2 = 3.0$$
Step 3: Normal Equations
$$681 = 10b_0 + 67b_1 + 30b_2 \quad (1)$$ $$4673 = 67b_0 + 463b_1 + 185b_2 \quad (2)$$ $$1810 = 30b_0 + 185b_1 + 182b_2 \quad (3)$$
Solution
Eliminate $b_0$ using (1) and (2): multiply (1) by $6.7$: $$4562.7 = 67b_0 + 448.9b_1 + 201b_2 \quad (4)$$ $(2) - (4)$: $$110.3 = 14.1b_1 - 16b_2 \quad (5)$$
Eliminate $b_0$ using (1) and (3): multiply (1) by $3$: $$2043 = 30b_0 + 201b_1 + 90b_2 \quad (6)$$ $(3) - (6)$: $$-233 = -16b_1 + 92b_2 \quad (7)$$
From (5): $14.1b_1 - 16b_2 = 110.3$ From (7): $-16b_1 + 92b_2 = -233$
Solve. From (5): $b_1 = \dfrac{110.3 + 16b_2}{14.1}$.
Substitute in (7): $$-16\left(\frac{110.3 + 16b_2}{14.1}\right) + 92b_2 = -233$$
$$-16(110.3 + 16b_2) + 92(14.1)b_2 = -233(14.1)$$
$$-1764.8 - 256b_2 + 1297.2b_2 = -3285.3$$
$$1041.2b_2 = -1520.5$$
$$b_2 = -1.4603$$
Then: $$b_1 = \frac{110.3 + 16(-1.4603)}{14.1} = \frac{110.3 - 23.365}{14.1} = \frac{86.935}{14.1} = 6.1656$$
From (1): $$b_0 = \frac{681 - 67(6.1656) - 30(-1.4603)}{10}$$ $$= \frac{681 - 413.10 + 43.81}{10} = \frac{311.71}{10} = 31.171$$
Regression Equation
$$\boxed{\hat{Y} = 31.171 + 6.166,X_1 - 1.460,X_2}$$
Part (ii): Interpretation of $b_1$ and $b_2$
-
$b_1 = 6.166$: Holding the number of absent days ($X_2$) constant, a one-unit increase in the aptitude test score ($X_1$) raises the job-satisfaction score ($Y$) by about 6.17 units. The positive sign shows a direct relationship.
-
$b_2 = -1.460$: Holding the aptitude test score ($X_1$) constant, each additional day of absence ($X_2$) decreases the job-satisfaction score ($Y$) by about 1.46 units. The negative sign shows an inverse relationship.
Part (iii): Estimate for $X_1 = 9,\ X_2 = 6$
$$\hat{Y} = 31.171 + 6.166(9) - 1.460(6)$$ $$= 31.171 + 55.494 - 8.760$$ $$= \boxed{77.91}$$
The estimated job-satisfaction score is approximately 78.
Short on time? The 1, 5 and 10 mark versions of this answer, flashcards and practice sets come with a program pass.