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?
Fixed effect (xtreg) and control variablesHello. I am working with fixed effect model on the impact of highspeed rail on local economic activi…
Clustered standard errors in DID LSDV regressionHello Statlisters, I apply a DID approach on trade diversion in regard of antidumping duties impose…
Clustered standard errors in DID LSDV regressionHello Statlisters, I apply a DID approach on trade diversion in regard of antidumping duties impose…
Cubic splines approximation vs the trapezoidal methodDear other statalist users I've done incremental area under the curve (iAUC) calculations for gluco…
ttest using a null hypothesis other than zeroI would like to run one-sided ttest (either paired or independent samples) with the null hypothesis …
Subscribe to:
Post Comments (Atom)
0 Response to how to use stored estimates for contrasts in fixed effects regressions?
Post a Comment