STA215 ยท 2080 ยท 10 marks
Regression Analysis: Computer Program Efficiency Given regression equation: Where: - Y = Processed requests per hour - Xโ = Data size (gigabytes) - Xโ = Number of tables - Total sum of squares (TSS) = 1452 - Sum of squares due to regression (SSR) = 1143.3 - Standard error of bโ = 0.55 - n = 7 observ
Regression Analysis: Computer Program Efficiency
Given regression equation: $$Y = 52.7 - 2.87X_1 + 0.85X_2$$
Where:
- Y = Processed requests per hour
- Xโ = Data size (gigabytes)
- Xโ = Number of tables
- Total sum of squares (TSS) = 1452
- Sum of squares due to regression (SSR) = 1143.3
- Standard error of bโ = 0.55
- n = 7 observations
Multiple Regression Analysis - Verified Model Answer
Given Data
- Regression equation: $\hat{Y} = 52.7 - 2.87X_1 + 0.85X_2$
- Total Sum of Squares: $SST = 1452$
- Sum of Squares due to Regression: $SSR = 1143.3$
- Standard error of $b_2$: $S_{b_2} = 0.55$
- Sample size: $n = 7$; number of predictors: $k = 2$
- Significance level: $\alpha = 0.05$
- Data table (Y, X1, X2) as given.
a) Interpretation of $b_1$ and $b_2$
$b_1 = -2.87$: Holding number of tables ($X_2$) constant, each additional gigabyte of data size decreases the processed requests by about 2.87 per hour on average.
$b_2 = +0.85$: Holding data size ($X_1$) constant, each additional table used increases the processed requests by about 0.85 per hour on average.
b) Significance of the Overall Model (F-test)
$$SSE = SST - SSR = 1452 - 1143.3 = 308.7$$
$$MSR = \frac{SSR}{k} = \frac{1143.3}{2} = 571.65$$
$$MSE = \frac{SSE}{n-k-1} = \frac{308.7}{4} = 77.175$$
$$F_{cal} = \frac{MSR}{MSE} = \frac{571.65}{77.175} = 7.41$$
Critical value at $\alpha=0.05$, $df_1=2$, $df_2=4$: $$F_{tab}(2,4) = 6.94$$
Since $F_{cal}=7.41 > F_{tab}=6.94$, reject $H_0$.
Conclusion: The overall regression model is statistically significant at 0.05.
c) Significance of $X_2$ (Number of Tables)
Hypotheses: $H_0: \beta_2 = 0$ vs $H_1: \beta_2 \neq 0$
$$t_{cal} = \frac{b_2}{S_{b_2}} = \frac{0.85}{0.55} = 1.545$$
Critical value (two-tailed) at $\alpha=0.05$, $df = n-k-1 = 4$: $$t_{tab} = 2.776$$
Since $|t_{cal}| = 1.545 < 2.776$, fail to reject $H_0$.
Conclusion: There is no significant relationship between processed requests and number of tables at the 0.05 level.
d) Percentage of Variation Explained ($R^2$)
$$R^2 = \frac{SSR}{SST} = \frac{1143.3}{1452} = 0.7874$$
$$R^2 \times 100 = 78.74%$$
About 78.74% of the variation in processed requests is explained by data size and number of tables together.
e) Standard Error of Estimate
$$S_e = \sqrt{\frac{SSE}{n-k-1}} = \sqrt{\frac{308.7}{4}} = \sqrt{77.175} = 8.785$$
$S_e \approx 8.79$ requests per hour.
f) Estimate for $X_1 = 9$, $X_2 = 8$
$$\hat{Y} = 52.7 - 2.87(9) + 0.85(8)$$ $$= 52.7 - 25.83 + 6.80 = 33.67$$
Estimated processed requests $\approx 33.67$ per hour.
Summary
| Part | Result |
|---|---|
| a | $b_1=-2.87$, $b_2=+0.85$ (interpreted above) |
| b | $F=7.41 > 6.94$: model significant |
| c | $t=1.545 < 2.776$: $X_2$ not significant |
| d | $R^2 = 78.74%$ |
| e | $S_e = 8.79$ |
| f | $\hat{Y} = 33.67$ |
Short on time? The 1, 5 and 10 mark versions of this answer, flashcards and practice sets come with a program pass.