Loops in Dynare

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.

Loops in Dynare

Postby ecrgap » Sat Sep 18, 2010 7:43 pm

Hi all,

I was wondering whether the following loop can be done in dynare:

I want to see how welfare Loss in an optimal monetary policy model changes as one coefficient in the interest rate rule varies say between 0 and 0.5.

Can this be done with Dynare?

Thanks a lot in advance.
ecrgap
 
Posts: 13
Joined: Mon Jul 05, 2010 8:34 pm

Re: Loops in Dynare

Postby AssiaEzzeroug » Mon Oct 04, 2010 11:05 am

Hi,

yes this can be done with a standard Matlab-For loop around the command OSR

Best
AssiaEzzeroug
 
Posts: 83
Joined: Tue Nov 24, 2009 3:48 pm

Re: Loops in Dynare

Postby ecrgap » Mon Oct 04, 2010 12:55 pm

thanks a lot for your help.

Do you have any example-code in mind?
ecrgap
 
Posts: 13
Joined: Mon Jul 05, 2010 8:34 pm

Re: Loops in Dynare

Postby nazanin » Tue Jun 07, 2011 5:58 am

hi
I also neet to a example-code?
nazanin
 
Posts: 8
Joined: Sun Feb 27, 2011 10:32 am

Re: Loops in Dynare

Postby SébastienVillemot » Tue Aug 23, 2011 3:20 pm

See the "macroprocessor.pdf" file which comes in the distribution of Dynare. There is a discussion of loops in Dynare, and some examples.
Sébastien Villemot
Economist at OFCE – Sciences Po
SébastienVillemot
 
Posts: 706
Joined: Fri Dec 07, 2007 2:29 pm
Location: Paris, France


Return to Dynare help

Who is online

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