IRF of output to tech. shock in Lubik and Schorfheide (2007)

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.

IRF of output to tech. shock in Lubik and Schorfheide (2007)

Postby earsmall » Fri Jul 03, 2015 6:04 am

Hi, owing to your support, I have made some progress in reproducing Lubik and Schorfheide (2007).
Last edited by earsmall on Mon Sep 14, 2015 8:24 pm, edited 1 time in total.
earsmall
 
Posts: 40
Joined: Mon Jun 15, 2015 3:44 pm

Re: IRF of output to tech. shock in Lubik and Schorfheide (2

Postby jpfeifer » Mon Jul 06, 2015 5:37 am

The reason is that TFP has a unit root, but the model is entered in detrended form. To get the permanent IRFs to TFP shock, you need to reconstruct the underlying non-stationary series. An example for this can be found in the AguiarGopinath2007.mod on my homepage at https://sites.google.com/site/pfeiferecon/dynare
------------
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: IRF of output to tech. shock in Lubik and Schorfheide (2

Postby earsmall » Mon Jul 06, 2015 6:58 am

Thank you very much.
I will try with reference to this mod file !
:lol:
earsmall
 
Posts: 40
Joined: Mon Jun 15, 2015 3:44 pm

Re: IRF of output to tech. shock in Lubik and Schorfheide (2

Postby earsmall » Mon Jul 06, 2015 10:54 am

jpfeifer wrote:The reason is that TFP has a unit root, but the model is entered in detrended form. To get the permanent IRFs to TFP shock, you need to reconstruct the underlying non-stationary series. An example for this can be found in the AguiarGopinath2007.mod on my homepage at https://sites.google.com/site/pfeiferecon/dynare



There are three things in my modified code compared to original code (detrended form).
Code: Select all
model(linear);
...
...
z = a - a(-1) ;  //z_t is growth rate of technology (A)

yy = y + a ; // y_t = Y_t/A_t


However, the response from dynare is that "unstable".

I searched a lot to solve this problem and concluded that I should use trend_var command or .
Unfortunately, these do not work as well.

And finally, dynare works when I add diffuse_filter command in estimation()
and I got the IRF that I wanted.

But I am not sure whether I solved well.

Please give me more comments.


-Jerry
earsmall
 
Posts: 40
Joined: Mon Jun 15, 2015 3:44 pm

Re: IRF of output to tech. shock in Lubik and Schorfheide (2

Postby jpfeifer » Mon Jul 06, 2015 3:01 pm

You are introducing a unit root in a. To deal with this non-stationarity in estimation, you need the diffuse filter or lik_init=2.
------------
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 help

Who is online

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