I am trying to compare the coefficients of two panel data regressions with the same dependent variable. In Stata i use these commands for the regressions
xtreg y1 x i.z xtreg y2 x i.z I want to check whether the βs are significantly different.
With two regular regressions I would use something like the following code in Stata to test a cross-equation restriction:
sureg (y1 x ) (y2 x ) lincom [y1]x - [y2]x However Stata is explaining that this is not possible when I try to use xtreg.
I have searched a lot of different sites. However I do not have a clue, hopefully you guys can help.
xtreg y1 x i.z xtreg y2 x i.z I want to check whether the βs are significantly different.
With two regular regressions I would use something like the following code in Stata to test a cross-equation restriction:
sureg (y1 x ) (y2 x ) lincom [y1]x - [y2]x However Stata is explaining that this is not possible when I try to use xtreg.
I have searched a lot of different sites. However I do not have a clue, hopefully you guys can help.
Comment