Hi, I am pretty new to Stata. Forgive me if my question sounds stupid.
I am trying to run regression on
dependent variable: lnratio
other variables are all dummies from year2000 to year 2014
I am trying to ask Stata to omit the first dummy (year2000) but it didn't really follow my instruction and neither did it drop the first variable automatically. Had several attempts below and need help on how I can ask Stata to drop the base year2000 dummy.
. reg lnratio year2000-year2014 i.year
year ambiguous abbreviation
r(111);
. regress lnratio year2000-year2014 ibyear2000.year
ibyear2000.year invalid name
r(198);
. xtreg lnratio* year*,fe
must specify panelvar; use xtset
r(459);
Thanks
Esther
I am trying to run regression on
dependent variable: lnratio
other variables are all dummies from year2000 to year 2014
I am trying to ask Stata to omit the first dummy (year2000) but it didn't really follow my instruction and neither did it drop the first variable automatically. Had several attempts below and need help on how I can ask Stata to drop the base year2000 dummy.
. reg lnratio year2000-year2014 i.year
year ambiguous abbreviation
r(111);
. regress lnratio year2000-year2014 ibyear2000.year
ibyear2000.year invalid name
r(198);
. xtreg lnratio* year*,fe
must specify panelvar; use xtset
r(459);
Thanks
Esther
Comment