Announcement

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

  • Export results to word

    Hi everybody,

    I want to ask you, if somebady knows how can i export the results of a regressión to word. I want to show the regression like the journals but i can´t, i just could export something like this

    Click image for larger version

Name:	2019-07-30 (2).png
Views:	1
Size:	79.8 KB
ID:	1510099


  • #2
    There are a number of user-written programs to produce publication quality output. Among them are -outreg-, -outreg2-, and -estout-. All of these programs are available for installation from ssc. In my experience, -outreg- works nicely with MS Word, but personal preferences differ here.
    See, for example, -ssc describe outreg-

    Comment


    • #3
      You can try asdoc that works with almost every Stata command and sends nicely formatted tables to MS Word. With regression commands, asdoc can export three types of tables :
      1. Detailed tables such as those produced by Stata
      2. Nested tables such as the one you have posted above
      3. Wide tables, usually good for portfolio regressions

      There is a YouTube video on how to make the nested tables, you can get the video here.

      Here is one example of a nested table.

      Code:
      ssc install asdoc
      sysuse auto, clear
      
      * add asdoc to the beginning of usually Stata command
      * After comma, I am adding option nest and replace
      * Option nest will created the nested table and option replace will replace any existing output file
      asdoc reg price mpg rep78 headroom, nest replace
      
      * Add another regressions
      asdoc reg price mpg rep78 headroom trunk , nest
      asdoc reg price mpg rep78 headroom trunk weight , nest
      Click image for larger version

Name:	Capture.PNG
Views:	1
Size:	53.5 KB
ID:	1510143


      For those who are not yet familiar with asdoc, asdoc can be downloaded from SSC and can be used with almost all Stata commands. Here is a short blog post that shows how asdoc can be used with any Stata command http://fintechprofessor.com/2018/02/...basic-example/. You can also watch several YouTube videos that show the use of asdoc https://www.youtube.com/watch?v=zdI6...LwodAk2oqLYhr-

      Code:
      * For installation of stable version
      ssc install asdoc
      
      * For installation of the new beta version
      net install asdoc, from(http://fintechprofessor.com) replace
      help asdoc
      Regards
      --------------------------------------------------
      Attaullah Shah, PhD.
      Professor of Finance, Institute of Management Sciences Peshawar, Pakistan
      FinTechProfessor.com
      https://asdocx.com
      Check out my asdoc program, which sends outputs to MS Word.
      For more flexibility, consider using asdocx which can send Stata outputs to MS Word, Excel, LaTeX, or HTML.

      Comment

      Working...
      X