Problem with steady state values.

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.

Problem with steady state values.

Postby randomize » Thu Mar 24, 2011 6:46 pm

Hi all,

To bad that my first message here is asking for help. I have this model which is somewhat simple (only 10 equations, 10 unknowns), but I am not being able to get Dynare to converge. In fact, right now I am giving dynare the stationary steady state values obtained by using fsolve and still no luck. I have played with parameters thousands of times, and nothing. Perhaps you guys here can have some advice for me. I am attaching so you can see the model and the error.

Thanks for your time :)
Attachments
problematic.mod
The model that I'm trying to solve.
(2.05 KiB) Downloaded 97 times
randomize
 
Posts: 7
Joined: Tue Mar 22, 2011 11:06 pm

Re: Problem with steady state values.

Postby jpfeifer » Fri Mar 25, 2011 8:11 am

Your starting values are really far away from the true steady state. You probably need to compute the steady state by hand with pencil and paper (at least partly).
------------
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: Problem with steady state values.

Postby randomize » Tue Mar 29, 2011 12:13 pm

@jpfeifer, thank you very much for your response. I was working on those initial values. Now, the residuals seems to be closer to zero, but the issue is that now the program works in some computers and in others it just does't. Why do you think could be the cause for that?

Besides, even in the computers in which the program is able to run, that outcome is extremely sensitive to the parametrization.

Right now in the computer I am, it seems that is getting the steady-state values but I get
Code: Select all
??? Error using ==> print_info at 42
Blanchard Kahn conditions are not satisfied: indeterminacy

Any advice on how to proceed from here? I am attaching my code so you can see for yourself.

Again, thank you so much.
Attachments
problematic2.mod
(2.09 KiB) Downloaded 81 times
randomize
 
Posts: 7
Joined: Tue Mar 22, 2011 11:06 pm

Re: Problem with steady state values.

Postby jpfeifer » Tue Mar 29, 2011 7:01 pm

You entered your SS with fixed numerical values, but the SS is a function of the deep parameters. Hence, if you change the parameters, the SS changes but not your initial values, which the become poor starting values. Regarding the BK conditions, search the forum for a million similar questions. Most commonly it is an issue of the timing of capital or bonds, which are predetermined states (see the Dynare manual).
------------
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: Problem with steady state values.

Postby randomize » Wed Mar 30, 2011 3:10 pm

I understand that, problem is, even though the steady state almost doesn't change at all (according to the result from fsolve), dynare is not able to solve for the new parameters.

I checked the timing convention and it seems to be right.
randomize
 
Posts: 7
Joined: Tue Mar 22, 2011 11:06 pm

Re: Problem with steady state values.

Postby jpfeifer » Wed Mar 30, 2011 4:56 pm

I would recommend writing a steady state file that supplies the starting values for a given set of parameters. There are quite a few posts on how to do that.

What about for example the first equation? If
Code: Select all
(exp(k)/exp(lab) )^alpha

is the capital to labor ration, you have lab in period t and k in t+1, if k is a predetermined state.
------------
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: Problem with steady state values.

Postby randomize » Tue Apr 05, 2011 10:15 pm

Thank you very much jpfeifer. That was a silly (to say the least!) mistake. :|

One more question: I have 14 variables, however, the matrix oo_.dr.ghx is 15x6 so it is basically adding one more variable. Besides, when I look at its values, one entire raw is full of zeros. Do you know why that could be the case?
randomize
 
Posts: 7
Joined: Tue Mar 22, 2011 11:06 pm


Return to Dynare help

Who is online

Users browsing this forum: Google [Bot] and 8 guests