Reputation: 41
I want to generate an output for my correlation table so I can use it in Word. The only command I found is mkcorr
, which only generates an output I can copy in Excel, but not in Word.
I need a correlation table in Paper style ( with means, standard deviation, correlation and significance label).
Upvotes: 4
Views: 15468
Reputation: 15458
Two things:
First, the help file of mkcorr
says that you can produce the output in Word:
"mkcorr produces a correlation table in a format that is easy to import into a spreadsheet or word processing document"
Second, mkcorr
does what you want. It includes means, standard deviation, correlation and significance label (and also minimum and maximum).
Here is an example:
sysuse auto
mkcorr price mpg, log(C:\Users\Vista\Desktop\auto.doc) replace means sig cdec(2) mdec(2)
However, the output in Word needs some manipulation compared with that in Excel.
Upvotes: 2