I'm pretty new in R and I'm working on a cross correlation model, I've searched for the answer but haven't been able to find it.
I have been able to prove the cross correlation(lag correlation) between 2 time series using the R function with "ccf".
Now based on the model created with ccf I want to be able to predict the next values of one of the variables based on the data of the other one. I don't seem to find information.
This is relatively easy in auto-correlation with Arima, but I don't seem to be able to do it with the cross correlation.
Any idea how can I achieve this?
Thanks Fernando