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?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • Nikisha Alcindor
    Participant
    Post count: 1

    I have a quick question. How/can I use asdoc to print a Phillips-Perron test for unit root?
    Example:

    use http://www.stata-press.com/data/r13/air2
    pperron air, lags(4) trend regress

    I couldn’t get it to work.

    Thanks.

    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

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.