Dear All,
I used a fixed effect regression model through the following equations to evaluate the impact of a natural experiment on education in different groups: male and female.
Equation 1 - For male: Educationit = α0 + α1 Treatmentt + α2 Treatmentt*Rural + α3 Xit + Ɛit
xtreg Educationit Treatmentt Treatmentt*Rurali $controls i.ageit [pw=wt] if Gender==1, fe vce (cluster ea)
Equation 2 - For female: Educationit = α0 + α1 Treatmentt + α2 Treatmentt*Rural + α3 Xit + Ɛit
xtreg Educationit Treatmentt Treatmentt*Rurali $controls i.age [pw= wt] if Gender==0, fe vce (cluster ea)
I am interested in testing if the coefficient (α1 + α2) in Equation 1 (male) is statistically different from the coefficient (α1 + α2) in Equation 2 (female).
Do you please have an idea of what command to use to test this in stata? I recall that the "suest" command is not suitable for the "xtreg" command.
Thank you and I look forward to reading you,
Davis
Related Posts with Fixed effects model - comparing the coefficients of two different regressions
Pooled Regression with time variableHi All, I have annual data, and I want to run a pooled OLS regression and include a time variable a…
Creating a new variable based on all the following values of an existing variableHello -- I was unsure how to word the title, but hopefully it offers some clue as to what I am tryin…
LoopHello I have a panel data of ten 9 countries, I want to run this code for the pair of 4 countries …
Heckman selection model instrument validityHello I have a question about instrument validity in Heckman's selection model. For this purpose, I …
qlqc30 command questionHi, I'm trying to analyze quality of life data using the qlqc30 command (https://journals.sagepub.co…
Subscribe to:
Post Comments (Atom)
0 Response to Fixed effects model - comparing the coefficients of two different regressions
Post a Comment