by mtpuglia » Mon Jul 22, 2013 11:42 am
Thank you for clearing that up. It is much appreciated.
Regarding the sequential_importance_particle_filter.m implementation, I was wondering what is the reason for line 149 and including the variance of dPredictedObservedMean in the variance of the Gaussian observation residual? I thought the variance of the observation residuals (PredictionError) conditional on the propagated states (tmp(mf1,:)) would just be H, but after looking at the code it looks like I'm going wrong somewhere. Could you shed some light on this please, or is there some detail on the derivation? I've looked at some other bootstrap/SIR particle filter implementations (for non-DSGE applications) and haven't seen this done. Just curious what the reasoning is here. I'm assuming the particle filter here assumes (possibly) non-linear states with (only) Gaussian state shocks and linear observations with Gaussian measurement errors. Is the additional term related to less restrictive assumptions being made?