retrieving decision rule coefficients symbolically

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.

retrieving decision rule coefficients symbolically

Postby mauriceroche » Thu Oct 12, 2006 2:01 pm

Hi Guys,
Is it possible to retrieve decision rule coefficients symbolically (ie in terms of parameters and steady states) without solving the model? If so how?

I would like to use the 2nd order appproximation decision rule coefficients (from Euler conditions) in a different program (RATS) so that I can perform more analysis than just calculating unconditional moments.

If it is not possible to retrieve decision rule coefficients symbolically I could write some matlab code to perform what I need done during simulations. In this case in which dynare files would I need to call this routine/file?

Maurice
mauriceroche
 
Posts: 16
Joined: Tue Oct 03, 2006 7:42 pm

Re: retrieving decision rule coefficients symbolically

Postby StephaneAdjemian » Fri Oct 13, 2006 11:23 am

Hi Maurice,

mauriceroche wrote:Hi Guys,
Is it possible to retrieve decision rule coefficients symbolically (ie in terms of parameters and steady states) without solving the model? If so how?


Unfortunateley, dynare is unable to provide a symbolic expression of the decision rules (with dynare v4 we only have a symbolical expression of the approximated model, not of the solution). To our knowledge there is no way to analitically compute the generalized schur decomposition needed to solve the model (first or second approximation). Even if in some circonstances we are able to obtain the policy rules by hand (the canonical RBC model for instance)...

mauriceroche wrote:I would like to use the 2nd order appproximation decision rule coefficients (from Euler conditions) in a different program (RATS) so that I can perform more analysis than just calculating unconditional moments.

If it is not possible to retrieve decision rule coefficients symbolically I could write some matlab code to perform what I need done during simulations. In this case in which dynare files would I need to call this routine/file?


Yes, you should use matlab. You can use matlab codes in your mod file (even loops around stoch_simul). The solution is saved in the structure oo_.dr (fields ghx and ghu).

Best, St
StephaneAdjemian
 
Posts: 429
Joined: Wed Jan 05, 2005 4:24 pm
Location: Paris, France.

Postby mauriceroche » Fri Oct 13, 2006 3:47 pm

St
mauriceroche
 
Posts: 16
Joined: Tue Oct 03, 2006 7:42 pm

Postby OndraKamenik » Wed Oct 18, 2006 3:03 pm

Maurice,

you can also use dynare++ to solve the model (any order of approximation). The solved decision rule is then dumped to a MAT file and can be simulated/evaluated for custom shocks and initial values with dynare_simul.m.

Ondra K.
OndraKamenik
 
Posts: 73
Joined: Mon Dec 20, 2004 8:32 am


Return to Dynare help

Who is online

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