IDEAS home Printed from https://ideas.repec.org/p/pra/mprapa/55612.html
   My bibliography  Save this paper

On automatic derivation of first order conditions in dynamic stochastic optimisation problems

Author

Listed:
  • Klima, Grzegorz
  • Retkiewicz-Wijtiwiak, Kaja

Abstract

This note presents an algorithm for deriving first order conditions applicable to the most common optimisation problems encountered in dynamic stochastic models automatically. Given a symbolic library or a computer algebra system one can efficiently derive first order conditions which can then be used for solving models numerically (steady state, linearisation).

Suggested Citation

  • Klima, Grzegorz & Retkiewicz-Wijtiwiak, Kaja, 2014. "On automatic derivation of first order conditions in dynamic stochastic optimisation problems," MPRA Paper 55612, University Library of Munich, Germany.
  • Handle: RePEc:pra:mprapa:55612
    as

    Download full text from publisher

    File URL: https://mpra.ub.uni-muenchen.de/55612/1/MPRA_paper_55612.pdf
    File Function: original version
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Lars Ljungqvist & Thomas J. Sargent, 2004. "Recursive Macroeconomic Theory, 2nd Edition," MIT Press Books, The MIT Press, edition 2, volume 1, number 026212274x.
    2. Adjemian, Stéphane & Bastani, Houtan & Juillard, Michel & Karamé, Fréderic & Maih, Junior & Mihoubi, Ferhat & Mutschler, Willi & Perendia, George & Pfeifer, Johannes & Ratto, Marco & Villemot, Sébasti, 2011. "Dynare: Reference Manual Version 4," Dynare Working Papers 1, CEPREMAP, revised Mar 2021.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Janusz Jabłonowski, 2018. "Implications of Transitory and Permanent Changes in Tax Rates for Poland," Gospodarka Narodowa. The Polish Journal of Economics, Warsaw School of Economics, issue 2, pages 73-97.
    2. Einian, Majid & Nili, Masoud, 2016. "Elasticity of Intertemporal Substitution: An Investigation in Iran," Journal of Money and Economy, Monetary and Banking Research Institute, Central Bank of the Islamic Republic of Iran, vol. 11(2), pages 207-223, April.
    3. Klima, Grzegorz & Podemski, Karol & Retkiewicz-Wijtiwiak, Kaja & Sowińska, Anna E., 2015. "Smets-Wouters '03 model revisited - an implementation in gEcon," MPRA Paper 64440, University Library of Munich, Germany.

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Ajevskis, Viktors, 2019. "Nonlocal Solutions To Dynamic Equilibrium Models: The Approximate Stable Manifolds Approach," Macroeconomic Dynamics, Cambridge University Press, vol. 23(6), pages 2544-2571, September.
    2. Falagiarda, Matteo, 2013. "Evaluating Quantitative Easing: A DSGE Approach," MPRA Paper 49457, University Library of Munich, Germany.
    3. Giat, Yahel & Subramanian, Ajay, 2013. "Dynamic contracting under imperfect public information and asymmetric beliefs," Journal of Economic Dynamics and Control, Elsevier, vol. 37(12), pages 2833-2861.
    4. Xavier Raurich & Thomas Seegmuller, 2017. "Growth and Bubbles: The Interplay between Productive Investment and the Cost of Rearing Children," Working Papers halshs-01563555, HAL.
    5. Christoph Görtz & John D. Tsoukalas, 2013. "Sector Specific News Shocks in Aggregate and Sectoral Fluctuations," CESifo Working Paper Series 4269, CESifo.
    6. Feigenbaum, James, 2008. "Can mortality risk explain the consumption hump?," Journal of Macroeconomics, Elsevier, vol. 30(3), pages 844-872, September.
    7. Federico Di Pace & Matthias Hertweck, 2019. "Labor Market Frictions, Monetary Policy, and Durable Goods," Review of Economic Dynamics, Elsevier for the Society for Economic Dynamics, vol. 32, pages 274-304, April.
    8. Bora Durdu & Enrique G. Mendoza, 2004. "Putting the brakes on Sudden Stops: the financial frictions - moral hazard tradeoff of asset price guarantees," Proceedings, Federal Reserve Bank of San Francisco, issue Jun.
    9. Grochulski, Borys & Zhang, Yuzhe, 2011. "Optimal risk sharing and borrowing constraints in a continuous-time model with limited commitment," Journal of Economic Theory, Elsevier, vol. 146(6), pages 2356-2388.
    10. Anella Munro, 2014. "Exchange rates, expected returns and risk," Reserve Bank of New Zealand Discussion Paper Series DP2014/01, Reserve Bank of New Zealand.
    11. Piero Gottardi & Atsushi Kajii & Tomoyuki Nakajima, 2015. "Optimal Taxation and Debt with Uninsurable Risks to Human Capital Accumulation," American Economic Review, American Economic Association, vol. 105(11), pages 3443-3470, November.
    12. Espino, Emilio & González Rozada, Martín, 2013. "Normative Fiscal Policy and Growth: Some Quantitative Implications for the Chilean Economy," IDB Publications (Working Papers) 4648, Inter-American Development Bank.
    13. Aaron Schiff & Martin Browning & John Kennes, 2005. "Lots of Heterogeneity in a Matching Model," 2005 Meeting Papers 799, Society for Economic Dynamics.
    14. Marvin Goodfriend, 2004. "Monetary policy in the new neoclassical synthesis : a primer," Economic Quarterly, Federal Reserve Bank of Richmond, vol. 90(Sum), pages 21-45.
    15. Salyer, Kevin D., 2007. "Macroeconomic priorities and crash states," Economics Letters, Elsevier, vol. 94(1), pages 64-70, January.
    16. Fabio Verona & Maik Wolters, 2014. "Sticky Information Models in Dynare," Computational Economics, Springer;Society for Computational Economics, vol. 43(3), pages 357-370, March.
    17. in 't Veld, Jan & Kollmann, Robert & Pataracchia, Beatrice & Ratto, Marco & Roeger, Werner, 2014. "International capital flows and the boom-bust cycle in Spain," Journal of International Money and Finance, Elsevier, vol. 48(PB), pages 314-335.
    18. Shouqiang Wang & Peng Sun & Francis de Véricourt, 2016. "Inducing Environmental Disclosures: A Dynamic Mechanism Design Approach," Operations Research, INFORMS, vol. 64(2), pages 371-389, April.
    19. Miao, Jianjun & Zhang, Yuzhe, 2015. "A duality approach to continuous-time contracting problems with limited commitment," Journal of Economic Theory, Elsevier, vol. 159(PB), pages 929-988.
    20. Mikhail Golosov & Aleh Tsyvinski, 2007. "Optimal Taxation with Endogenous Insurance Markets," The Quarterly Journal of Economics, Oxford University Press, vol. 122(2), pages 487-534.

    More about this item

    Keywords

    DSGE; stochastic optimisation; first order conditions; symbolic computations;
    All these keywords.

    JEL classification:

    • C61 - Mathematical and Quantitative Methods - - Mathematical Methods; Programming Models; Mathematical and Simulation Modeling - - - Optimization Techniques; Programming Models; Dynamic Analysis
    • C63 - Mathematical and Quantitative Methods - - Mathematical Methods; Programming Models; Mathematical and Simulation Modeling - - - Computational Techniques
    • C68 - Mathematical and Quantitative Methods - - Mathematical Methods; Programming Models; Mathematical and Simulation Modeling - - - Computable General Equilibrium Models

    NEP fields

    This paper has been announced in the following NEP Reports:

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:pra:mprapa:55612. See general information about how to correct material in RePEc.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: . General contact details of provider: https://edirc.repec.org/data/vfmunde.html .

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Joachim Winter (email available below). General contact details of provider: https://edirc.repec.org/data/vfmunde.html .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service hosted by the Research Division of the Federal Reserve Bank of St. Louis . RePEc uses bibliographic data supplied by the respective publishers.