Hello All,
This must be a simple problem - but I have searched for a day and somehow cannot find the answer...
I am trying to do across-sample contrasts in fixed effects regressions - but I cannot find the syntax for it:
xtreg y x1 x2 if subsample==1, fe
est store M1
xtreg y x1 x2 if subsample ==2, fe
est store M2
I want to do something like
test M1_x1 - M2_x2
test M1_x2 - M2_x2
I can manually calculate the difference, but was hoping there is a stata command for me to do this?
Many Thanks.
Related Posts with how to use stored estimates for contrasts in fixed effects regressions?
what a. means in a observation?Hello, I merged two databases and after that, some observations (cells) have a string "a." What does…
repeated time values within panelDear statalisters, I am asking you for help because when I run Code: xtset firm year I receive a …
Scatterplot of dates?Hi All, I'm using STATA 15. My question is how do I convert and then format a datetime variable (c…
Improving forest plot appearanceHello, I was just looking for some advice on how to improve this (and other forest plot appearances…
How to do a margin plot with variables with non integers?Hello, I am trying to do a margin plot with interacion terms, but when I run Code: margins ssr., a…
Subscribe to:
Post Comments (Atom)
0 Response to how to use stored estimates for contrasts in fixed effects regressions?
Post a Comment