conditional forecasts from VAR via Kalman Filter and DLM
Posted: Mon Jul 28, 2014 3:34 pm
Tom --
I expect the answer to this will be immediate to you. I am interested in using a Kalman Filter approach to getting conditional forecasts from a Bayesian VAR (replicating the forecasts that one could also get from the minimum-MSE approach of Doan, Litterman, and Sims (1984) that is embedded in condition.src), as outlined in this paper: https://dipot.ulb.ac.be/dspace/bitstrea ... tional.pdf.
The authors of this paper describe a general missing data approach and seem to indicate that, over the forecast horizon, the state variance innovation variance would be zero for all observations (missing or not). In a footnote on p.14, they reference an equivalent approach used in past work by some of the authors. In the past, I have coded up that equivalence approach and verified that it gives the same results for point forecasts and bands as does the min-MSE approach incorporated in condition.src.
My question relates to the appropriate specification of the measurement equation's error variance (SV) over the forecast horizon. In practice, in the way I have coded this up using DLM in the attached procedure, to get forecast confidence bands as wide as those I get based on the conditional forecasting approach included condition.src (holding parameter and Sigma estimates the same across efforts here), I need to specify the elements of SV to be 0 for those observations on y that are conditions and to be really diffuse for variable observations that do not correspond to conditions. If I instead set all elements of SV to 0 (or instead use NAs when I don't have conditions), I get confidence bands that are quite a bit narrower than I get with condition.src. It is hard for me to make complete sense of this because I can't see behind the scenes how DLM is dealing with missing data versus conditions over the forecast horizon. Is it in fact correct that, to replicate the min-MSE conditional forecasts of DLM using the KF, I need to set the SV matrix to be 0's everywhere except where I have a condition, at which point it should be extremely diffuse? Is it easy to explain why?
Many thanks for your help.
I expect the answer to this will be immediate to you. I am interested in using a Kalman Filter approach to getting conditional forecasts from a Bayesian VAR (replicating the forecasts that one could also get from the minimum-MSE approach of Doan, Litterman, and Sims (1984) that is embedded in condition.src), as outlined in this paper: https://dipot.ulb.ac.be/dspace/bitstrea ... tional.pdf.
The authors of this paper describe a general missing data approach and seem to indicate that, over the forecast horizon, the state variance innovation variance would be zero for all observations (missing or not). In a footnote on p.14, they reference an equivalent approach used in past work by some of the authors. In the past, I have coded up that equivalence approach and verified that it gives the same results for point forecasts and bands as does the min-MSE approach incorporated in condition.src.
My question relates to the appropriate specification of the measurement equation's error variance (SV) over the forecast horizon. In practice, in the way I have coded this up using DLM in the attached procedure, to get forecast confidence bands as wide as those I get based on the conditional forecasting approach included condition.src (holding parameter and Sigma estimates the same across efforts here), I need to specify the elements of SV to be 0 for those observations on y that are conditions and to be really diffuse for variable observations that do not correspond to conditions. If I instead set all elements of SV to 0 (or instead use NAs when I don't have conditions), I get confidence bands that are quite a bit narrower than I get with condition.src. It is hard for me to make complete sense of this because I can't see behind the scenes how DLM is dealing with missing data versus conditions over the forecast horizon. Is it in fact correct that, to replicate the min-MSE conditional forecasts of DLM using the KF, I need to set the SV matrix to be 0's everywhere except where I have a condition, at which point it should be extremely diffuse? Is it easy to explain why?
Many thanks for your help.