Answered step by step
Verified Expert Solution
Question
1 Approved Answer
In this discussion, you will apply the statistical concepts and techniques covered in this week's reading about multiple regression. You will not be completing work
In this discussion, you will apply the statistical concepts and techniques covered in this week's reading about multiple regression. You will not be completing work in Jupyter Notebook this week. Instead, you will be interpreting output from your Python scripts for the Module Six discussion. If you did not complete the Module Six discussion, please complete that before working on this assignment.
Last week's discussion involved development of a multiple regression model that used miles per gallon as a response variable. Weight and horsepower were predictor variables. You performed an overall Ftest to evaluate the significance of your model. This week, you will evaluate the significance of individual predictors. You will use output of Python script from Module Six to perform individual ttests for each predictor variable. Specifically, you will look at Step of the Python script to answer all questions in the discussion this week.
In your initial post, address the following items:
Is at least one of the two variables weight and horsepower significant in the model? Run the overall Ftest and provide your interpretation at level of significance. See Step 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 Pvalue. Hint: FStatistic and Prob FStatistic 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 level of significance alphaHint: Check the Pvalue, P is greater than the absolute value of t for weight in Python output. Recall that this is the individual ttest for the beta parameter. See Step in the Python script.
What is the slope coefficient for the horsepower variable? Is this coefficient significant at level of significance alphaHint: Check the Pvalue, P is greater than the absolute value of t for horsepower in Python output. Recall that this is the individual ttest for the beta parameter. See Step in the Python script.
What is the purpose of performing individual ttests after carrying out the overall Ftest? What are the differences in the interpretation of the two tests?
What is the coefficient of determination of your multiple regression model from Module Six? Provide appropriate interpretation of this statistic.OLS Regression Results
Dep. Variable: mpg Rsquared:
Model: OLS Adj. Rsquared:
Method: Least Squares Fstatistic:
Date: Mon, Feb Prob Fstatistic: e
Time: :: LogLikelihood:
No Observations: AIC:
Df Residuals: BIC:
Df Model:
Covariance Type: nonrobust
coef std err t Pt
Intercept
wt
hp
Omnibus: DurbinWatson:
ProbOmnibus: JarqueBera JB:
Skew: ProbJB:
Kurtosis: Cond. No
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started