state space model

Discussion of State Space and Dynamic Stochastic General Equilibrium Models
iloverats
Posts: 39
Joined: Thu Dec 02, 2010 10:32 am

state space model

Unread post by iloverats »

: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.
TomDoan
Posts: 7814
Joined: Wed Nov 01, 2006 4:36 pm

Re: state space model

Unread post by TomDoan »

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||
Post Reply