state space model

Discussion of State Space and Dynamic Stochastic General Equilibrium Models

state space model

Postby iloverats » Wed Apr 06, 2011 3:12 am

:wink:
y_t=x1_t*b1_t+x2*b2+u_t,
b1_t=beta*b1_t-1+v_t,

how can i use dlm to estimate this state sapce model?

thank you
Last edited by iloverats on Wed Apr 06, 2011 10:26 am, edited 2 times in total.
iloverats
 
Posts: 45
Joined: Thu Dec 02, 2010 11:32 am

Re: state space model

Postby TomDoan » Wed Apr 06, 2011 10:30 am

iloverats wrote::wink:
y_t=x1_t*b1_t+x2*b2+u_t,
b1_t=beta*b1_t-1+v_t,

how can i use dlm to estimate this state sapce model?

thank you


That's a partially fixed, partially varying TVP model. You might want to check out:

http://www.estima.com/forum/viewtopic.php?f=5&t=631

http://www.estima.com/forum/viewtopic.php?f=5&t=932

The simplest way to handle it is to also treat B2 as a state, with a unit coefficient in the state matrix and a zero variance. So your A would be ||beta,0.0|1.0,0.0|| and SW would be ||var(v)|0.0,0.0||
TomDoan
 
Posts: 2720
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