Announcement

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

  • Laurence Lester
    replied
    Dear Attaullah
    Thank you very much for your efforts with asdoc. I have begun to use it but have come across some problems that I can't solve (I expect it is a silly error on my part). Here is the code I am running and a note with the error asdoc reports:

    Code:
    [** Test #1
    
    sysuse auto, clear
    asdoc, text(A car is a wheeled motor vehicle used for transportation) replace fs(10)
    asdoc, text(Most definitions of car say they run primarily on roads, seat one  append fs(10)  
    asdoc, text(to eight people, have four tires, and mainly transport people.) append fs(10)  
    asdoc des, position type isnumeric format vallab append
    ** As expected to here.
    
    asdoc tab foreign, append
    ** Error message after this line:
    *    "tabsumManyVars():  3200  conformability error
    *    <istmt>:     -  function returned error
    *    r(3200);"
    
    
    ** Test #2
    asdoc, text(A car is a wheeled motor vehicle used for transportation) replace save(C:\temp\Test.doc)
    ** As expected to here
    .
    asdoc, text(Most definitions of car say they run primarily on roads, seat one) append save(C:\temp\Test.doc)
    ** Error file does not contain appended text
    
    asdoc, text(to eight people, have four tires, and mainly transport people.) append save(C:\temp\Test.doc)
    ** Error file does not contain appended text
    
    asdoc des, position type isnumeric format vallab save(C:\CHURP2018\Test.doc) append
    ** Error message after this line:
    *    "file C:\CHURP2018\Test.doc already exists
    *    r(602);"
    Any help would be appreciated.
    Regards
    Laurence

    Last edited by Laurence Lester; 18 May 2018, 01:51.

    Leave a comment:


  • Ariel Karlinsky
    replied
    The following code:
    Code:
    webuse byssin1, clear
    asdoc table race sex, c(mean smokes median pop)
    creates a table, yet issues the following note:
    Code:
    note: cellwidth too small, cannot display column heading;
    to increase cellwidth, specify cellwidth(#)
    Yet if I specify cellwidth(), I get the following error:
    Code:
    option cellwidth() not allowed

    Leave a comment:


  • Attaullah Shah
    replied
    Changyan Peng Thanks for your comments. I shall appreciate if you spread the word among your circles of researchers.

    Leave a comment:


  • Changyan Peng
    replied
    Dear Professor Shah,

    Thanks a million for sharing this super handy code! It is quite helpful and will definitely save a lot of time for researchers all around the world.

    Leave a comment:


  • Attaullah Shah
    replied
    I think you want to generate two nested tables, for that you can consider the reset option when using nest option in asdoc. For a more relevant answer, can you please share an example dataset and the codes that you have used for the nested regression tables.

    Leave a comment:


  • Yin Qau
    replied
    Let me thank you first for this wonderful program. I have used it with many Stata commands and it successfully sends Stata output to MS Word in great-looking tables. I have one question. I want to put all nested regression tables in one word file and I try the append function and different table name function, but I can not be successful to put them into one word file. Could you give me some advices about it?

    Leave a comment:


  • Attaullah Shah
    replied
    Here is one example to use asdoc with suest

    Code:
     webuse income
    regress inc edu exp if male
    estimates store Male
    regress inc edu exp if !male
    estimates store Female
     suest Male Female
    See the attached file "Myfile.doc ​​​​​​" that is produced by asdoc.

    I am not familiar with Baron and Kenny method in Stata, however, whatever command it has, you can try adding asdoc as a prefix to that command.

    Leave a comment:


  • Roman Johnson
    replied
    How would I report post-estimation command results? I am specifically interested in reporting my output from my suest command (Baron and Kenny mediation analysis). Thank you, Dr. Shah, for this amazing program and your help. I will be sure to cite your program in my research.

    Leave a comment:


  • Xie Jinhua
    replied
    here is the method to export the results of t-test via the professor Shah's timely and friendly help.
    Attached Files

    Leave a comment:


  • Attaullah Shah
    replied
    The problem is that I forgot to add aseploc program in the asdoc files. In the next update, I shall add it. For time being, you can install the program from my website, type the following in Stata command window.

    Code:
    net install aseploc, from(http://FinTechProfessor.com)

    Leave a comment:


  • Youshida Koki
    replied
    Dear Dr. Attaullah Shah :
    Hi, I am one of the stata learners and fans. I appreciate that you develop "asdoc" program, which helps me a lot during the stata exporting process.
    while I met some problems when i ran the program related to "ttest". when i execute this program, such as
    Code:
    asdoc ttest mpg==price, replace
    . the system will remind me that "command aseploc is unrecognized" . i am wonder there is something wrong about the program, or maybe it indicates a problem with my stata version and something else.


    Best wishes!

    Leave a comment:


  • Attaullah Shah
    replied
    Dear Ariel Karlinsky , right from the beginning, I planned writing the asdoc program for MS Word or RTF reader. I appreciate your comments and I have noted your suggestions. I shall definitely consider csv/Excel format in future updates of the program.

    Leave a comment:


  • Ariel Karlinsky
    replied
    Seems very useful! can an option to write to csv\excel file be added?

    Leave a comment:


  • Bushra Sarwar
    replied
    Thankyou Sir. This is very useful.

    Leave a comment:


  • Festus odingo
    replied
    Thanks Attaullah Shah,
    This is such a big break through Shah. i've gone through it personally and most of my problems i earlier posted have been greatly solved.
    I appreciate the good work

    cheers

    Leave a comment:

Working...
X