historical decomposition in VAR with time-varying parameters
historical decomposition in VAR with time-varying parameters
I need to code up an historical decomposition for a VAR with time-varying parameters. Specifically, I need to decompose the variation over time in the actual data into the contributions from the structural shocks of the model. The difficult (for me, anyway) aspect of the problem is the time-variation in the parameters. One approach would be to loop over time, assigning the coefficients of the VAR at each point in time t, and using the FORECAST command to compute one-step ahead forecasts for each t on the basis of the particular shock at t, and then store the forecast for period t as the actual value in t (I would need to do this for each shock of interest). Is there some other approach that would be more efficient? Any suggestions would be appreciated.
Todd Clark
Economic Research Dept.
Federal Reserve Bank of Cleveland
Economic Research Dept.
Federal Reserve Bank of Cleveland
Re: historical decomposition in VAR with time-varying parame
Dear Todd,
I am facing the exact sam issue right now. Have you (or maybe someone else) found a practical solution to this since you posted this a few years ago?
Any suggestions would would be appreciated indeed!
I am facing the exact sam issue right now. Have you (or maybe someone else) found a practical solution to this since you posted this a few years ago?
Any suggestions would would be appreciated indeed!