Hello

I have panel data comprising companies from multiple economic sectors. I am trying to create a table containing correlations between a variable Y and several variables X1 X2 X3 per economic sector (sector). Please note that I am not interested in the correlations among X1,X2,X3. I have looked at the statsby documentation but can't find how to do it. Does anybody know of a command that would do this? Any help would be much appreciated!

Kind regards,
Joao