For this question, use the data set DiD_health.csv.
Import the data in R using the readr command. Be sure to load the tidyverse and broom packages. The data provide you information on murders in CO both before and after marijuana legalized in 2014. Colorado has treat=1, and the control region has treat=0.
What is the average level of murders in CO before marijuana legalization for the years 2010 to 2013?
What is the average level of murders in the control region after legalization (from 2014 to 2017).
What is the difference in difference estimate of the effect of marijuana legalization on murders using data from 2010 to 2017 use the means of the treated group after-before, and the mean of the control group, after-before.
Now run a regression using data from 2010 to 2017. Include a dummy variable for treat. Include a dummy variable for after. Make a dummy variable for an interaction between treatment and after. What is the coefficient on the interaction between treatment and after?
Please upload a file with a figure with year on the x axis, murders on the vertical axis, with separate time series for the treatment and control regions (connected with lines).
"Place your order now for a similar assignment and have exceptional work written by our team of experts, guaranteeing you A results."