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

st: generating a variable with correlations

From   Stefano Bonini <>
Subject   st: generating a variable with correlations
Date   Mon, 8 Jun 2009 16:43:34 -0400 (EDT)

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?



Ph. +1 212 998 0305
*   For searches and help try:

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