Dear Stata Community members,
I would like to ask how I can save one particular beta coefficient after running an xtreg with fixed effects (I need to save the coefficient, its standard error, P|z|, and 95% CI interval). Please note that my model has many variables but I only need to save one of the betas (the coefficient, its standard error, P|z|, and 95% CI interval).
My objective is to use that coefficient in different postestimations (done using nlcom) after running other xtreg’s in the meantime (my post-estimation involves using coefficients from different xtregs (1 from each xtreg).
I would also like to ask how I can extract that saved coefficient and “refer to it” in my postestimations (so that STATA understands which coefficient I am referring to). Is there any command similar to “global” which does such deed? I’ve tried several options. One member of our community kindly suggested the use of regress and suest: such command does achieve the goal but I have too many fixed effects (1500+ units, each of which having between 2-16 observations), which makes each post-estimation (nlcom) take about 1.5 hours. I need to do many estimations at this stage so this solution is not very efficient.
I’m struggling a lot with this so your vice would be much appreciated 😊
Kind regards,
Joao
Related Posts with How to save 1 specific xtreg beta coefficient to use in postestimations?
Addition by SICHi, Can you please help with the below. I need to add values by SIC code in the below example. (sim…
Creating a new continuous variableHi everybody, Could anyone help me out with creating a new continuous variable? My main dataset do…
robust standard error for IV panel regressionHi I have been running panel data random effect 2sls (G2SLS) and i want to robust to heteroskedastic…
Interpretation of marginal effects of a continuous variableHi all, I’ve been reading about this issue and I read pretty much all related topics but I still co…
count *same names*in other groups?Dear All, I find this question here. The data is Code: * Example generated by -dataex-. To install…
Subscribe to:
Post Comments (Atom)
0 Response to How to save 1 specific xtreg beta coefficient to use in postestimations?
Post a Comment