Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: summarize correlation matrix

From   "Cohen, Elan" <>
To   "" <>
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 

*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index