Learning code?

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.

Learning code?

Postby George » Sun Sep 14, 2008 10:09 am

Dear all,

I used to have the same post but not in the right section of the forum I guess.

I was wondering if anyone could send to me an example Dynare code that performs Bayesian estimation of a DSGE model but in an adaptive learning setting (e.g. CG learning)?

Thank you very much in advance for your help!
George
 
Posts: 25
Joined: Thu Aug 14, 2008 11:36 am

Postby p.gelain » Tue Sep 16, 2008 2:37 pm

Hi George

I ma not really sure, but I think that learning is not implementable in Dynare yet. If you look at the DynareTimeTable (http://www.cepremap.cnrs.fr/DynareWiki/DynareTimeTable) they are planning to do that by the end of the year.

Paolo
p.gelain
 
Posts: 61
Joined: Wed Jul 11, 2007 9:13 pm
Location: Norges Bank

Re: Learning code?

Postby t.reyem » Wed Sep 07, 2011 3:19 pm

Hello,

though a few years later, I have the same problem like George. I'm looking for a way to implement adaptive learning in dynare. Did you found a way how to estimate your model with adaptive learning in dynare? Is this in the meantime possible? If so how?

I don't know how deal with the time varying coefficients you face under learning. Is there a way in dynare to deal with it, or another work around so to implement learning in a DGSE model. I was wondering if maybe someone has an example how to to estimate adaptive learning within a Bayesian DGSE model. Can someone help me? Any help is appreciated!

Thank you very much!!!
t.reyem
 
Posts: 1
Joined: Wed Sep 07, 2011 3:06 pm

Re: Learning code?

Postby alexanderm » Tue May 28, 2013 10:17 pm

I am also interested in this issue.
Please someone help us!
alexanderm
 
Posts: 4
Joined: Sun Mar 03, 2013 9:57 pm

Re: Learning code?

Postby jpfeifer » Wed May 29, 2013 3:05 pm

Sorry, but at the current stage, there are no functions for learning in Dynare. The manual should be corrected soon.

You would have to write a Matlab loop around resol() and updating the parameters (the learning) in Matlab in the loop.
Your best shot may be the code on http://www.aeaweb.org/articles.php?doi=10.1257/mac.4.2.65
You should also check whether it is contained in Volker Wieland's macromodelbase, which has an adaptive learning team, see http://www.macromodelbase.com/editor
------------
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 contributions and examples

Who is online

Users browsing this forum: No registered users and 2 guests