why estimate twice in DLM

Discussion of State Space and Dynamic Stochastic General Equilibrium Models

why estimate twice in DLM

Postby hardmann » Wed Feb 20, 2013 9:15 am

dear Tom:

I read codes of "an introduction to state space..." JFCC & SJK. In chart 3., UK data, I found the DLM estimate twice both in deterministic and stochastic models. The first estimate for @stampdiages with default option type=filter, the second estimate for level and irregular component with option type=smooth.
Why does not diagnostic test residue from rather smoothed state equation than filtered state equation?

hardmann
hardmann
 
Posts: 48
Joined: Sat Feb 26, 2011 10:49 pm

Re: why estimate twice in DLM

Postby TomDoan » Wed Feb 20, 2013 10:58 am

Each model is estimated once. The second model has one DLM used to do the estimation of the component variances and another to do the smoothed states.

Diagnostics are done based upon Kalman filtering because, if the model is correct, the Kalman filter vhats are serially independent, and thus it's relatively easy to create diagnostics. The Kalman smoothing statistics aren't independent, and, in fact, have a very complicated covariance pattern.
TomDoan
 
Posts: 2718
Joined: Wed Nov 01, 2006 5:36 pm


Return to State Space Models/DSGE

Who is online

Users browsing this forum: No registered users and 1 guest

cron