New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
averages chart: DID regression results may be incorrect #416
Comments
note how the intercept in the DID regression is the average in year 70, whereas it should be the average in year 60, as in the regular regression output. it seems that maybe the dummies are switched around in the DID regression, i.e., year 60 = 1 and year 70 = 0? |
When I checked this, it was using t1 = 1960 = 0 and t2=1970 = 1 -- did you On 3 May 2016 at 13:17, Luc Anselin notifications@github.com wrote:
Julia Koschinsky, Ph.D. http://geodacenter.asu.edu |
see screen shot above, period 1 is 60 and period 2 is 70 |
after exporting the dummy variables and running the DID regression "by hand", the results are different. the intercept is different, but the slope coefficient of the dummy is correct, although with the wrong sign.
for example comparing HR60 and HR70, which sets the time dummy to 1 for 70, it is clear that the mean for 70 is greater than the mean for 60, yet the DID coefficient of the time dummy is negative.
The text was updated successfully, but these errors were encountered: