Page 1 of 1

Great Depressions Book Examples

PostPosted: Mon Mar 11, 2013 2:11 pm
by guccio
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

Re: Great Depressions Book Examples

PostPosted: Mon Mar 11, 2013 3:55 pm
by jpfeifer
Your answer is essentially contained here:
http://www.dynare.org/phpBB3/viewtopic.php?f=1&t=4471

Re: Great Depressions Book Examples

PostPosted: Tue Mar 12, 2013 4:03 pm
by guccio
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

Re: Great Depressions Book Examples

PostPosted: Tue Mar 12, 2013 7:59 pm
by jpfeifer
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.

Re: Great Depressions Book Examples

PostPosted: Tue Mar 12, 2013 9:41 pm
by guccio
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

Re: Great Depressions Book Examples

PostPosted: Tue Mar 12, 2013 10:15 pm
by jpfeifer
I don't know. Dynare 3 is not supported anymore and a lot has changed over the years. I tend to say yes.