Solved – Cross-correlation of two non-stationary time series

I wish to test the cross-correlation of two time series to measure how "instantaneously related" my time series are. However, I am not quite sure if I should difference my time series first, and make them stationary? Because they obviously aren't:

enter image description here

enter image description here

And the cross-correlation I get is very different if I difference my time series, or not.

Cross-correlation cff() on original non-differenced data:

enter image description here

Cross-correlation cff() on differenced data with diff():

enter image description here

Which one is right? Am I supposed to use cff() on stationary data only? Thank you for the help.

The idea of how instantantaneously two series requires the forming of a useful ROBUST model. This is called a Transfer Function and sometimes a PDL model or ADynamic Regression. So my answer deals with forming a useful model.

Box and Jenkins suggested pre-filtering where the differencing operator identified as part of the ARIMA process was used as part of the filter to identify model form via the resultant cross-correlation . See AND (ignoring the discussion of the CORNER METHOD ) AND . However if both X and Y are I(1) .. it is still possible that Y and X can related without any differencing at all which suggests that alternative approaches to incorporating differencing in the TF model or not be on the table.

cross-correlations between two series are DESCRIPTIVE but not INFERENTIAL .. . Apparently GOOGLE folks don't read the classics when they suggest cross-correlations as a way of assessing predictability en route to causation.

why don't you post your data and I will try and help you.

Similar Posts:

Rate this post

Leave a Comment