Hi everyone,
So I have 2 groups in my panel data regression which I would like to say that an independent variable is signifcantly different between them.
So:
model 1: xtreg Y X1 X2 if group ==0, fe
estimate store m1
model 2: xtreg Y X1 X2 if group ==1, fe
estimate store m2
H0: No difference between the X1s
HA: Difference between the X1's
(Note that the variables are the same in the models)
Then I wish to say that model1 X1 != model2 X1 and back it up by a statistical significance test.
My second wish is to have one table, with both the models (m1 and m2) and the difference test between them (m3).
How to do so?
I was thinking along the lines of esttab m*
But have been unable to figure it out.
Thank you in advance
Yours sincerely
So I have 2 groups in my panel data regression which I would like to say that an independent variable is signifcantly different between them.
So:
model 1: xtreg Y X1 X2 if group ==0, fe
estimate store m1
model 2: xtreg Y X1 X2 if group ==1, fe
estimate store m2
H0: No difference between the X1s
HA: Difference between the X1's
(Note that the variables are the same in the models)
Then I wish to say that model1 X1 != model2 X1 and back it up by a statistical significance test.
My second wish is to have one table, with both the models (m1 and m2) and the difference test between them (m3).
How to do so?
I was thinking along the lines of esttab m*
But have been unable to figure it out.
Thank you in advance
Yours sincerely
Comment