Hi,

I have 4 variables called x, y, x1, and y1. I define two matrices called A and B as A=[x y] and B=[x1 y1]. I want to calculate the correlation between A and B. I can do it in Matlab with corr2 function but don't know if it is possible to do it in Stata. Thank you for all help in advance.

Ulas