Hey all, happy new year!
I want to ran a study event regression in the following way:
Now Stata automatically omitted the variable that was created for years_from_first_birth == 5, but I want it to omit the variable for years_from_first_birth == 0. How can I command Stata to do so?
BTW - if you know a better way to regress what I did please tell me, I'm sure I used the best way.
Thank you!
Fitz
I want to ran a study event regression in the following way:
Code:
xtset id years_from_first_birth xi: xtreg income_in_2018_prices i.years_from_first_birth i.year i.age if gender == 0, robust xi: xtreg income_in_2018_prices i.years_from_first_birth i.year i.age if gender == 1, robust
BTW - if you know a better way to regress what I did please tell me, I'm sure I used the best way.
Thank you!
Fitz
Comment