Stochastic steady-state in Dynare++

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.

Stochastic steady-state in Dynare++

Postby ivan_lozev » Wed Mar 08, 2017 5:38 pm

I am currently trying to use Dynare++ to replicate the results on Burnside (1998) model, discussed in:
Juillard, Michel. "Local approximation of DSGE models around the risky steady state." Wp. comunite 87 (2011).
To obtain the steady state I use the command

dynare++ --steps 5 burnside.mod, and then retrieve the sequence of steady-states (in Matlab) by the command
dyn_steady_states.
Unfortunately, the entire sequence just gives the deterministic steady state.

Thank you,
Ivan Lozev
PhD student Hamburg University

Below I enclose the burnside.mod model:

var y, x;
varexo e;

parameters beta, rho, x_bar, theta, sigm;
beta = 0.95;
rho = -0.139;
x_bar = 0.0179;
theta = -10;
sigm = 0.0348;

model;
y = beta*exp(theta*x(+1))*(1+y(+1));
x = (1-rho)*x_bar+rho*x(-1)+sigm*e;
end;

initval;
x = x_bar;
y = 5;//beta*exp(theta*x_bar)/(1-beta*exp(theta*x_bar));
end;

vcov = [1];

order = 1;
ivan_lozev
 
Posts: 9
Joined: Wed Apr 15, 2009 12:28 pm

Re: Stochastic steady-state in Dynare++

Postby ivan_lozev » Sat Mar 18, 2017 7:21 pm

It has been 10 days already without any reply. Probably not many people use Dynare++ to calculate stochastic steady-states. Or am I unclear in my post above?
ivan_lozev
 
Posts: 9
Joined: Wed Apr 15, 2009 12:28 pm

Re: Stochastic steady-state in Dynare++

Postby jpfeifer » Sun Mar 19, 2017 1:36 pm

Sorry, Michel did not yet find the time to reply. If I read p. 9 of the Kamenik (2011): "DSGE Models with Dynare++. A Tutorial." correctly, then
Code: Select all
dyn_steady_states

provides the deterministic steady state, while
Code: Select all
dyn_ss

should provide the fixed point of the decision rules, commonly called the stochastic 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: Stochastic steady-state in Dynare++

Postby ivan_lozev » Sun Mar 19, 2017 3:33 pm

Thank you for your reply, Johannes. It seems that the --steps command computes values in <dyn_steady_states> different from the deterministic steady-state only when in the mod file the order of approximation is more than one. Then dyn_ss also gives values closer to the exact solution, rather than just the deterministic steady-state. I'll probably use the dyn_ss with order=2 in the mod file and not run any --steps command.
Thanks again,
Ivan
ivan_lozev
 
Posts: 9
Joined: Wed Apr 15, 2009 12:28 pm

Re: Stochastic steady-state in Dynare++

Postby jpfeifer » Mon Mar 20, 2017 9:18 am

I don't get your first point. If the approximation order is 1, then the model is certainty equivalent and the stochastic steady state is equal to the deterministic 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: Stochastic steady-state in Dynare++

Postby ivan_lozev » Mon Mar 20, 2017 9:33 am

That's right - first order approximation is certainty equivalent. But you can still, in principle, do first-order approximation around the stochastic steady-state, rather than the deterministic one. That is what de Groot, Oliver. "Computing the risky steady state of DSGE models." Economics Letters 120.3 (2013): 566-569. does, for example.
ivan_lozev
 
Posts: 9
Joined: Wed Apr 15, 2009 12:28 pm

Re: Stochastic steady-state in Dynare++

Postby jpfeifer » Mon Mar 20, 2017 9:56 am

That is a very different approach. In that paper, you use a second order approximation to get the stochastic steady state and then do a first order approximation around this point. Therefore, the approximation orders involved are "inconsistent". Dynare++ uses order=1 consistently, implying that the deterministic and stochastic steady state will coincide at order=1.
------------
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: Stochastic steady-state in Dynare++

Postby salga010 » Thu Mar 23, 2017 5:57 pm

Hi all

Maybe somebody provided a solution for the following problem. I am trying to run Dynare++ in MAC OX El Capitan but it is giving the following error

====
x-134-84-1-73:Dynare$ /Applications/Dynare/4.4.3/dynare++/dynare++ example1.mod
dyld: lazy symbol binding failed: Symbol not found: _dgetrf_
Referenced from: /Applications/Dynare/4.4.3/dynare++/dynare++
Expected in: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib

dyld: Symbol not found: _dgetrf_
Referenced from: /Applications/Dynare/4.4.3/dynare++/dynare++
Expected in: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib

Trace/BPT trap: 5
===

Seems that the issue has to do with libBLAS to be incompatible in El Capitan, or even Sierra OS. Is there any way ti sile this problem? There are some tutorial online but involves copy an old version of libBLAS which I would prefer not to do.
Thanks!!
salga010
 
Posts: 3
Joined: Thu Mar 23, 2017 5:45 pm


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 7 guests