Dear Stata community
I am experiencing a problem in the rd command.
I have a variable called accidents_day that contains information on the number of accidents for every day since 2004. There has been a large road-safety campaign in February 2009 and I am trying to evaluate its effectiveness on the number of accidents.
Therefore, I generated a dummy variable campaign=0 before feb 09 and campaign=1 after. Using RDD, I would now like to estimate its effect.
I tried rd accidents_day campaign but I get the error message no observations r(2000).
Searching for similar inquiries didn't help, the problem there usually seems to be that the data is string. In my case, all variables are numeric.
What am I doing wrongly?
I am experiencing a problem in the rd command.
I have a variable called accidents_day that contains information on the number of accidents for every day since 2004. There has been a large road-safety campaign in February 2009 and I am trying to evaluate its effectiveness on the number of accidents.
Therefore, I generated a dummy variable campaign=0 before feb 09 and campaign=1 after. Using RDD, I would now like to estimate its effect.
I tried rd accidents_day campaign but I get the error message no observations r(2000).
Searching for similar inquiries didn't help, the problem there usually seems to be that the data is string. In my case, all variables are numeric.
What am I doing wrongly?
Comment