Econometrics of data science – R language
Description
The spreadsheet 73_car_data.csv#ontains the following variables:
Variable name
Variable meaning
foreign
1 if foreign, 0 otherwise
mpg
Gas mileage (miles per gallon)
cylinders
Number of cylinders
displacement
Engine displacement (cubic inches)
hp
Horse power
weight
Vehicle weight (pounds)
acceleration
Maximum acceleration (ft/s2)
modelyr
Model year
origin
Continent of origin. 1=North America; 2=Europe; 3=Asia;
name
Vehicle name
Modyr70-82
Binary variable for model year
I. [75 points total] Using the given data, estimate a logistic regression model to explain ¯reign!s a function of selected explanatory variables, including binary variables for model year (Think about your model!).
To earn credit, please solve the following questions using R:
[15 points] Generate summary statistics for these variables (including min, max, mean, standard deviation, median, 25th and 75th quartiles) and interpret the results;
[15 points] State and justify your binary logit model explaining ¯reignü/p>
[10 points] Estimate a binary logit model that includes binary variables for model year;
[25 points] Summarize your results in a table and interpret them (odds ratios are convenient); 5. [10 points] Discuss goodness-of-fit measures;
Have a similar assignment? "Place an order for your assignment and have exceptional work written by our team of experts, guaranteeing you A results."