Hi everybody, I have a 2 time series returns of 1×789 size (X and Y).
I want to compare how similar they are and for this want to calculate the covariance and correlation. Could anybody please show me the code on how to do this?
Best wishes,
correlationcovariation
Best Answer