State space representation in Dynare

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

State space representation in Dynare

Postby ingstr » Fri May 05, 2017 7:46 am

A short note on the state space representation in Dynare.
Attachments
TechnicalMemo_State space representation of a model implemented in Dynare_IngvarStrid_170227.pdf
(605.45 KiB) Downloaded 148 times
ingstr
 
Posts: 3
Joined: Fri May 05, 2017 7:41 am

Re: State space representation in Dynare

Postby jpfeifer » Fri May 05, 2017 8:06 am

The proper way to do this would be to use the
Code: Select all
kalman_transition_matrix.m

See http://www.dynare.org/phpBB3/viewtopic.php?f=1&t=7912
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: State space representation in Dynare

Postby Aldo » Sat May 06, 2017 4:52 am

I think, the way to retrieve an state space representation of Ingstr is very helpful for two reasons:

1. You can retrieve an state space in the same order (position) of all endogenous variables declared after the var command.

2. I think, the way proposed for Jpfeifer, about kalman_transition_matrix.m is applied to get an state state representation only for "state variables", that is, "purely backward variables" and the "mixed variables" according to definition of Manual (pg. 47), but I suspect we will also need to include the another variables: "Purely forward variables" and "Static variables".

Is there some idea to retrieve the "complete" state space using kalman_transition_matrix.m ? that is, for all variables?

Greetings.

Aldo
Aldo
 
Posts: 56
Joined: Fri Aug 07, 2015 4:47 pm

Re: State space representation in Dynare

Postby jpfeifer » Sat May 06, 2017 7:54 am

What do you mean with all variables? The
Code: Select all
kalman_transition_matrix.m

can provide you with all four matrices used for state-space representations (the ABCD) as shown in https://github.com/JohannesPfeifer/DSGE_mod/blob/master/FV_et_al_2007/ABCD_test.m
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: State space representation in Dynare

Postby Aldo » Sat May 06, 2017 12:16 pm

I mean:
"all variables": purely backward variables, mixed variables, Purely forward variables and Static variables.

I make this distintion because I see the ABCD representation with kalman_transition_matrix.m is applied to get transition matrices only for varobs and state variables, that is, "purely backward variables" and the "mixed variables".
Aldo
 
Posts: 56
Joined: Fri Aug 07, 2015 4:47 pm


Return to Dynare help

Who is online

Users browsing this forum: Google [Bot] and 11 guests