Page 1 of 1

Loops in Dynare

PostPosted: Sat Sep 18, 2010 7:43 pm
by ecrgap
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.

Re: Loops in Dynare

PostPosted: Mon Oct 04, 2010 11:05 am
by AssiaEzzeroug
Hi,

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

Best

Re: Loops in Dynare

PostPosted: Mon Oct 04, 2010 12:55 pm
by ecrgap
thanks a lot for your help.

Do you have any example-code in mind?

Re: Loops in Dynare

PostPosted: Tue Jun 07, 2011 5:58 am
by nazanin
hi
I also neet to a example-code?

Re: Loops in Dynare

PostPosted: Tue Aug 23, 2011 3:20 pm
by SébastienVillemot
See the "macroprocessor.pdf" file which comes in the distribution of Dynare. There is a discussion of loops in Dynare, and some examples.