Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: storing correlation coefficient


From   "Armelini, Guillermo" <DOCGArmelini@iese.edu>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: storing correlation coefficient
Date   Mon, 10 Mar 2008 17:13:52 +0100

Hi statalister
 
Does anyone know how to store the correlation coefficient of a simple correlation in a new varible
 
let's say we have
 
corr X1 X2
 
             |      x1    x2
-------------+------------------
         x1 |   1.0000
       x2   |   0.3470   1.0000

local Value = "here I would like to store the value 0.347"
 
thank you
G


This message has been scanned for viruses by TRENDMICRO,
an IESE technology affiliate company  and global leader in antivirus and content security software.

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index