Statalist


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

st: AW: generating a variable with correlations


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
Subject   st: AW: generating a variable with correlations
Date   Mon, 8 Jun 2009 22:45:25 +0200

<> 

You may like

*************
h corr2data
*************



HTH
Martin


-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] Im Auftrag von Stefano Bonini
Gesendet: Montag, 8. Juni 2009 22:44
An: [email protected]
Betreff: st: generating a variable with correlations

Hi
I have a dataset with time-series of observations on different items (say, accounting items) of the same company for a panel of companies.
I need to generate a variable with correlations of these items within the same company over time.
I will then study the effects on this variable of some exogenous macro factors.
Unfortunately, it seems I cannot use egen,pwcorr and corr commands as they just generate results and not a variable. 
Is there any way to do this without writing a program?

Thanks!

Stefano

Ph. +1 212 998 0305
Email [email protected]
*
*   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/


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