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?
"Random Effect model and FGLS" "Fixed effect model and FGLS"Hi Experts Hope you are doing well! Details of my dataset: Unbalanced Panel Dataset Data were tak…
Replace missing values with observations randomly generated based on a prespecified criteriaHi everyone, I am using DHS data for all countries for some exploratory analysis. The variable reli…
What are the stata commands for Poisson pseudo-maximum likelihood (PPML) in gravity model?Hey, I am estimating the gravity model to obtain residuals at the sectoral level. My goal is to calc…
Merge multiple csv filesDear all, I have a set of csv files named firm1, firm2, ..., firmn. Each file contains a specific d…
How to estimate the marginal effect after truncated regression?Dear all, I am trying to estimate the marginal effect after truncated regression, but when using the…
Subscribe to:
Post Comments (Atom)
0 Response to How to save 1 specific xtreg beta coefficient to use in postestimations?
Post a Comment