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
Related Posts with Correlation between two matrices
Help with creating a dummy variable that depends on the last integer of a dateHey y'all. I've been stuck on creating a dummy variable called summer that's 1 when the integer end…
Including an extra independent variable in a panel regression reports missing t-statistics/std. errorsHello everyone, I have a panel dataset, where the panel variable is industry code (I am doing an in…
Presenting industry and year coefficient using a 3D graphHi all I regress y on X1 and X2 per each industry and year group. My coefficient of interest is the…
Contents of c(seed) in Stata 5.1I have recently upgraded from Stata 13.1 to Stata 15.1, and I am noticing a difference when I am doi…
Estimating Incidence Rate using poisson regressionHi All, Up to now I have benefitted a lot from this forum. One question I can’t get my head around …
Subscribe to:
Post Comments (Atom)
0 Response to Correlation between two matrices
Post a Comment