Dear all,
I am having a difficulty with the reference value in this regression (it is a DID regression, where Bpopulation is a continuous variable and child_year_birth takes the years from 2008 to 2018, provinceOfBirthFE are dummy vars for provinces and yearOfBirthFE are dummy vars for years):
(this is for testing PTA)
Even though I want 2012 to be the ref, Stata is forcing the last year to be the ref. I wonder why is that (dropping dummy vars for years does not solve the problem).
I appreciate your help.
I am having a difficulty with the reference value in this regression (it is a DID regression, where Bpopulation is a continuous variable and child_year_birth takes the years from 2008 to 2018, provinceOfBirthFE are dummy vars for provinces and yearOfBirthFE are dummy vars for years):
Code:
reg birth_weight_kg c.Bpopulation#ib2012.child_year_birth `provinceOfBirthFE' `yearOfBirthFE' , cluster(prov_birth_child_code) margins ib2012.child_year_birth, dydx(Bpopulation) noestimcheck post marginsplot, yline(0) level(95)
Even though I want 2012 to be the ref, Stata is forcing the last year to be the ref. I wonder why is that (dropping dummy vars for years does not solve the problem).
I appreciate your help.
Comment