Answered step by step
Verified Expert Solution
Question
1 Approved Answer
The file Crime contains yearly observations for the crime rates in the United States from 1980 to 2019. The column F contains information on party
The file Crimecontains yearly observations for the crime rates in the United States from 1980 to 2019. The column F contains information on party affiliation of The President during that year.
- Create a dummy variable for the party affiliation of The President of the United States for each year in the data. It's up to you to chose which values to assign for Republican and Democrat.
- Provide the summary statistic (mean and st. deviation) for the following variables: Dummy variable for party affiliation and the Violent crime rate.
- Using the scatterplot, check if there is a time trend for total number of crime (for your scatterplot, time trend variable should be on horizontal axis and violent crime should be on vertical axis). Please insert your scatterplot below. Why do you think you get the result you get?
- Estimate a regression in which the dependent variable is Violent Crime and independent variables are trend and the dummy variable for the party affiliation (that you created in part a). Insert the table with results here.
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