Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Is at least one of the two variables (weight and horsepower) significant in the model? Run the overall F-test and provide your interpretation at 5%
- Is at least one of the two variables (weight and horsepower) significant in the model? Run the overall F-test and provide your interpretation at 5% level of significance. See Step 5 in the Python script. Include the following in your analysis:
- Define the null and alternative hypothesis in mathematical terms and in words.
- Report the level of significance.
- Include the test statistic and the P-value. (Hint: F-Statistic and Prob (F-Statistic) in the output).
- Provide your conclusion and interpretation of the test. Should the null hypothesis be rejected? Why or why not?
- What is the slope coefficient for the weight variable? Is this coefficient significant at 5% level of significance (alpha=0.05)? (Hint: Check the P-value,, for weight in Python output. Recall that this is the individual t-test for the beta parameter.) See Step 5 in the Python script.
- What is the slope coefficient for the horsepower variable? Is this coefficient significant at 5% level of significance (alpha=0.05)? (Hint: Check the P-value,, for horsepower in Python output. Recall that this is the individual t-test for the beta parameter.) See Step 5 in the Python script.
- What is the purpose of performing individual t-tests after carrying out the overall F-test? What are the differences in the interpretation of the two tests?
- What is the coefficient of determination of your multiple regression model
Python Script:
Step Five: