# Estimate the Laffer curve with a DSGE on Dynare

**URL:** https://forum.dynare.org/t/estimate-the-laffer-curve-with-a-dsge-on-dynare/18945
**Category:** General DSGE Modeling
**Created:** [23 September 2021 17:11 UTC](https://forum.dynare.org/t/estimate-the-laffer-curve-with-a-dsge-on-dynare/18945 "2021-09-23T17:11:53Z")
**Posts on this page:** 1
**Showing post:** 4

<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: [25 September 2021 17:29 UTC](https://forum.dynare.org/t/estimate-the-laffer-curve-with-a-dsge-on-dynare/18945/4 "2021-09-25T17:29:36Z")

</div>

Have a look at

> [@Loop over parameters](https://forum.dynare.org/t/loop-over-parameters/3335/2):
>
> You are not actually setting the parameter. What you should do is use the the set\_param\_value command. Moreover, if you have an analytic steady state, use a steady\_state\_model block instead of initval. You can find an example for such a loop here: [[Need help to check Matlab compatibility](http://forum.dynare.org/t/need-help-to-check-matlab-compatibility/3192/1)). Basically, you need to write a Matlab m-file with the following parts: rhos = 0.8:0.05:1.05; first\_time = 1; for i=1:length(rhos) if first\_time set\_param\_value('rho',rhos(i)); dynare your\_…

---

_[View the full topic](https://forum.dynare.org/t/estimate-the-laffer-curve-with-a-dsge-on-dynare/18945)._
