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
when combining graphs, can we put the three figures in a triangular position?I know a useful command grc1leg2, can we use it to combine three figures in a triangular position, s…
Transpose and CollapseGood Morning Stata Members, Below is an example of my data structure: SchoolCode,CourseCode, V1, …
Using loop to import and merge excel filesHi, Please, I have 5 excel files: "File1.xls" to "File5.xls". Each file contains only 1 sheet: "She…
table / collect - odd behaviourI am trying to construct a simple table following a paired -test to show the mean difference, p valu…
Probit marginal effects output table to WordHi, I'm trying to make a regression table using Probit which reports marginal effects, and which I …
Subscribe to:
Post Comments (Atom)
0 Response to Correlation of one variable across countries in Panel Data
Post a Comment