Numerical computation of the steady state

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

Numerical computation of the steady state

Postby mary » Wed Mar 26, 2014 4:22 pm

Hello,

I am working on a two country model for which I can compute the steady state with paper and pencil for a specific (and quite restrictive) parametrisation, and I can simulate it perfectly. However, I would now like to allow for heterogeneity of parameters across countries. In this case, I can no longer calculate the steady state analytically.
I was wondering whether there is a way to write a Matlab function that searches for the steady state numerically, given the steady state values of part of the model (which I still manage to calculate by hand).

Any help (and specifically any example) on this is greatly appreciated, thanks!!!

Mary
mary
 
Posts: 9
Joined: Thu Feb 23, 2012 2:11 pm

Re: Numerical computation of the steady state

Postby kyri82 » Thu Mar 27, 2014 6:09 pm

Hi,

I sometimes use the matlab function "fsolve" to calculate the steady-state myself. Have you tried that? You can have part of the ss solved with fsolve and part by hand as you mention.

K
kyri82
 
Posts: 141
Joined: Thu Feb 10, 2011 6:14 pm
Location: Toulouse - France

Re: Numerical computation of the steady state

Postby jpfeifer » Fri Mar 28, 2014 8:02 am

Please take a look at the steady_state file delivered with the NK_baseline.mod in Dynare 4.4. Here, a solver is called.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 6 guests