Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Nick Cox <njcoxstata@gmail.com> |
To | "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu> |
Subject | Re: st: Panel data correlation |
Date | Tue, 1 Apr 2014 18:31:17 +0100 |
The Pearson correlation between two variables can be calculated with -correlate-. You could restrict that to different years or even different countries, although I wouldn't pay anything for correlations based on 5 values. So, what's the precise question? Nick njcoxstata@gmail.com On 1 April 2014 18:25, Anderson Macedo de Jesus <andemacj@me.com> wrote: > I need to check the correlation btw two variables in a panel data in a long format (135 countries with 5 different years for each variable). How can I do that? > As I could realize it is not possible to run the pearson correlation, right? So, I could I do that? * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/faqs/resources/statalist-faq/ * http://www.ats.ucla.edu/stat/stata/