swhat

Discussion of State Space and Dynamic Stochastic General Equilibrium Models

swhat

Postby ivory4 » Mon Mar 01, 2010 11:18 pm

option swhat in DLM is the same as output parameter state variance?

Like here swhat and vstates
dlm(c=1.0,sx0=1.e+7,sv=15099.0,sw=1469.1,presample=x1,y=nile,$
type=smooth,vhat=vhat,svhat=fhat,what=what,swhat=swhat) / $
xstates vstates

By test they are the same. Are there any traps here?
ivory4
 
Posts: 149
Joined: Mon Aug 24, 2009 12:16 pm

Re: swhat

Postby TomDoan » Tue Mar 02, 2010 11:40 am

They shouldn't be the same, and, so far as I can tell, aren't. I get the following values from that example:

disp vstates(1)
4030.53277

disp swhat(1)
1468.88426
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