Bookmark and Share

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]

Re: st: summarize correlation matrix


From   David Hoaglin <[email protected]>
To   [email protected]
Subject   Re: st: summarize correlation matrix
Date   Fri, 18 May 2012 11:43:25 -0400

Hi, Elan.

Before you become too attached to all those correlations, have you
looked at all the corresponding scatter plots?  A correlation
coefficient summarizes only the strength of linear relation.  I am
usually not interested in seeing a correlation coefficient until I
have looked at the scatter plot.  I wasn't a member of the Society for
the Suppression of the Correlation Coefficient, but they weren't
joking.

David Hoaglin

On Fri, May 18, 2012 at 11:20 AM, Cohen, Elan <[email protected]> wrote:
> 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

*
*   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/


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