Question: Write the multiple regression equation for miles per gallon as the response variable. Use weight and horsepower as predictor variables. See Step 5 in the
- Write the multiple regression equation for miles per gallon as the response variable. Use weight and horsepower as predictor variables. See Step 5 in the Python script. How might the car rental company use this model?
OLS Regression Results
==============================================================================
Dep. Variable:mpgR-squared:0.840
Model:OLSAdj. R-squared:0.828
Method:Least SquaresF-statistic:70.64
Date:Tue, 06 Oct 2020Prob (F-statistic):1.87e-11
Time:21:43:59Log-Likelihood:-69.404
No. Observations:30AIC:144.8
Df Residuals:27BIC:149.0
Df Model:2
Covariance Type:nonrobust
==============================================================================
coefstd errtP>|t|[0.0250.975]
------------------------------------------------------------------------------
Intercept37.61811.61823.2570.00034.29940.937
wt-3.87090.634-6.1020.000-5.173-2.569
hp-0.03340.009-3.6840.001-0.052-0.015
==============================================================================
Omnibus:4.325Durbin-Watson:2.598
Prob(Omnibus):0.115Jarque-Bera (JB):3.132
Skew:0.782Prob(JB):0.209
Kurtosis:3.246Cond. No.588.
==============================================================================
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
