I've got a column of data in excel. Say A1:A10. If I want to find the lag1 autocorrelation of this data my understanding is that I can use:
CORREL(A1:A9,A2:A10)
I'd like to use this function (or an alternative) in VBA to find the autocorrelation within an array of data. What sort of notation should I use?
CORREL(A1:A9,A2:A10)
I'd like to use this function (or an alternative) in VBA to find the autocorrelation within an array of data. What sort of notation should I use?