Initial values in basic DSGE example

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.

Initial values in basic DSGE example

Postby h0ps » Wed Jun 26, 2013 11:10 pm

Hi

This may seem like a silly question, but how are the initial values in the basic example found? Are they just values near the steady state or are they chosen as the steady state values themselves? And is the steady state just found as the deterministic case with no stochastic elements?

Thx in advance
h0ps
 
Posts: 32
Joined: Tue Jul 10, 2012 1:55 pm

Re: Initial values in basic DSGE example

Postby jpfeifer » Thu Jun 27, 2013 7:28 am

In the basic example1.mod the initial values are chosen as the steady state value themselves. The steady state is always the determinstic steady 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: Initial values in basic DSGE example

Postby h0ps » Thu Jun 27, 2013 11:51 am

Thank you.
h0ps
 
Posts: 32
Joined: Tue Jul 10, 2012 1:55 pm

Re: Initial values in basic DSGE example

Postby h0ps » Thu Jun 27, 2013 1:38 pm

I can see that the example1.mod is not the example I refered to. It's the example in chapter 3 in the user guide: http://www.dynare.org/documentation-and ... ebBeta.pdf
h0ps
 
Posts: 32
Joined: Tue Jul 10, 2012 1:55 pm

Re: Initial values in basic DSGE example

Postby jpfeifer » Fri Jun 28, 2013 12:29 pm

Those are essentially guessed based on economic intuition. See also http://www.dynare.org/phpBB3/viewtopic.php?f=1&t=4719
------------
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: Initial values in basic DSGE example

Postby Percy » Mon Aug 04, 2014 5:33 pm

Hello. That pleasure to greet you, please allow me a few questions!
I ran the DSGE model in Dynare and I get the following attached expression
Surely you've been through similar details throughout your career, I also read your comments in the forum Dynare anywhere, I think you could help me with your comments and suggestions:

In my model (my model is linear), it seems that I am in a stationary problem, but to avoid this, use the risk premium (according to Schmitt - Uribe and calibration of the elasticity of the risk premium is 0.001 ) and a stochastic discount factor to give the model stationarity.

I assumed that initial values ​​are zero (since the model is linear work) and it seems that the steady-state values ​​calculated Dynare not converge!
I think it could also be, why, I have two endogenous variables, not prederminadas; consumption and investment depend on their lags.

please if you can give me an explanation would be great.

%----------------------------------------------------------------------------------------------------------------

Error using print_info (line 74)
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, options_);
Error in Codes_LBD (line 548)
steady;
Error in dynare (line 180)
evalin('base',fname)

%-------------------------------------------------------------------------------------------------------------------
Percy
 
Posts: 1
Joined: Mon Apr 29, 2013 6:24 pm
Location: Lima, Peru

Re: Initial values in basic DSGE example

Postby jpfeifer » Thu Aug 21, 2014 8:49 am

If your model is linear and the steady state is not 0, there must be a mistake in your equations. Use the
Code: Select all
resid(1);

command before steady; to check which equation has non-zero residual.
------------
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 User Guide

Who is online

Users browsing this forum: No registered users and 1 guest