Hello,
I am wondering if there is a way to determine the lead or lag between two time series with the highest correlation? For instance, if we have S&P 500 Earnings Per Share and the Year-over-year percent change in the US budget deficit, can I create a formula or use a tool to determine the lead of the deficit that has the best correlation with earnings? By trial and error it appears that Deficit today is best correlated with earnings 2 years later. But can I automate that?
Thank you in advance!
Jeff
I am wondering if there is a way to determine the lead or lag between two time series with the highest correlation? For instance, if we have S&P 500 Earnings Per Share and the Year-over-year percent change in the US budget deficit, can I create a formula or use a tool to determine the lead of the deficit that has the best correlation with earnings? By trial and error it appears that Deficit today is best correlated with earnings 2 years later. But can I automate that?
Thank you in advance!
Jeff