asdocx: Export from Stata to Word, Excel, LaTeX & HTML Forums asdocx Forum How use asdoc or asdocx to print a Phillips-Perron test for unit root? Reply To: How use asdoc or asdocx to print a Phillips-Perron test for unit root?

Dr. Attaullah Shah
Keymaster
Post count: 106

I have added support for pperron test now in asdocx. You can update it now and try it. Here is a working example:

First update asdocx

asdocx_update
use http://www.stata-press.com/data/r13/air2

* To send the regression output to MS Word
asdocx pperron air, lags(4) trend regress

* To send the unit-root test results to MS Word
* First get the matrix
matrix A = r(cvalues)

* Now send the matrix to Word
asdocx wmat, mat(A)

Here are the results