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
Include labels after margins pwcompare matrixFirst time poster. Apologies for errors. I'm wondering if there's a way to grab the labels along wit…
Help: Can't format xtline plotDear community, I'm having three simple issues with with an 'xtline' plot. My plot looks as follow…
Loop?I want to replicate this code up to stateid==32; from 1 to 32. How can I do this without typing it o…
1-step gmm-sys VS. 2-stepDear all, Estimating a gmm-system model with xtabond2, N=36 T=6, I got results that showed smaller …
Deflating Brent Crude Oil Prices ($US) with US CPII currently have Brent Crude Oil prices in US dollars. However, I'd like to deflate it with US CPI s…
Subscribe to:
Post Comments (Atom)
0 Response to Fixed effects model - comparing the coefficients of two different regressions
Post a Comment