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: summarize correlation matrix
From
"Cohen, Elan" <[email protected]>
To
"[email protected]" <[email protected]>
Subject
st: summarize correlation matrix
Date
Fri, 18 May 2012 15:20:36 +0000
I have a large correlation matrix after running -corr- on my dataset. I'd now like to summarize that matrix, i.e. get the mean, sd, plot a histogram of the p*(p-1)/2 correlation values (where p is the number of variables). I'm not quite savvy enough in Mata and it's proving difficult in standard Stata programming. I'd greatly appreciate an answer using either.
Thank you,
- Elan
--
Elan D Cohen, MS
Center for Research on Health Care Data Center
University of Pittsburgh
[email protected]
*
* 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/