# Ramsey\_policy command - some important clarifications

**URL:** <https://forum.dynare.org/t/ramsey-policy-command-some-important-clarifications/11426>\
**Category:** Optimal Policy\
**Created:** [3 March 2018 17:01 UTC](https://forum.dynare.org/t/ramsey-policy-command-some-important-clarifications/11426 "2018-03-03T17:01:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mricci87](https://forum.dynare.org/letter_avatar_proxy/v4/letter/m/bbe5ce/32.png) [@mricci87](https://forum.dynare.org/u/mricci87)\
**Post date:** [3 March 2018 17:01 UTC](https://forum.dynare.org/t/ramsey-policy-command-some-important-clarifications/11426/1 "2018-03-03T17:01:47Z")

</div>

Dear all,

A couple of clarifications to ask on ramsey\_policy/ramsey\_model commands in Dynare 4.5.

1. In the online manual, it is stated that only 1st order approximation of the Ramsey set of FOCs is available with ramsey\_policy. However, when setting ‘order=2’ as option, Dynare seems to run. Just wondering if it produces a 2nd order approximation this way.

2. If that is not the case, would it work using the sequence ramsey\_model and stoch\_simul (order=2)? With the first command producing the non linear Ramsey FOCs and the second performing the 2nd order approximation over the the so produced set of Ramsey conditions?

3. I noticed that the indication of the planner instrument(s) is only optional. I was therefore wondering what the ramsey\_policy does when no instrument is indicated? Is the ramsey\_policy In such case just choosing the decentralised economy equilibrium, therefore returning the same results as stoch\_simul?

4. I notice lead/lag variables are not accepted in the Planner objective function. This may be a limitation when Household utility contains habits and we want Planner objective to be same as household. To work this around I just defined a new variable, say Fake\_t=C\_t-1, and then inserted Fake\_t in the objective in place of C\_t-1. That seems to work. Do you anticipate an issue with this solution?

Many thanks,  
Mattia

---

<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:** [8 March 2018 09:48 UTC](https://forum.dynare.org/t/ramsey-policy-command-some-important-clarifications/11426/2 "2018-03-08T09:48:21Z")

</div>

1. Yes, it will produce a second order approximation, but the evaluation of the objective function is still missing. See [https://github.com/DynareTeam/dynare/issues/564](https://github.com/DynareTeam/dynare/issues/564)
2. This would be equivalent to what is done at 1.
3. No, you do not need to specify an instrument to compute an optimal allocation. You can see this e.g. in Gali’s textbook where optimal policy is directly computed without going through the nominal interest rate. Having an instrument only simplifies perturbation solutions by making it easier to find the steady state to the Ramsey problem via the provision of a conditional steady state file. Conditional on that steady state, finding the steady state of the Ramsey problem is just solving a linear equation system as opposed to the nonlinear system you would need to solve otherwise.
4. No, this is the suggested way of handling this problem. See [Questions about Ramsey optimal policy](https://forum.dynare.org/t/questions-about-ramsey-optimal-policy/4962)
