Hello,
We have estout/esttab, outreg2 commands to exports regression output.
Is it possible to export unit root test (Harris–Tzavalis test) results using these packages?
If yes, what is the code? I have a panel dataset and I'm testing the Harris–Tzavalis test.
Code:
xtset id Daily2
tsset id Daily2
xtunitroot ht Return if event_window==1
esttab using example1.csv, replace
which gives me the following result in STATA:
__________________________________________________ ____________________________
Harris-Tzavalis unit-root test for Return
-----------------------------------------
Ho: Panels contain unit roots Number of panels = 214
Ha: Panels are stationary Number of periods = 85
AR parameter: Common
Asymptotics: N -> Infinity Panel means: Included
T Fixed Time trend: Not included
------------------------------------------------------------------------------
Statistic z p-value
------------------------------------------------------------------------------
rho -0.0010 -3.8e+02 0.0000
------------------------------------------------------------------------------
Thanking you in advance.
Related Posts with Export unit root test results to excel?
merging two variables with different values into oneHello all, I am new to Stata, and have a midterm exam. I am hoping someone can help with a newbie qu…
Label variables ascending orderHi, I am using Stata 17. I have 61 variables in my dataset (q1-q61). I would like to label them as…
How to get p values in -mi estimate- commands like in RHi, Is there a way to get precise p values in Stata using multiple imputed data like its provided in…
Saving margins results in a program to use it in simulateDear all, I have written the following program Code: program define myprog1 replace pseudoclass …
Substantially different estimates for variance of random effects for different estimation techniquesDear Statalisters, I currently analyze an unbalanced panel with about 200 different firms and aprxi…
Subscribe to:
Post Comments (Atom)
0 Response to Export unit root test results to excel?
Post a Comment