Hello,
I am running a model that has individual Fixed effects and survey fixed effects.
And its has data from two waves of a longitudinal survey. So the time period is 2 years.
I employed district -Survey Fixed effects as well to capture any changes that might happen at district level over the two survey years.
Is it wrong to do this?
Will the individual fixed effects and survey fixed effects already incorporate these variations?
Since its a two period model I coded the District-Survey FE like this
I am running a model that has individual Fixed effects and survey fixed effects.
And its has data from two waves of a longitudinal survey. So the time period is 2 years.
I employed district -Survey Fixed effects as well to capture any changes that might happen at district level over the two survey years.
Is it wrong to do this?
Will the individual fixed effects and survey fixed effects already incorporate these variations?
Since its a two period model I coded the District-Survey FE like this
egen district_id =group(STATEID DISTID)
egen distyear= group(district_id SURVEY)
and then in the model incorporated it like this
xtset Individualid
xtreg y x i.SURVEY i.distyear ,fe cl(IDPSU)
egen distyear= group(district_id SURVEY)
and then in the model incorporated it like this
xtset Individualid
xtreg y x i.SURVEY i.distyear ,fe cl(IDPSU)
Comment