Dear all,
I estimate a dynamic panel model using xtabond command. Next I use xtabond postestimation command "estat abond" to obtain Arellano-Bond test for zero autocorrelation in first-differenced errors. The results are like the one below:
Arellano-Bond test for zero autocorrelation in first-differenced errors
+-----------------------+
|Order | z Prob > z|
|------+----------------|
| 1 |-2.5735 0.0101 |
| 2 |-1.6586 0.0972 |
+-----------------------+
H0: no autocorrelation
How can I export the results, together with the A-B test results to Excel? I can export the results using outreg2 (below), but how to add the p-values from the test? I'm using Stata 16
xtabond y_var x_var1 xvar_2, maxlag(1) vce(robust)
est store results
estat abond
outreg2 [results] using results.xls stats (coef se)
Related Posts with Xtabond postestimation - export results to Excel
Sensitivity Analysis after mediation analysisDear Statalist members, I am trying to conduct causal mediation analysis and sensitivity analysis, …
Convert data from wide to longHi, My original data is as follows. The first 2 letters in each columns are variable name and year …
loop for if for making graphs...Hi statalist, I would like to make a graph using lowess command by treatment group. I have 10 treat…
XTSCC for Random EffectCan I use xtscc command to treat hetero and autocorrelation in RE model? and what command can I use …
Replace value while keeping original labelHi everyone, I would like to replace the value of X1 (SN1) by X2 (SN2) while keeping the original v…
Subscribe to:
Post Comments (Atom)
0 Response to Xtabond postestimation - export results to Excel
Post a Comment