Regression Revisited |
||
![]() |
||
![]() |
||
Main Concepts | Demonstration | Activity | Teaching Tips | Data Collection & Analysis | Practice Questions | Milestone | ||
![]() |
||
![]() |
||
![]() |
||
![]() |
1. Before any analysis, make a scatter plot of the data. Here, with horse power as the explanatory (x) variable and miles per gallon as the response (y) variable. The scatter plot looks reasonably linear, so a linear model should be appropriate here. For the hypothesis test, our parameter is beta, the true slope for predicting gas mileage (mpg) from horse power across all motor vehicles. The hypotheses are H0: beta = 0 versus Ha: beta <> 0.
Using our computer, we find the sample slope is b = -0.06940, the standard error of the slope is sb = 0.02329, the test statistic is t = (-0.06940 - 0)/0.02329 = -2.98 with df = n-2 = 15-2 = 13, and the p-value is 0.011. Since this is less than the standard alpha = 0.05, we reject the null hypothesis.
|