# Learning code?

**URL:** <https://forum.dynare.org/t/learning-code/811>\
**Category:** Dynare contributions and examples\
**Created:** [14 September 2008 10:09 UTC](https://forum.dynare.org/t/learning-code/811 "2008-09-14T10:09:40Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![jpfeifer](https://forum.dynare.org/user_avatar/forum.dynare.org/jpfeifer/32/5044_2.png) [@jpfeifer](https://forum.dynare.org/u/jpfeifer)\
**Post date:** [29 May 2013 15:05 UTC](https://forum.dynare.org/t/learning-code/811/5 "2013-05-29T15:05:17Z")

</div>

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 [aeaweb.org/articles.php?doi=10.1257/mac.4.2.65](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 [macromodelbase.com/editor](http://www.macromodelbase.com/editor)

---

_[View the full topic](https://forum.dynare.org/t/learning-code/811)._
