Announcement

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

  • Stata tables

    Hi,
    Any efficient way to copy Stata outcomes (tables) to the e.g. Word doc without losing their structures?

    Much appreciated.

  • #2
    try -tabout- our -outreg2- depending on the type of table.

    Comment


    • #3
      Thanks Ben,
      I tried but doesn't work.

      My table is for panel data- xtreg....

      how can I write the code in this case?
      thanks

      Comment


      • #4
        They should work for xtreg, as well. I know -estout- and -esttab- work with it, at least. You will have to read through the help files to get started (as we all did!).

        Comment


        • #5
          Thanks Joshua,
          struggling to start, any help?

          Comment


          • #6
            outreg2 works fine for xtreg:

            Code:
            cd c:\data
            clear
            set obs 100
            gen beta=rnormal()
            gen id=_n
            expand 10
            forvalues i=1/5 {
                gen x`i'=rnormal()
                }
            gen y=x1+x2+x3+x4+beta+rnormal()*3
            
            reg y x*
            
            xtset id
            
            xtreg y x*
            outreg2 using myfile, replace see word

            Comment


            • #7
              Does anyone know why estout gives a p-value of exactly 0.05 as significant and on the bottom it gives * p<0.05, **p<0.01, ***p<0.001 ? Should I change it to p=<0.05 ?

              Comment

              Working...
              X