Skipping Dynare++ for first order approximations

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.

Skipping Dynare++ for first order approximations

Postby eastnile » Fri Jul 17, 2015 11:12 pm

Dear Community,

Thanks for your answers to my previous posts! I was wondering if there is an earlier, Matlab only implementation of k_order_perturbation, esp. for 1st order approximations. The reason is that I am developing some materials for my students, and I'd like them to be able to trace through Matlab code which runs through the solution strategy, and they don't know how to read C++ code or use the MEX functionality (nor am I very familiar with it, in all honesty).

Best,
Zhao
eastnile
 
Posts: 8
Joined: Thu May 22, 2014 3:30 am
Location: Oregon, USA

Re: Skipping Dynare++ for first order approximations

Postby jpfeifer » Sat Jul 18, 2015 6:29 am

Unfortunately, this is not the case. You should use Dynare not Dynare++ for this. There, everything is in Matlab (but still not really intuitive).
------------
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: Skipping Dynare++ for first order approximations

Postby eastnile » Wed Jul 22, 2015 12:29 am

It's OK that it's not intuitive, I will simplify the code before exposing the students to it. Could you point me to the Dynare files which can solve through the first order model? In tracing though the resol.m file, I seem to be finding only the function calls to Dynare++, though the following stack sequence:

stoch_simul.m > resol.m > stochastic_solvers > k_order_pert > k_order_perturbation(MEX)

Best,
Zhao
eastnile
 
Posts: 8
Joined: Thu May 22, 2014 3:30 am
Location: Oregon, USA

Re: Skipping Dynare++ for first order approximations

Postby eastnile » Wed Jul 22, 2015 12:30 am

Nevermind; I believe I've found the command I was looking for; the call to dyn_first_order_solver. Thanks for your help.
- Zhao
eastnile
 
Posts: 8
Joined: Thu May 22, 2014 3:30 am
Location: Oregon, USA

Re: Skipping Dynare++ for first order approximations

Postby jpfeifer » Wed Jul 22, 2015 5:20 am

Yes, that is the file. The explanation what happens there is in Sébastien Villemot (2011), “Solving rational expectations models at first order: what Dynare does” http://www.dynare.org/wp-repo/dynarewp002.pdf
------------
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 4 guests

cron