Skip to content
Prev 5665 / 15274 Next

How to find lead-lag relation in two time series?

For lead and lags cross-correlation:

cc<-ccf(mdeaths, fdeaths,lag.max=4, plot=F)
cc
#but this function is rather ugly...

Patrick Burns a ?crit :