I am investigating two time series where the first is the daily closing stock price changes and the other is the daily changes in the PCE index.
I want to investigate how much the PCE index explains the returns by using a rolling granger causality like this one:
I can't find a way to get a rolling granger causality in python. Would someone mind helping me out or do I need to rethink the concept?