Statalist


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

st: RE: storing correlation coefficient


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
Subject   st: RE: storing correlation coefficient
Date   Mon, 10 Mar 2008 17:37:52 +0100

local corrcoef=r(rho)

Martin Weiss
_________________________________________________________________

Diplom-Kaufmann Martin Weiss
Mohlstrasse 36
Room 415
72074 Tuebingen
Germany

Fon: 0049-7071-2978184

Home: http://www.wiwi.uni-tuebingen.de/cms/index.php?id=1130

Publications: http://www.wiwi.uni-tuebingen.de/cms/index.php?id=1131

SSRN: http://papers.ssrn.com/sol3/cf_dev/AbsByAuth.cfm?per_id=669945


-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Armelini, Guillermo
Sent: Monday, March 10, 2008 5:14 PM
To: [email protected]
Subject: st: storing correlation coefficient

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/


*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index