# Adam \[2011\] - Government debt and optimal monetary and ﬁscal

**URL:** <https://forum.dynare.org/t/adam-2011-government-debt-and-optimal-monetary-and-scal/3636>\
**Category:** Dynare contributions and examples\
**Created:** [22 January 2014 12:17 UTC](https://forum.dynare.org/t/adam-2011-government-debt-and-optimal-monetary-and-scal/3636 "2014-01-22T12:17:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Peter\_Zar](https://forum.dynare.org/letter_avatar_proxy/v4/letter/p/eb8c5e/32.png) [@Peter\_Zar](https://forum.dynare.org/u/Peter_Zar)\
**Post date:** [22 January 2014 12:17 UTC](https://forum.dynare.org/t/adam-2011-government-debt-and-optimal-monetary-and-scal/3636/1 "2014-01-22T12:17:04Z")

</div>

Hi everyone,

I used the model by Adam [2011] Government debt and optimal monetary and ﬁscal policy. I want to study the dynamics if government spending is fixed from period 20 on, so basically I start in one steady state and I want to see the transition to the new steady state with lower government spending using the extended path algorithm. However, I am struggling writing this down…any suggestions? The FOCs are different for t\<=20 and for t \> 20. But how do I solve that using Dynare?

Any help appreciated! Best,  
Peter
