# Permanent Shock to a Parameter

**URL:** <https://forum.dynare.org/t/permanent-shock-to-a-parameter/3394>\
**Category:** Dynare help (legacy posts)\
**Created:** [20 September 2013 07:41 UTC](https://forum.dynare.org/t/permanent-shock-to-a-parameter/3394 "2013-09-20T07:41:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Daniel\_Bendel](https://forum.dynare.org/letter_avatar_proxy/v4/letter/d/ecc23a/32.png) [@Daniel\_Bendel](https://forum.dynare.org/u/Daniel_Bendel)\
**Post date:** [20 September 2013 07:41 UTC](https://forum.dynare.org/t/permanent-shock-to-a-parameter/3394/1 "2013-09-20T07:41:52Z")

</div>

Hello everyone,

I have a model with a government, which setting taxes following a simple rule. These taxes have a steady state value. I now what to do the following exercise:

I want to simulate the reactions of the model if I permanently increase the steady state value of these taxes: Say, in period 1 to 10 it should have the old steady state tax value and thereafter a new higher steady state tax value.

How can I do it whit dynare??

Thank you all for your help!

Daniel

---

<div class="post-metadata">

**Author:** ![Daniel\_Bendel](https://forum.dynare.org/letter_avatar_proxy/v4/letter/d/ecc23a/32.png) [@Daniel\_Bendel](https://forum.dynare.org/u/Daniel_Bendel)\
**Post date:** [25 September 2013 12:28 UTC](https://forum.dynare.org/t/permanent-shock-to-a-parameter/3394/2 "2013-09-25T12:28:55Z")

</div>

Has noone an idea??

---

<div class="post-metadata">

**Author:** ![federico](https://forum.dynare.org/letter_avatar_proxy/v4/letter/f/c2a13f/32.png) [@federico](https://forum.dynare.org/u/federico)\
**Post date:** [25 September 2013 12:59 UTC](https://forum.dynare.org/t/permanent-shock-to-a-parameter/3394/3 "2013-09-25T12:59:55Z")

</div>

stochastic or deterministic set up?

---

<div class="post-metadata">

**Author:** ![Daniel\_Bendel](https://forum.dynare.org/letter_avatar_proxy/v4/letter/d/ecc23a/32.png) [@Daniel\_Bendel](https://forum.dynare.org/u/Daniel_Bendel)\
**Post date:** [25 September 2013 13:20 UTC](https://forum.dynare.org/t/permanent-shock-to-a-parameter/3394/4 "2013-09-25T13:20:32Z")

</div>

I have got the solution:

1. You have to specify the parameter as a variable: e.g.: alpha
2. Give it a steady state value as the start value: e.g.: alpha\_SS = 0.3;
3. Add a exogenous variable to the parameter: e.g.: alpha = alpha\_SS + eps\_alpha;
4. Then do a shock: e.g:

```auto
shocks;
 var eps_alpha;
 periods 0:15 15:500;
 values 0 0.05;
end;
```

So you get that alpha is 0.3 for period 0 to period 15 and then jumps to 0.35 in period 15 and stays there till period 500. Choose a large endtime value to pretend an permanent shock.  
5. Then end up with the simul command: e.g.: simul(periods = 500);

This is it. You can see the reaction of your variables by simply plotting them. Of course the interesting part is in the beginning of the periods so do not plot the whole simulation but just the beginning of it.

Greetings,  
Daniel
