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

Поділитися
Вставка
  • Опубліковано 3 гру 2024

КОМЕНТАРІ • 43

  • @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.

  • @nickmwenda5183
    @nickmwenda5183 4 роки тому +1

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

  • @lauragallagher7488
    @lauragallagher7488 2 роки тому

    What a contibution to humanity. Thank you so much!

  • @tauraimakwalu9528
    @tauraimakwalu9528 6 місяців тому

    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.

  • @reptidan
    @reptidan 2 роки тому

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

  • @xshjiang
    @xshjiang 5 років тому +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!

  • @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

  • @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.

  • @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

  • @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

  • @asmamawgetnet5343
    @asmamawgetnet5343 3 роки тому

    I like your lecture

  • @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?

  • @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.

  • @voraveesaengavut890
    @voraveesaengavut890 5 років тому +1

    Thank you!!!

  • @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.

  • @alexmarvin3093
    @alexmarvin3093 Рік тому

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

  • @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

  • @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?

  • @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/

  • @danieladpsql
    @danieladpsql 5 років тому

    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

  • @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/