E. W. Anderson, E. R. Mcgrattan, L. P. Hansen, and T. J. Sargent, Mechanics of forming and estimating dynamic linear economies. Handbook of computational economics, vol.1, pp.171-252, 1996.

J. B. Chatelain and K. Ralf, A simple algorithm for solving Ramsey optimal policy with exogenous forcing variables, Economics Bulletin, vol.39, issue.4, pp.2429-2440, 2019.
URL : https://hal.archives-ouvertes.fr/halshs-01588188

J. B. Chatelain and K. Ralf, Hopf bifurcation from new-Keynesian Taylor rule to Ramsey optimal policy, Macroeconomic Dynamics, vol.17, 2020.
URL : https://hal.archives-ouvertes.fr/hal-01527872

J. B. Chatelain and K. Ralf, Super-inertial interest rate rules are not solutions of Ramsey optimal monetary policy, Working paper, 2020.

J. B. Chatelain and K. Ralf, Policy Maker's Credibility with Predetermined Instruments for Forward-Looking Targets, Revue d'économie politique, vol.129, 2020.

J. B. Chatelain and K. Ralf, Ramsey Optimal Policy versus Multiple Equilibria with Fiscal and Monetary Interactions, Economics Bulletin, vol.40, issue.1, pp.140-147, 2020.
URL : https://hal.archives-ouvertes.fr/halshs-02278791

J. B. Chatelain and K. Ralf, Ramsey Optimal Policy in the New-Keynesian Model with Public Debt. Working paper, 2020.
URL : https://hal.archives-ouvertes.fr/halshs-02278781

J. B. Chatelain and K. Ralf, Imperfect Credibility versus No Credibility of Optimal Monetary Policy, Revue Economique, vol.72, issue.1, 2021.
URL : https://hal.archives-ouvertes.fr/halshs-01849864

J. Gali, Monetary Policy, In ?ation and the Business Cycle, 2015.

L. P. Hansen and T. J. Sargent, , 2007.

L. Ljungqvist and T. J. Sargent, Recursive Macroeconomic Theory, 2012.

F. Smets and R. Wouters, Shocks and frictions in US business cycles: A Bayesian DSGE approach, American Economic Review, vol.97, issue.3, pp.586-606, 2007.

, The numerical solution of the welfare matrix is obtained using Scilab code: beta1=0.99; eps=6

, Qpi=1; Qz=0 ; Qzpi=0; R=kappa/eps

, A=sqrt(beta1)*A1

, B1=[-kappa/beta1, vol.0

, B=sqrt(beta1)*B1

. Q=[qpi and . Qzpi,

Q. Qz,

(. Big=sysdiag and R. ,

, Big

. M=syslin,

, Py Py(2,2)-Py(1,2)*inv(Py(1,1))*Py(1,2)