Announcement

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

  • correlation table

    Hi all,

    I would want to create a table, that can be export in word file, that shows the correlations between all the variables.
    More precisely, I would want to create a table that replicate the result I get when I run the following command:
    pwcorr y x1 x2 x3 x4, sig star(.05)

    Thank you!

  • #2
    You'll increase your chances of a useful answer if you follow the FAQ on asking questions - provide Stata code in code delimiters, Stata output, and sample data.

    You can copy (with table option) and past directly from the output window. Make up your word file with a table, then copy and paste into it. [There are probably more efficient ways to do this, but this works and is simple.]

    Comment


    • #3
      Lucia: Phil's advice is very pragmatic (and is what I usually do). In your particular case with pwcorr you might find that the output "looks nicer" if you do this
      Code:
      pwcorr y x1 x2 x3 x4, sig star(.05)
      estout r(C)
      Then you can either copy-and-paste that output (again with "table" option) or send your estout results directly to a file.

      Comment

      Working...
      X