# Sequences of both negative and positive shockss

**URL:** <https://forum.dynare.org/t/sequences-of-both-negative-and-positive-shockss/5449>\
**Category:** Stochastic simulations\
**Created:** [16 April 2016 14:28 UTC](https://forum.dynare.org/t/sequences-of-both-negative-and-positive-shockss/5449 "2016-04-16T14:28:39Z")\
**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:** [18 April 2016 12:58 UTC](https://forum.dynare.org/t/sequences-of-both-negative-and-positive-shockss/5449/4 "2016-04-18T12:58:15Z")

</div>

Using the simult\_-function of Dynare, you can simulate the model with any given sequence of shocks that you want. An example is at  
[github.com/JohannesPfeifer/DSGE\_mod/blob/master/RBC\_news\_shock\_model/RBC\_news\_shock\_model.mod](https://github.com/JohannesPfeifer/DSGE_mod/blob/master/RBC_news_shock_model/RBC_news_shock_model.mod)

---

_[View the full topic](https://forum.dynare.org/t/sequences-of-both-negative-and-positive-shockss/5449)._
