Great Depressions Book Examples

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.

Great Depressions Book Examples

Postby guccio » Mon Mar 11, 2013 2:11 pm

Hi,
I am trying to replicate the models of the chapter regarding Modeling Great Depressions: The Depression of Finland in the 1990s of the Great Depressions Book of Kehoe and Prescott and my main concern is how to introduce exogenous time series into the model. They run a basic neoclassical growth model but introducing exogenously time series for TFP. I cannot figure how to do this in Dynare.
Thanks
Carlos
guccio
 
Posts: 3
Joined: Mon Mar 11, 2013 2:01 pm

Re: Great Depressions Book Examples

Postby jpfeifer » Mon Mar 11, 2013 3:55 pm

Your answer is essentially contained here:
http://www.dynare.org/phpBB3/viewtopic.php?f=1&t=4471
------------
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: Great Depressions Book Examples

Postby guccio » Tue Mar 12, 2013 4:03 pm

Dear Dynare Expert,
Thank you very much for your reply. I am not sure if that solves my problem because I am not referring to stochastic simulation. I just want to run a deterministic simulation but using exogenous series for the endogenous and exogenous variables, just the same as the codes used in the book that I mentioned.
I am not sure if this is possible in Dynare, it should be but I cannot figure out how and where to introduce the series. To be more precise, what I need to do is to run the basic neoclassical growth model (model1.mod) but instead of using the initial and end values and instead of calculating the steady state I assume that the economy is in a balance growth path and so I introduce series for K, L, and A and compare then the series generated by the model with the series of the data.
Thank you very much
GUCCIO
guccio
 
Posts: 3
Joined: Mon Mar 11, 2013 2:01 pm

Re: Great Depressions Book Examples

Postby jpfeifer » Tue Mar 12, 2013 7:59 pm

I see. I found the paper and they are really simulating the model under perfect foresight. Your answer can be found in the manual in the section about "Shocks on exogenous variables". Define your TFP shock as an exogenous variable and put your TFP shock estimates from the growth accouting into a column vector, e.g. named xx. Then define a shocks block of the type:

Code: Select all
shocks;
var eps_TFP;
periods 1:T;
values (xx);
end;

where T is the last time period you want to simulate.
------------
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: Great Depressions Book Examples

Postby guccio » Tue Mar 12, 2013 9:41 pm

Dear Dynare Expert,
Ok, thank you very much. One more question. I am trying to load the series for TFP using the initval_file command but it doesn't work, couldf it be because I am using the Dynare 3 version?
Best regards
guccio
 
Posts: 3
Joined: Mon Mar 11, 2013 2:01 pm

Re: Great Depressions Book Examples

Postby jpfeifer » Tue Mar 12, 2013 10:15 pm

I don't know. Dynare 3 is not supported anymore and a lot has changed over the years. I tend to say yes.
------------
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 contributions and examples

Who is online

Users browsing this forum: No registered users and 2 guests