Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: FW: How to produce correlation matrix with asterisks from STATA to Latex?
From
"Martin Weiss" <[email protected]>
To
<[email protected]>
Subject
st: FW: How to produce correlation matrix with asterisks from STATA to Latex?
Date
Sun, 28 Mar 2010 17:30:53 +0200
<>
Forwarded on behalf of Jules...
Try this, and switch to text-only to post to the entire Statalist:
*******
sysuse auto, clear
estpost corr mpg weight length , matrix
esttab . using myfile.tex, not unstack compress noobs replace booktabs page
!texify -p -c -b --run-viewer myfile.tex
*******
HTH
Martin
From: Jules Hugot [mailto:[email protected]]
Sent: Sonntag, 28. März 2010 16:25
To: [email protected]
Subject: How to produce correlation matrix with asterisks from STATA to
Latex?
Hello,
I am currently writing my Master's thesis and I need to output a pairwise
correlation matrix in Latex.
I saw your post of Nov. 2nd 2009 on the STATA list.
The following commands display the matrix I want, but I do not manage to
convert it into Latex format:
estpost correlate lnTOTFLOW lnDISTW lnGDP, matrix
esttab ., not unstack compress noobs
I tried : "outtable using corrmatrix"
but outtable requires the option mat(matrixname) and I don't know what to
write as matrixname.
Maybe you can help me.
Thank you,
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/