Export Tabs and Cross-tab (tabulation) tables from Stata to Word with asdoc

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 ก.ย. 2024
  • asdoc creates publication quality tables from Stata output in MS Word or RTF format. It can work with almost all Stata commands. Add just asdoc to any Stata command and see the magic.
    INSTALLATION :
    =============
    To install the program, type the following in Stata command window:
    ssc install asdoc
    SUPPORT WEBSITE:
    ================
    Please visit
    FinTechProfesso... for more programs and additional details about the asdoc capabilities.

ความคิดเห็น • 43

  • @tauraimakwalu9528
    @tauraimakwalu9528 4 หลายเดือนก่อน

    Wow you are good at STATA prof! Thanks for sharing this insightful information. I have subscribed to your channel to watch more of your previous videos.

  • @ryanwillis2513
    @ryanwillis2513 3 ปีที่แล้ว

    As a final year criminology student enrolled in a compulsory statistics course, I want to say thank you. This legitimately saved me over 3 hours.

  • @lauragallagher7488
    @lauragallagher7488 2 ปีที่แล้ว

    What a contibution to humanity. Thank you so much!

  • @nickmwenda5183
    @nickmwenda5183 4 ปีที่แล้ว +1

    Thank you. This is the easiest code I have seen so far.

  • @xshjiang
    @xshjiang 4 ปีที่แล้ว +2

    Amazing tutorial! Thanks so much. One question I have is that is it possible to add the % sign to the percentage? Look forward to your reply!

  • @reptidan
    @reptidan 2 ปีที่แล้ว

    amazing stuff this is going to save so much time for me!

  • @georgepsarros9521
    @georgepsarros9521 4 ปีที่แล้ว +2

    What about Chi 2 test or Fisher's exaxt test, i really cant find a way to export my p-values ?
    Thank you in advance

  • @nnanwa529
    @nnanwa529 4 ปีที่แล้ว +1

    Damn!! This is awesome. Thank youuuuuuuuuuuuu

  • @asmamawgetnet5343
    @asmamawgetnet5343 3 ปีที่แล้ว

    I like your lecture

  • @alexmarvin3093
    @alexmarvin3093 ปีที่แล้ว

    you rock.. my table looks way better this way over copying and pasting it into w/e

  • @akua415
    @akua415 4 ปีที่แล้ว +1

    Hi Dr. Shah, thank you so much for creating this package! It has been a lifesaver :) My issue is that when I enter "tab x, su(y)", everything works fine. But when I add the asdoc at the beginning "asdoc tab x, su(y)", it says the su isn't recognized. I was looking through your website, and it seems like someone else had the same problem. Is there a workaround?
    Thanks again.

  • @voraveesaengavut890
    @voraveesaengavut890 5 ปีที่แล้ว +1

    Thank you!!!

  • @martinjames27
    @martinjames27 4 ปีที่แล้ว +1

    Hello Dr. Shah! This is a great tutorial and a fantastic program! Thank you for your work and efforts! Quick question about the summary table for baseline characteristics, is there a way that the P values could be automated for the comparison in the baseline variables? Do you have a code for it? If ready, I shall be happy to buy it....if not ready, could you please let us know when ready? Thanks!

    • @StataProfessor
      @StataProfessor  4 ปีที่แล้ว

      Dear Sourbha Dani, thanks for the kind words and appreciation. Can you provide more details on the requested functionality? You can contact me at attaullah.shah@imsciences.edu.pk

  • @iam.RahulMishra
    @iam.RahulMishra 4 ปีที่แล้ว

    Thanks for this video..
    Can we use asdoc command to produce results using weights.. for example, am running following command but it's not working..
    asdoc tab district stunting [iw=wt], r nofreq

  • @Marcaumgatts
    @Marcaumgatts 5 ปีที่แล้ว +1

    Thank you for your hard work. The update to tabulate confidence intervals are already out? In some areas we prefer to report it instead of p-values, so asdoc can only help us with descriptive statistics in this version.

    • @StataProfessor
      @StataProfessor  5 ปีที่แล้ว +1

      I re-wrote the tabulate and table codes from scratch for better display. The task was heavy and needed significant amount of time and efforts. At the moment, I have excluded additional options with tabulate such as summary stats, but I plan to include these in the next version, that is asdocx. You can see updates related to this version here
      fintechprofessor.com/asdocx

  • @amaranwar1249
    @amaranwar1249 3 ปีที่แล้ว

    Asdoc does not execute additional tests such as Cramer V or Pearson Chi-Sq. results in MS Words. Could you assist on that how to bring such test results in MS Word?

  • @StataProfessor
    @StataProfessor  3 ปีที่แล้ว

    If you like asdoc, you shall like asdocx even more. asdocx can export to Excel and has tons of other features, see this link for details fintechprofessor.com/asdocx/

  • @nthapn
    @nthapn 5 ปีที่แล้ว

    Thank you so much for teaching us these techniques using asdoc. I would like to know if there is any way I can format the tables so that N and percentage are shown side by side instead of in two rows. And how can I change the column titles?

    • @StataProfessor
      @StataProfessor  5 ปีที่แล้ว

      Thanks for your comments. I am working on a more flexible program that will have the functionalities that you have asked for. The new program will be called asdocx. I hope to roll it out in the next 6 months.

  • @shrikrishnabhatk135
    @shrikrishnabhatk135 5 ปีที่แล้ว

    for bi variate tables if we conduct a chi square the results are not poping up in word file please add this i.e is test statistic and p value of chi square test

  • @mwambakapambwe2382
    @mwambakapambwe2382 5 ปีที่แล้ว +1

    After installing asdoc to Stata 15.0 it gives me "command asdoc is not recognised" when I try to use it. What's the fix for that?

    • @AttaullahShah
      @AttaullahShah 5 ปีที่แล้ว +1

      Seems your installation was not successful. Try it again with:
      ssc install asdoc, replace

    • @mwambakapambwe2382
      @mwambakapambwe2382 5 ปีที่แล้ว

      It now worked! Thanks

  • @omersahil339
    @omersahil339 3 ปีที่แล้ว

    what about matrow error? asdoc command is not work while tabulate on industry and. years

    • @StataProfessor
      @StataProfessor  3 ปีที่แล้ว

      See this link for a possible solution fintechprofessor.com/2019/04/07/the-error-option-matrow-not-allowed-when-using-asdoc-with-tabulate-command/

  • @mohitsharma5586
    @mohitsharma5586 5 ปีที่แล้ว

    How can we get 'Total' row in case of single tabulations in word document using asdoc?

    • @StataProfessor
      @StataProfessor  5 ปีที่แล้ว +1

      This is has been added to the new version. The new version of asdoc can be installed from my site. Copy and paste the following line in Stata and press enter.
      net install asdoc, from(fintechprofessor.com) replace
      Please note that the above line has to be copied in full. After installation of the new version, then restart Stata.
      Please do remember to cite asdoc. To cite:
      In-text citation
      Tables were created using asdoc, a Stata program written by Shah (2018).
      Bibliography
      Shah, A. (2018). ASDOC: Stata module to create high-quality tables in MS Word from Stata output. Statistical Software Components S458466, Boston College Department of Economics.

  • @shrikrishnabhatk135
    @shrikrishnabhatk135 5 ปีที่แล้ว

    How to get univariate totals in word out put file using asdoc. In stata Output we will get totals but Word Output we are not getting total os frequency. please reply if there is any solution

    • @StataProfessor
      @StataProfessor  5 ปีที่แล้ว

      Thanks for pointing that out, I have noted it and shall add it in the next update.

  • @divyansamson3865
    @divyansamson3865 4 ปีที่แล้ว

    Unable to override after first my file, “Myfile.doc already exists, option append was assumed” is what I get after trying first time. Kindly help

    • @StataProfessor
      @StataProfessor  4 ปีที่แล้ว +2

      This is not an error. If the file already exists and you do not use the option "replace", then asdoc will write to the same file, i.e appending to it. Make sure that the Word file is not open when you are writing to the same file.

    • @divyansamson3865
      @divyansamson3865 4 ปีที่แล้ว +1

      Yes I had the word document open now working thank you very much it’s awesome

    • @StataProfessor
      @StataProfessor  4 ปีที่แล้ว

      @@divyansamson3865 Please subscribe to the channel and also invite your friends to asdoc and to this channel. Thanks in anticipation.

  • @Militia12410
    @Militia12410 5 ปีที่แล้ว

    what is wrong sir it says
    file Myfile.doc already exists
    fopen(): 602 file already exists
    asdoc_tab_twovars(): - function returned error
    : - function returned error

    • @StataProfessor
      @StataProfessor  5 ปีที่แล้ว

      Can you please send the data file and codes to me at stata.professor@gmail.com. Also, please indicate whether you are using Windows or other operating systems? And the version of Stata?

  • @annakoren1626
    @annakoren1626 ปีที่แล้ว

    What about excel ?

    • @StataProfessor
      @StataProfessor  ปีที่แล้ว

      If you like asdoc, you shall like asdocx even more. asdocx can export to Excel and has tons of other features, see this link for details fintechprofessor.com/asdocx/

  • @danieladpsql
    @danieladpsql 4 ปีที่แล้ว

    it gives me "option matrow() not allowed

    • @ashleyftcash
      @ashleyftcash 4 ปีที่แล้ว +2

      I just had the same problem and searched for an answer online. I read that this might happen to non-numeric data. When I transformed my data into numeric, I could export it.

    • @hopefulman1529
      @hopefulman1529 4 ปีที่แล้ว

      @@ashleyftcash Very true . . . Had the same challenge and had to transform my data to numeric type