# Historical decomposition - Init val

**URL:** <https://forum.dynare.org/t/historical-decomposition-init-val/17076>\
**Category:** General DSGE Modeling\
**Created:** [7 December 2020 17:30 UTC](https://forum.dynare.org/t/historical-decomposition-init-val/17076 "2020-12-07T17:30:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![harumihas](https://forum.dynare.org/letter_avatar_proxy/v4/letter/h/3ab097/32.png) [@harumihas](https://forum.dynare.org/u/harumihas)\
**Post date:** [7 December 2020 17:30 UTC](https://forum.dynare.org/t/historical-decomposition-init-val/17076/1 "2020-12-07T17:30:17Z")

</div>

Hello everyone:

I am trying to plot a historical decomposition of an observable variable using plot\_shock\_decomposition. I have a couple of questions:

1. when using the shock\_groups option, how can I group the Initial Value. I’ve already grouped other shocks but don’t know how to include Initial Values:

shock\_groups(name = hola);  
‘Monetary Policy Shock’ = eps\_RT;  
‘Terms of Trade Shock’ = eps\_TOT;  
‘Export Productivity Shock’ = eps\_AA\_x;  
‘Productivity Shock’ = eps\_AA;  
‘Others’ = eps\_RR, eps\_YY, eps\_INV, eps\_CC, eps\_YYx\_OBS;  
end;

1. Can I modify de xticks labels to place the years instead of number of periods?

Thank you very much

---

<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:** [7 December 2020 19:27 UTC](https://forum.dynare.org/t/historical-decomposition-init-val/17076/2 "2020-12-07T19:27:05Z")

</div>

1. From what I can see, that is not feasible. @rattoma should know more.
2. When using a `dseries`-object to load the data. See [Placing dates on the horizontal axis of historical shock decomposition shocks](https://forum.dynare.org/t/placing-dates-on-the-horizontal-axis-of-historical-shock-decomposition-shocks/13411)
