Announcement

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

  • Anyway to output Stata (14) results to word or PDF?

    I can print out the results and the display is very nice. But any way to electronic document?

    Tom

  • #2
    See `help translate` ?
    Doug Hemken
    SSCC, Univ. of Wisc.-Madison

    Comment


    • #3
      Originally posted by Doug Hemken View Post
      See `help translate` ?
      No output to PDF or word document.

      Comment


      • #4
        Originally posted by Tom Hsiung View Post

        No output to PDF or word document.
        Yes, translate can output PDF files. Did you read help translate?

        Comment


        • #5
          If you want to directly write to a Microsoft Word or pdf file from Stata 14 you can use Mata: see: help mf _docx and help mf pdf.

          Alternatively, you can use translate to translatesmcl files (which you create using log using ) to pdf files:

          Code:
          log using c:\temp\foo, replace
          sysuse auto
          reg price c.weight##i.foreign
          log close
          translate c:\temp\foo.smcl c:\temp\foo.pdf, translator(smcl2pdf)
          ---------------------------------
          Maarten L. Buis
          University of Konstanz
          Department of history and sociology
          box 40
          78457 Konstanz
          Germany
          http://www.maartenbuis.nl
          ---------------------------------

          Comment


          • #6
            The log function creates a text file. If you choose the log extension instead of smcl, you can read the text file into a word processor or whatever. If you only want results, there are many routines including outreg2 that produce word or excel files including results tables set up in standard publication formats.

            Comment

            Working...
            X