Hello!

I have a panel data which has a variable which is the same across countries (common), some variables which are different across groups (regional) and some variables which are specific to individual countries. I needed to calculate correlation coefficients for each country with common, regional and country specific variables and store the coefficients. Is there a command which accomplishes it?

Thank you!