Hi all,
I am working with a Panel-Data set that includes a number of variables (e.g. Credit, GDP) and 18 countries from 1970q1 till 2019q1. As of now, the data is structured in long format.
I now would like to calculate the correlation in one variable between individual and/or multiple countries, i.e. the correlation in Credit between Austria and Germany. Also I would like to figure out what the correlation coefficient for credit between Germany and Austria is over different intervals, e.g. before 1999q4 and after 199q4.
I used the pwcorrf package, that a user recommended, but it does not allow me to specify options or if/in commands.
Thanks for your help
Related Posts with Correlation of one variable across countries in Panel Data
Bootstrapping produces coef onlyHello, I am trying to use bootstrapping to get a 95% CI for Cohen's d, but the command produces coe…
After varimax rotation stata says factors explain more than 100% of the variance.I'm using "factor." When I ask for a rotated solution (using the default - varimax orthogonal) it gi…
Problem to undestand how to work with my time series - Financial dataHello Statalist, I'm new to STATA and I have a homework where I need to find a subject and try to g…
Margins for three way interactionHi all, The code I used for three-way interaction is as follows: margins, at (Independent variable=…
Creating a categorical variable from multiple continuous variablesHi everyone, New Stata user and first-time poster here. I'm trying to create a new categorical vari…
Subscribe to:
Post Comments (Atom)
0 Response to Correlation of one variable across countries in Panel Data
Post a Comment