Hello everyone,
I would like to create a correlation matrix based on panel data.
My time variable are months starting in 2004 and ending in 201.
The id variable are companies of the Nasdaq-100.
I would like to get a correlation matrix which contains different variables (like the monhtly returns, monthly trading volume or monthly search volume on Google) and the correlation between each of these variables.
My problem is that I don't know which command I should use.
I tried pwcorr but then I don't consider that I have panel data.
Would be great if you could help me!
Thanks!!
I would like to create a correlation matrix based on panel data.
My time variable are months starting in 2004 and ending in 201.
The id variable are companies of the Nasdaq-100.
I would like to get a correlation matrix which contains different variables (like the monhtly returns, monthly trading volume or monthly search volume on Google) and the correlation between each of these variables.
My problem is that I don't know which command I should use.
I tried pwcorr but then I don't consider that I have panel data.
Would be great if you could help me!
Thanks!!
Comment