Results
Linear Regression
| Model Fit Measures |
|---|
|
| Model | R | R² |
|---|
| 1 | | 0.743 | | 0.552 | |
|
|
|
| Model Coefficients - mpg |
|---|
|
| Predictor | Estimate | SE | t | p |
|---|
| Intercept | | 55.820 | | 4.354 | | 12.820 | | 3.751e-20 | |
| turn | | -0.761 | | 0.131 | | -5.823 | | 1.546e0-7 | |
| trunk | | -0.316 | | 0.134 | | -2.352 | | 0.02144 | |
|
|
|
R
Call:
lm(formula = mpg ~ turn + trunk, data = data)
Residuals:
Min 1Q Median 3Q Max
-8.475 -1.850 0.014 1.746 16.558
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 55.820 4.354 12.82 < 2e-16 ***
turn -0.761 0.131 -5.82 1.5e-07 ***
trunk -0.316 0.134 -2.35 0.021 *
---
Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
Residual standard error: 3.93 on 71 degrees of freedom
Multiple R-squared: 0.552, Adjusted R-squared: 0.54
F-statistic: 43.8 on 2 and 71 DF, p-value: 4.13e-13
Call:
lm(formula = mpg ~ turn + trunk, data = data)
Residuals:
Min 1Q Median 3Q Max
-8.475 -1.850 0.014 1.746 16.558
Coefficients:
Estimate SE[hc0] t value Pr(>|t|)
(Intercept) 55.820 4.767 11.71 < 2e-16 ***
turn -0.761 0.142 -5.37 9.6e-07 ***
trunk -0.316 0.120 -2.63 0.011 *
---
Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
Residual standard error: 3.93 on 71 degrees of freedom
Multiple R-squared: 0.552, Adjusted R-squared: 0.54
F-statistic: 71.7 on 2 and 71 DF, p-value: <2e-16
Only the coefficients
Estimate SE[hc1] t value Pr(>|t|)
(Intercept) 55.8200 4.8663 11.471 7.965e-18
turn -0.7610 0.1448 -5.256 1.477e-06
trunk -0.3162 0.1229 -2.572 1.220e-02