Hello Dear All,
I have a fixed effect model to measure the efffect of parental leave on motherhood wage gap.
My data is merged cross-sectionals. Not a panel data, there is no individual observed two or more points in time.
Here how I coded fixed effect model.
Do you think that model measures treatment effect because I dont have individual fixed effect ? Because my data is not a panel data I found this solution to apply fixed effect to cross-sectional.
And most importantly I want to see the effect of treatment on mother variable?
Do you think that it will work ? I have treated mother non- treated mothers . But I don't have any non-mother that treated.
What about if I wanna see the effect of treatment on different educational group ?
Does this code provides me the info i am trying to get?
Thanks in advance.
I have a fixed effect model to measure the efffect of parental leave on motherhood wage gap.
My data is merged cross-sectionals. Not a panel data, there is no individual observed two or more points in time.
Here how I coded fixed effect model.
Code:
reg lnincome mother age education occupation i.posttreat i.surveyyear
And most importantly I want to see the effect of treatment on mother variable?
Code:
reg lnincome age education occupation i.posttreat##i.mother i.surveyyear
What about if I wanna see the effect of treatment on different educational group ?
Code:
reg lnincome mother age occupation i.posttreat##i.education i.surveyyear margins educations , dydx(posttreat)
Thanks in advance.
Comment