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: Reduced Correlation Matrix


From   David Hoaglin <[email protected]>
To   [email protected]
Subject   Re: st: Reduced Correlation Matrix
Date   Thu, 4 Oct 2012 12:01:36 -0400

Before taking a correlation coefficient seriously, it is important to
look at the scatterplot.  You may want also to show the 9
scatterplots, in a "scatterplot matrix."

David Hoaglin

On Thu, Oct 4, 2012 at 9:05 AM, Meulemann  Max <[email protected]> wrote:
> I´m having a problem creating a Correlation table of 6 variables from which I only want a reduced 3x3 correlation matrix to be exported to LaTeX.
> I´ve been trying to find a stata program to do this directly without using any loop or something handmade, but it seems that there is no program that I can find.
>
> I am using Stata 11.2 for Windows.
>
> So let us say I have 6 variables from which I would get a 6x6 correlation matrix. For some reasons, I only like to have the correlation of 3 (row) variables with 3 (column) variables.
>
> I picture it somewhat to be like this:
>                            Var 4                      Var5                       Var6
> Var1                   Cor(1,4)                Cor(1,5)                Cor(1,6)
> Var2                   Cor(2,4)                Cor(2,5)                Cor(3,6)
> Var3                   Cor(3,4)                Cor(3,5)                Cor(1,6)
>
> added with standard deviation and asterixes for significance.

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


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