Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: RE: correlations panel data


From   "Jovina Johnson" <jovina.johnson@reis.com>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: RE: correlations panel data
Date   Wed, 16 Jun 2004 12:34:45 -0400

Hello,

I was wondering if anybody has experience training groups in Stata
programming. Any help is appreciated.



Jovina "Nicky" Johnson
Administrative Supervisor/Human Resources Assistant
Reis, Inc.
P: (212) 921-1122 x 309
F:(212) 921-2533


-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu]On Behalf Of Nick Cox
Sent: Tuesday, June 15, 2004 5:37 PM
To: statalist@hsphsun2.harvard.edu
Subject: st: RE: correlations panel data


As you have panel i.e. time series data,
getting a handle on the significance
of correlations between variables would
seem to require either an implausible
assumption of independence or some
sort of specification of
dependence structure. Which are you
thinking of, or I am missing your point?

Nick
n.j.cox@durham.ac.uk

paula garcia
>
> I need to calculate the correlation matrix among the X
> variables in my panel dataset and also if these correlations
> are significant or not. I know there a lot of possibilities
> in time series or cross-section, but not for panel data
> (unless mvcorr, but I don't want a moving window). I could do
> the following:
>
>
> xtreg x1 x2, re
> local bx = _b[x2]
> xtreg  x2 x1, re
> local by = _b[x1]
> local r = (`bx'*`by')^0.5
> macro list _r
>
>
> However, I have 20 variables, so proceeding this way could be
> very long What is more, this doesn't give me information on
> the significance.
>
> What could I do?
>
> Thanks a lot for your help in advance.

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