15

How do you tell if the correlations at different lags obtained from the cross-correlation (ccf function) of two time series are significant.

  • 1
    Have a look at my question here: http://stats.stackexchange.com/questions/1881/analysis-of-cross-correlation-between-point-processes – nico Sep 27 '10 at 16:35
  • hi. I have one question. How can I test the significance of the correlation coefficient? I have two time series and I want to test if they are cross correlation . should I do prewhitening the two series before comuputing the ccf or there are an easy way? – user4823 May 31 '11 at 20:50

2 Answers2

20

The variance of the cross-correlation coefficient under the null hypothesis of zero correlation is approx $1/n$ where $n$ is the length of the series. The coefficients are also asymptotically normal. So approximate critical values (at the 5% level) are $\pm 2/\sqrt{n}$.

These critical values are plotted automatically in R using ccf(x,y).

Rob Hyndman
  • 51,928
  • 23
  • 126
  • 178
5

The cross-correlation coefficient does not measure dependence between time series. The proper tool for it is the coherence function. For example, see Bendat and Piersol, 2010.

Victor
  • 51
  • 1
  • 1