Q10. Let $y$ = petal length, $x_1$ = sepal length, and $x_2$ = petal width. Consider the following R output:
Call:
lm(formula = Petal.Length ~ Sepal.Length + Petal.width + Sepal.Length *
Petal.width, data = iris)
Residuals:
Min 1Q Median 3Q Max
-0.99588 -0.24329 0.00355 0.29735 1.24780
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) -3.24804 0.59586 -5.451 2.08e-07 ***
Sepal.Length 0.87551 0.11667 7.504 5.60e-12 ***
Petal.width 2.97115 0.35836 8.291 6.74e-14 ***
Sepal.Length:Petal.width -0.22248 0.06384 -3.485 0.00065 ***
---
Signif. codes: 0 β***β 0.001 β**β 0.01 β*β 0.05 β.β 0.1 β β 1
Residual standard error: 0.3888 on 146 degrees of freedom
Multiple R-squared: 0.9525, Adjusted R-squared: 0.9515
F-statistic: 975.4 on 3 and 146 DF, p-value: < 2.2e-16
(a) Write the equation of the estimated regression line.
(b) The error sum of square is $SSE = 22.06596$. Estimate $\sigma$.
(c) Calculate a point prediction for sepal length, when sepal length is 4.6 and petal width is 0.2.