How dynare cast model into state space representation

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.

How dynare cast model into state space representation

Postby naivej » Thu Sep 17, 2015 1:05 pm

Dear all,

I am not sure how dynare cast model into state space representation. My feeling is that dynare simply take the solution of DSGE model as the state transition equations in state space representation. Since all variables in DSGE are theoretical ones, they are all treated as unobservables. The measurement equations we further define indicate how theoretical variables (unobservables) link to their observations. But in this way, the number of state variable in state space representation tend to be large hence Kalman filter becomes less efficient.
Am I correct?

Kind regards
Last edited by naivej on Thu Sep 17, 2015 8:08 pm, edited 1 time in total.
naivej
 
Posts: 9
Joined: Mon Jun 08, 2015 10:59 pm

Re: How dynare cast model into state space representation

Postby jpfeifer » Thu Sep 17, 2015 8:08 pm

What do you mean? The solution for the model tells you how the states evolve over time. The observation equation tells you how the observables are related to the states. During estimation, Dynare links the observables to the states. The model needs to be solved in any case for the states. A state is always part of the state transition equation. Why do you think that Dynare uses a state-space that is larger than necessary?
------------
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: How dynare cast model into state space representation

Postby naivej » Thu Sep 17, 2015 8:32 pm

Sorry for the confusion and thank you for your reply.

Could we first clarify that whenever we talk about state variables in dynare, it means the unobservables in state space representation and it does not means predetermained variables (so, not the state variables versus control variables).

when I said dynare have more state variables I mean the following. For example, output is observable. Dynare will have a unobservable version of output (state variable) defined in the model and an observable version of output and this two output are linked by measurement equation. But I think usually the unobservable version of output is not necessary, like a intermediate variable. Although dynare's way make it easier to write an state space representation, it contain the extra unobservable version of output.
naivej
 
Posts: 9
Joined: Mon Jun 08, 2015 10:59 pm

Re: How dynare cast model into state space representation

Postby jpfeifer » Thu Sep 17, 2015 8:48 pm

What you describe is not a state. An unobservable is not necessarily a state and that's why your terminology is confusing. What is relevant are the predetermined variables, i.e. true states. Their evolution will completely describe the movement of all variables, observed or unobserved. When you define an observation equation mapping observed output into the corresponding model variables, Dynare will implicitly replace the model variables by their function of states. Thereby, redundant static variables are eliminated.
------------
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: How dynare cast model into state space representation

Postby naivej » Fri Sep 18, 2015 10:14 am

Thank you, it is much clear now. A further equations. when dynare maps observations to the state variables, is it the state variables(t-1)? But in state space representation, the observation equation link observation(t) to unobservables(t). To do that, I think we need to use policy function which link control(t) to state(t). However dynare does not distinguish between policy function and low of motion but uses a overall solution link state(t-1) to all endogenous(t)
naivej
 
Posts: 9
Joined: Mon Jun 08, 2015 10:59 pm

Re: How dynare cast model into state space representation

Postby jpfeifer » Mon Sep 21, 2015 11:26 am

Basically, the answer is yes.
------------
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


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 1 guest

cron