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?
Instead of IV, can I simply run an OLS with the compliers?Imagine that I have a dummy variable that is a proper instrument. It identifies which observations o…
Calculating standardized differences for comparisons between groupsI'm working with a very large dataset (NCDB), given the number of observations using chi2 to compare…
xtlogit or pooled logit with repeated cross sectionsDear all, I read a lot of the posts here about this topic but I got confused about something. So I w…
Calculating indirect effects for model with multiple mediators of which only SOME are binaryDear All, Slowly going mad as to how to calculate indirect effects for my mediation model with a co…
How can I conduct Fixed Effect test in a panel with heteroskedasticity and AR(1)? Note that my panel has N<TIf N>T then vce can do the trick. xtregar can solve the AR(1) but how can I take care of both whe…
Subscribe to:
Post Comments (Atom)
0 Response to how to use stored estimates for contrasts in fixed effects regressions?
Post a Comment