Exporting Stata to Word using putdocx

Поделиться
HTML-код
  • Опубликовано: 15 дек 2018
  • An example of using the new putdocx command to get formatted tables of Stata 16 output exported directly into a word document.
    Link to "Gentle Introduction to Stata"
    www.amazon.com/gp/product/159...
    Link to the excellent Introduction to Econometrics Textbook by AH Studenmund:
    www.amazon.com/gp/product/933...
    Link to Jeffrey Wooldridge Introductory Econometrics Textbook:
    www.amazon.com/gp/product/813...
    My Twitter is:
    / michaelrjonas
    My Google Scholar Page:
    scholar.google.com/citations?...
    ResearchGate:
    www.researchgate.net/profile/...

Комментарии • 35

  • @ToniZ2010
    @ToniZ2010 26 дней назад

    Mike ~ this is so helpful! For so many Stata videos, this definitely stands out as the most helpful!

  • @johnmiltonasprilla-echever3991
    @johnmiltonasprilla-echever3991 3 года назад +2

    This video solve the issue of editing the resulting mess of copying Stata output and pasting in Excel or Word. Thanks Mike. Great video.

  • @user-yt7oe5jj7n
    @user-yt7oe5jj7n 11 месяцев назад

    Excellent explanation, you were clear and concrete.

  • @SebiScoot
    @SebiScoot 2 года назад

    exactly what i needed, simple but everything you need to get going :D

  • @beingfijian1855
    @beingfijian1855 2 года назад

    Fantastic video. all my queries were answered from the previous video. A lot of videos don't explain well. You nailed it. Thank you so much. Oh, I wanted to know how to export graphs, as tables and graphs are 2 important things to export to word doc.

  • @Fawad3521
    @Fawad3521 4 года назад

    Thank you Sir

  • @officialmintt
    @officialmintt 4 года назад +2

    Besides regression, does this also work for other time series results such as number of time lags and unit root testing?

  • @michaelmakin3073
    @michaelmakin3073 Год назад

    Hi MIke thanks for your help with this, is there anyway to export a regression table to word but with the Rsquared values included in the table?

  • @HuyNguyen-rv9ge
    @HuyNguyen-rv9ge 2 года назад +3

    Mike, I used your Stata codes as shown in your video, but failed:
    putdocx clear //clear putdocx
    putdocx begin //create an active.docx in memory
    putdocx paragraph //add paragraph
    putdocx text ("Evaluation: Mean and SD") //add the text of our title using putdocx text
    univar A1-A29 //estimate results
    putdocx table Table9A=etable //this step does not work
    could you please give me advice or correction?

  • @beneberuteferra1870
    @beneberuteferra1870 4 года назад +1

    Thank you so much Mike, I faced a problem, having an alert "failed to save document". May I get your help please?

  • @maithiligurjar1098
    @maithiligurjar1098 3 года назад

    Hello!
    I have a question regarding this. If I am working through cisco VPN, on the directory and I want to save it on my local computer, how can I do that? Because I am only able to save the log files on the particular working directory to which I am connected through VPN. Tried changing the work directory but no luck! Please kindly help with this. Thank you in advance:)

  • @michellewuli3040
    @michellewuli3040 4 года назад +7

    Hello Mike, thanks. I have two observations 1) The word document created does not include the top part of the regression output (source and statistics) 2) The output for test results(eg. using testparm command) does not show up in the word document. Can you give feedback on this?

    • @mengyu5641
      @mengyu5641 Год назад

      I have the same problem 😅

    • @monaxia9202
      @monaxia9202 5 месяцев назад

      Good points! And the table name is not showing up in the Word document as well?

  • @user-ty8tk5hg6r
    @user-ty8tk5hg6r 2 года назад +1

    how about save tabe and cross table summery

  • @crazymonkey11231
    @crazymonkey11231 5 лет назад +2

    Hello Mike, I want to ask if this function is only applicable to exporting regression tables or is it also applicable to exporting other tables as well such as the ADF test result? If so, do I use the putdocx table Table=etable command as well as when I was trying to do this action it says info for etable not found, I wonder if there is any way to export my ADF table to word?

    • @crazymonkey11231
      @crazymonkey11231 5 лет назад

      Thanks Mike!

    • @mikejonaseconometrics1886
      @mikejonaseconometrics1886  5 лет назад +2

      Hi Justin - the 'etable' option is specific to estimation results, and it seems there is not a direct way to apply putdocx to dfuller (or many other types) output. I've seen the option of saving the table as a matrix and applying putdocx to that. A better way seems to be to use the "asdoc" .ado file. (1) ssc install asdoc (2) asdoc dfuller x. This will create a word file that you can access right from stata with your results. You can format from there, or use built-in options (I'm still working it out)

    • @Marinkaasje
      @Marinkaasje 4 года назад

      @@mikejonaseconometrics1886 Thank you for this reply. I think it would be very interesting if you could make a video on how to work with asdoc. For example, right now I am working with the mdesc and msschk packages and would like to nicely export the tables into word, but I don't have a clue.

    • @mikejonaseconometrics1886
      @mikejonaseconometrics1886  4 года назад

      Here you go: ruclips.net/video/eBdbS_A1BNk/видео.html

  • @varunmiglani110
    @varunmiglani110 Год назад

    which one would you recommend asdoc or putdocx for students or researchers

  • @salmaneconometricscorner8364
    @salmaneconometricscorner8364 2 года назад

    Hello sir I am doing regression with bysort command at county level having different regression coefficient for each county , i want to export to excel, results for all county, which command will work to get all coefficient of regressions. Thanks

  • @karakesteven6617
    @karakesteven6617 4 года назад +1

    Hello! How do you call the document saved I can't find it in my Documents

    • @mikejonaseconometrics1886
      @mikejonaseconometrics1886  4 года назад

      Hello! The document will save to your working directory, which can be changed/set in Stata with "file" - "change working directory". Let me know if any other issues come up.

  • @kolawoleojo
    @kolawoleojo 2 года назад

    Hello Mike , thanks. However, the "putdocx table=etable" command does not work with "nestreg: reg" command. See the error report:
    Command :
    nestreg: reg ........
    putdocx table Table1=etable
    Error report:
    "information for the estimation table not found;
    Please replay estimation results and try again"
    Could you kindly help with this. Thanks

  • @MSCGERECO
    @MSCGERECO 3 года назад

    It does not work on bma results

  • @asayealamneh4085
    @asayealamneh4085 4 года назад +1

    it is a very interesting video, but not applicable for Stata version 14.1

    • @mikejonaseconometrics1886
      @mikejonaseconometrics1886  4 года назад

      Yes, sorry about that - I will add to the description that this command was introduced only in Stata 15. Thanks for watching and please let me know if there are any topics you'd like to see.

  • @anwarmohd184
    @anwarmohd184 3 года назад

    Sir stata screen is not clearly visible please..

    • @mikejonaseconometrics1886
      @mikejonaseconometrics1886  3 года назад

      Thank you for letting me know about the technical issue. I will work on re-uploading the topic with better quality.

  • @rymi
    @rymi 3 месяца назад

    Thank you sir