3rd order approximation

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.

3rd order approximation

Postby Nemo4t » Tue Nov 11, 2014 7:35 pm

Hello,

I am working on the attached model (here expressed as 2nd order approximated) but I am facing some problem with the 3rd order approximation technique.
In particular, as displayed at page 47 of Dynare 4.4.2 manual, launching the program using stoch_simul(order=3), Matlab will work on a model expanded using Taylor procedure as illustrated by the formula:

yt = ys + G0 + G1zt + G2(zt * zt) + G3(zt * zt * zt)

Once calculated, I would like to display every single matrix of the above formula but I just don’t know how, can anyone indicate a way to do that?
Attachments
RBClevels2ndDynare.mod
(588 Bytes) Downloaded 48 times
Nemo4t
 
Posts: 9
Joined: Thu Nov 06, 2014 10:55 am

Re: 3rd order approximation

Postby jpfeifer » Wed Nov 12, 2014 8:38 pm

They are stored in oo_.dr as documented in the manual. Take a look into the simult_.m function (at the end of it) to see how the matrices are used.
------------
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 7 guests

cron