Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Willem Boorsma
    replied
    Great, it worked!

    Thanks for your help and for your great command.

    Leave a comment:


  • Attaullah Shah
    replied
    Seems to me the problem is caused by your university account, possibly interfering with the installation. The three asdoc files are given in this zipped folder https://www.dropbox.com/s/terpqll6ev...asdoc.zip?dl=1 . Files asdoc.ado and asdoc.sthlp should be placed in
    Code:
     c:/ado/plus/a
    And lasdoc.mlib file should be placed inside


    Code:
    c:/ado/plus/l
    The last letter is small L

    Leave a comment:


  • Willem Boorsma
    replied
    I already tried reinstalling obviously, however that does not work for me.

    I am currently using Stata 15.1 on Windows 7 Enterprise (University account).

    Leave a comment:


  • Attaullah Shah
    replied
    Please reinstall asdoc by
    Code:
    ssc install asdoc, replace
    If the problem persists, then please send the following information:
    Your Stata version
    Operating system

    Leave a comment:


  • Willem Boorsma
    replied
    Hi,

    asdoc was very useful for me so far, however I encountered a problem lately.

    Code:
    sysuse auto, clear
    asdoc sum price
    
        Variable |        Obs        Mean    Std. Dev.       Min        Max
    -------------+---------------------------------------------------------
           price |         74    6165.257    2949.496       3291      15906
                    
    <istmt>:  3499  asdocsum() not found
    
    r(3499);
    It seems Stata does not recognise the asdoc command and combines it with sum.
    Furthermore, I can't find myfile.doc anywhere.

    Leave a comment:


  • Cooper Felix
    replied
    Thanks for the great command, which saved me tons of time.

    Leave a comment:


  • Attaullah Shah
    replied
    The new version of asdoc has been uploaded to the SSC. Details of the updates are given in this post
    https://www.statalist.org/forums/for...ord-from-stata

    Leave a comment:


  • Attaullah Shah
    replied
    A big update is around the corner. It will significantly upgrade asdoc, including the option for setting the font style. Do check back in a week or two.

    Leave a comment:


  • Sang-Bum Park
    replied
    Thank you for your reply, Attaullah Shah. Can font also be changed into other types such as Times New Roman?

    Leave a comment:


  • Attaullah Shah
    replied

    Here is one example of using asdoc with the Hausman test

    Code:
    * Use the grunfeld dataset in the example
    webuse grunfeld
    
    * Estimate the fixed effect model
    xtreg invest mvalue kstock, fe
    
    * Store the estimates of the fixed effect model. 
    estimates store fixed
    
    * Estimate the random effects model
    xtreg invest mvalue kstock, re
    
    * Store the estimates of the random effects model
    estimates store random
    
    * Apply the Hausman test and write its results to Word file using asdoc
    asdoc hausman fixed random
    Click image for larger version

Name:	hausman.png
Views:	1
Size:	7.0 KB
ID:	1484976

    Last edited by Attaullah Shah; 22 Feb 2019, 01:24.

    Leave a comment:


  • Sang-Bum Park
    replied
    Can asdoc also produce a result table of Hausman test?

    Leave a comment:


  • Attaullah Shah
    replied
    Thanks for your feedback.

    Leave a comment:


  • Kiran Abro
    replied
    Attaullah Shah yes i got it and copied table to my results doc and closed it. however, this is really great you have done marvelous job.

    Leave a comment:


  • Attaullah Shah
    replied
    Kiran Abro Sounds great that you have solved your problem. However, the error message that you have reported "
    File Myfile.doc already exists, option append was assumed)
    file Myfile.doc could not be opened for read/write"
    occurs when the file is open and you are trying to write to it. When you run asdoc and save to the same file which is currently open, it will not work. Either, you have to close the file or use a different file name using the option save(File_name).

    Leave a comment:


  • Kiran Abro
    replied
    issue resolved i just copied that table in another word doc and unsaved it from my.doc

    Leave a comment:

Working...
X