Page 1 of 1

Correlation

Posted: Sun Jul 15, 2018 5:21 am
by png1
Hello,

I want to calculate the correlation between two time series objects, which contain 10.000 daily observations. My workfile is unstructured and I want to calculate the correlation for each point in time (= each row) over the last 1000 observations and save the calculation in a new series object.

Any idea?

Re: Correlation

Posted: Sun Jul 15, 2018 6:12 am
by startz
Look at the function

Code: Select all

@movcor(x,y,n)

Re: Correlation

Posted: Sun Jul 15, 2018 9:18 am
by png1
That works! Thank you very much startz