Cross-Correlation with NCL (function esccr)

From: daniel.buettner <daniel.buettner_at_nyahnyahspammersnyahnyah>
Date: Mon Nov 28 2011 - 07:29:37 MST

Hello everyone,

I would like to know about the exact direction of the lag when doing a
cross-correlation between variables x and y. More precisely, I want to
know what the following (taken from the discription of the esccr
function) really means:

x_Lead_y = esccr(x,y,mxlag)

Assume, just for simplicity, both x and y have values for 5 timesteps
(t0,t1,t2,t3,t4). For lag=0 this would mean a correlation between


If we have mxlag=1, to which direction is y shifted when applying
x_Lead_y = esccr(x,y,mxlag)?

Is it in the way that the following values are correlated?


Or the other way round:


I would suggest it's done in the former sense because this is how I
would interpret the term "leading". But I would be happy if someone can
make this perfectly clear to me.

Thanks for any help!


ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
Received on Mon Nov 28 07:30:05 2011

This archive was generated by hypermail 2.1.8 : Wed Nov 30 2011 - 19:52:47 MST