Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Cars data frame (showing only the first five observations) Unnamed: 0 mpg cyl disp hp drat wt qsec vs am gear carb 6 Duster 360
Cars data frame (showing only the first five observations) Unnamed: 0 mpg cyl disp hp drat wt qsec vs am gear carb 6 Duster 360 14.3 8 360.0 245 3.21 3.57 15.84 0 0 4 23 Camaro Z28 13.3 8 350.0 245 3.73 3.84 15.41 0 0 3 4 28 Ford Pantera L 15.8 8 351.0 264 4.22 3.17 14.50 0 4 11 Merc 450SE 16.4 8 275.8 180 3.07 4.07 17.40 0 0 3 3 14 Cadillac Fleetwood 10.4 8 472.0 205 2.93 5.25 17.98 0 0 3 4MPG against Weight 30 25 MPG 20 15 10 15 20 2.5 3.0 3.5 40 45 50 5.5 Weight (1000s lbs)\fOLS Regression Results Dep. Variable: mpg R- squared : 0.754 Model : OLS Adj . R- squared : 0.745 Method : Least Squares F-statistic: 85.78 Date : Thu, 28 Jul 2022 Prob (F-statistic) : 5. 09e-10 Time : 01:57:41 Log-Likelihood : -72.745 No. Observations : 30 AIC : 149.5 Of Residuals: 28 BIC : 152.3 Df Model : 1 Covariance Type: nonrobust coef std err t P> t [0. 025 0.975] Intercept 36. 0047 1.826 19.717 0.000 32. 264 39.745 wt -4.9862 0.538 -9. 262 0.000 -6.089 -3.883 === ==== Omnibus : 2.908 Durbin-Watson: 1. 716 Prob (Omnibus ) : 0. 234 Jarque-Bera (JB) : 1. 881 Skew: 0. 604 Prob( JB) : 0.390 Kurtosis : 3. 213 Cond. No. 13.0 ==== Warnings : [1] Standard Errors assume that the covariance matrix of the errors is correctly specified
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