Loops in Dynare

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.

Hi,

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

Best

thanks a lot for your help.

Do you have any example-code in mind?

hi
I also neet to a example-code?

See the “macroprocessor.pdf” file which comes in the distribution of Dynare. There is a discussion of loops in Dynare, and some examples.