# Where the results of the command with option use\_shock\_groups are stored

**URL:** <https://forum.dynare.org/t/where-the-results-of-the-command-with-option-use-shock-groups-are-stored/13316>\
**Category:** ML/Bayesian estimation\
**Created:** [26 February 2019 16:36 UTC](https://forum.dynare.org/t/where-the-results-of-the-command-with-option-use-shock-groups-are-stored/13316 "2019-02-26T16:36:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Leonid\_65](https://forum.dynare.org/letter_avatar_proxy/v4/letter/l/85e7bf/32.png) [@Leonid\_65](https://forum.dynare.org/u/Leonid_65)\
**Post date:** [26 February 2019 16:36 UTC](https://forum.dynare.org/t/where-the-results-of-the-command-with-option-use-shock-groups-are-stored/13316/1 "2019-02-26T16:36:23Z")

</div>

Hi Prof. Pfeifer and to all,  
I have two questions.  
1.The results of the command “shock\_decomposition” are stored in an array oo\_.shock\_decomposition. Where the results of the command with option use\_shock\_groups (shock\_decomposition(use\_shock\_groups=group1)) are stored?  
2.When we group shocks into a groups, their action is simply summed up (shocks need to be summarized ncluding signs)?  
Thank you,  
Leonid

---

<div class="post-metadata">

**Author:** ![rattoma](https://forum.dynare.org/letter_avatar_proxy/v4/letter/r/7ba0ec/32.png) [@rattoma](https://forum.dynare.org/u/rattoma)\
**Post date:** [26 February 2019 18:10 UTC](https://forum.dynare.org/t/where-the-results-of-the-command-with-option-use-shock-groups-are-stored/13316/2 "2019-02-26T18:10:27Z")

</div>

Dear Leonid,

they are not stored, but just plotted. Indeed, grouping adds all contributions from shocks in the group, including signs.  
best  
Marco

---

<div class="post-metadata">

**Author:** ![Leonid\_65](https://forum.dynare.org/letter_avatar_proxy/v4/letter/l/85e7bf/32.png) [@Leonid\_65](https://forum.dynare.org/u/Leonid_65)\
**Post date:** [28 February 2019 05:32 UTC](https://forum.dynare.org/t/where-the-results-of-the-command-with-option-use-shock-groups-are-stored/13316/3 "2019-02-28T05:32:25Z")

</div>

Dear Marco,  
Thanks for help!
