Hi,
I am using a panel data which consists of individual's employment data from 1998-2017. I am trying to utilize a shock that occured in 2013.
Dv: labor_outcome (1 if labor market movement occurs and 0 otherwise)
Independent variable: years_beyond_2013 (=1 starting year 2013 through 2017 and 0 for previous years)
When I run the following command, the year 2017 gets dropped in addition to year 1998. I understand why year 1998 gets dropped due to the i.year and 1998 becomes the base year. I am trying to figure out why the year 2017 gets dropped.
xtreg labor_outcome years_beyond_2013 i.year, fe
Is this the right specification for me? Also, if 2017 gets dropped due to the colinearity caused by years_beyond_2013 and possible year fixed effects, how can I set the baseline year that gets dropped for that dummy?
Any help would be appreciated.
Best,
Sukhun
Related Posts with Panel data with shock
Granger test and var (xtvar, prHi everyone, I am encountering a few problems when I tried to run var codes to be followed by a Gra…
PlottingThere are two groups- X and Y. X has n1 observtion, Y has n2 observation. Each observation of X and …
GSEM in STATAHello. I'm a new user of STATA and struggle to get thinks done. I want to build a GSEM model where t…
Esttab problem with interaction fixed effectHello, I am using a survey dataset (the World Values Survey) and trying out the following code in S…
use loop (e.g., foreach) across two vars to derive a third var (30 iterations)Hello All, I have 30 pairs of variables from which I need to derive 30 new variables. I'd like to u…
Subscribe to:
Post Comments (Atom)
0 Response to Panel data with shock
Post a Comment