Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: AW: Estimation results

From   "Martin Weiss" <>
To   <>
Subject   st: AW: Estimation results
Date   Tue, 15 Jun 2010 12:25:21 +0200


webuse pennxrate, clear

tempname hdle

capt erase info.dta

postfile `hdle' lags pval /* 
*/ using info

qui forv i=1/6{
		xtunitroot ips lnrxrate, lags(`i')
		post `hdle' (`i') (r(p_wtbar))

postclose `hdle'

u info, clear
l, noo

xmlsave "myxmlfile", doctype(excel) replace
! "C:\Program Files (x86)\Microsoft Office\Office12\EXCEL.EXE" myxmlfile.xml


-----Ursprüngliche Nachricht-----
[] Im Auftrag von Estrella Gomez
Gesendet: Dienstag, 15. Juni 2010 12:05
Betreff: st: Estimation results

Dear Statalist

I am conducting several panel unit root test in a panel dataset with the
"xtunitroot ips". I was wondering how can I export all the p-values I have
obtained to an excel file (I have conducted 12 panel unit root test, and I
would like to have all the results in the same file)

Thanks in advance
Estrella Gomez
*   For searches and help try:

*   For searches and help try:

© Copyright 1996–2017 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index