Say I had a pool of companies (specifically the Latin American Countries). The task was to work out the 'Correlation coefficient between the returns of any 2 companies selected from "different countries and different sectors" in the Latin American region. Instead of just working out that coefficient, there are 4 variations of the task I wish to do:
- same country & same sector
- same country & different sector
- different country & same sector
- different country & different sector
How would you go about doing this?
I've started by gathering stock price info on certain companies and then have created a matrix with the correlations of every pair's stock price returns, then from there in order to get specific categories I need to choose the right pairs of companies and then average those coefficients.