Unstable system or multiple steady states error

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.

Unstable system or multiple steady states error

Postby cipizzi » Sun Aug 11, 2013 6:30 pm

Hi,
I have just started learning dynare. I am trying to run a simple RBC model. When I run my code (attached) I keep getting the following error

Error using print_info (line 57)
Impossible to find the steady state. Either the model doesn't have a steady state, there
are an infinity of steady states, or the guess values are too far from the solution

Error in steady (line 92)
print_info(info,options_.noprint);

Error in irelandex3 (line 125)
steady;

Error in dynare (line 120)
evalin('base',fname) ;

I have taken the model from an academic article and I have hence used the steady state values reported in the paper and I double-checked them in matlab. It would seem strange to me if the steady state values I have listed are wrong. I also tried writing a code for the log-linearized version of the model and it works. So I really don't know where I am getting the model wrong.

I would appreciate any help by more expert users.
Thanks a lot!
Attachments
irelandex3.mod
dynare code
(653 Bytes) Downloaded 63 times
cipizzi
 
Posts: 3
Joined: Sun Aug 11, 2013 5:42 pm

Re: Unstable system or multiple steady states error

Postby jpfeifer » Mon Aug 12, 2013 2:26 pm

I am not sure where you got the steady state values, but the steady state for technology a is clearly 1 and not 6.
------------
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

Re: Unstable system or multiple steady states error

Postby cipizzi » Mon Aug 12, 2013 6:26 pm

I copied it it from replication matlab (not dynare) code of the paper I am trying to replicate.
Actually, the original TFP process used in the paper was ln(a_t)=(1-rho)*ln(abar) + rho*ln(a_t-1) + e_t
which in dynare I initially wrote as ln(a)=(1-rho)*ln(abar)+rho*ln(a(-1))+e
But it wasn't working
I just tried changing the steady state value to a=1 but it still doesn't work
I am attaching my original code and a written down copy of the model.
If you want I can also attach a link to the paper.
Thanks for the help!
Attachments
irelandex3.mod
original code
(666 Bytes) Downloaded 56 times
model.pdf
model
(16.91 KiB) Downloaded 86 times
cipizzi
 
Posts: 3
Joined: Sun Aug 11, 2013 5:42 pm

Re: Unstable system or multiple steady states error

Postby jpfeifer » Mon Aug 12, 2013 6:53 pm

Given that you changed the exogenous process, use pencil and paper to calculate the steady state values. Given the small size of the model, this should be extremely straightforward.
------------
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

Re: Unstable system or multiple steady states error

Postby cipizzi » Mon Aug 12, 2013 10:17 pm

Hi, my apologies, there was a silly typo in the capital flow equation
I had typed and "i" instead of a 1: eta*k=(i-delta)*k(-1)+i instead of eta*k=(1-delta)*(k-1)+i

many thanks again for your help
cipizzi
 
Posts: 3
Joined: Sun Aug 11, 2013 5:42 pm

Re: Unstable system or multiple steady states error

Postby J.Höffler » Sat Aug 02, 2014 4:09 am

If you are interested in replication, this might be of interest to you: viewtopic.php?f=2&t=5926
J.Höffler
 
Posts: 15
Joined: Fri Aug 01, 2014 3:14 pm


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 8 guests

cron