Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. Which of the other variables seem most likely to be useful in predicting whether a car's MPG is above or below its median? a.

image text in transcribed
1. Which of the other variables seem most likely to be useful in predicting whether a car's MPG is above or below its median? a. First create a binary variable that indicates if the particular car's MPG is equal to or above (1) or below (0) the median MPG for this dataset. b. Then create visual representations of the relationship between mpg_binary and other variables. For the Origin variable, the labels are: 1=American, 2=German, 3=Japanese. Please use this information appropriately in your analysis. c. Lastly, estimate and interpret the Logistic Regression model using mpg_binary as the dependent variable and the others as independent variables. Find the 'best' model with the given predictors. Your answer to the Logistic Regression part should at least include the following: reference p-values and explain significance/insignificance; interpret the coefficients or Odds Ratios; Pick a good threshold for your prediction cutoff and find the sensitivity and specificity of the model using that threshold; and use the above estimates to predict the probability of being above or below the Median MPG for the following car features: cylinders | displacement | horsepower weight acceleration | year origin 6 297 155 3530 13.4 79 Horse mpg cylinders displacement power weight acceleration origin aweu 18 307 130 3504 12 70 1 chevrolet chevelle malibu 15 350 165 3693 115 70 1 buick skylark 320 18 318 150 3436 11 70 1 plymouth satellite 16 8 304 150 3433 12 70 amc rebel sst 17 302 140 3449 1015 70 1 ford torino 15 429 198 4341 10 70 1 ford galaxie 500 14 154 220 4354 9 70 1 chevrolet impala 14 440 215 4312 70 1 plymouth fury ini 14 455 225 4425 10 70 pontiac catalina 15 8 390 190 3850 8.5 70 1 amc am 15 383 170 3563 10 70 1 `dodge challenger se 14 340 160 3609 8 70 1 plymouth cuda 340 15 100 150 3761 70 1 chevrolet monte carlo 14 455 225 3:086 10 70 1 buick estate wagon (sw 24 413 95 2372 15 70 3 toyota corona mark li 22 198 283 15.5 70 1 plymouth duster 18 199 97 2774 15.5 70 1 amc hornet 21 200 35 2587 16 70 1 ford maverick 27 97 18 2130 14.5 70 3 | datsun p 510

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Physics For Scientists And Engineers

Authors: Raymond A Serway, John W Jewett

10th Edition

1337671711, 9781337671712

More Books

Students also viewed these Mathematics questions

Question

2. In what way can we say that method affects the result we get?

Answered: 1 week ago