Timing of law of motion of capital in model with trend

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.

Timing of law of motion of capital in model with trend

Postby DW916 » Thu Mar 31, 2016 11:34 am

Dear Johannes,

If my model with explicitly specified trend, just like your "A Guide to specifying observation equations for estimation of dsge models" Chapter 6, let the labor augmenting technology growth to be Xt, define ut=Xt/Xt-1
Then original law of motion of capital changes from
Kt+1=(1-delta)*Kt+It
to
ut+1*kt+1=(1-delta)*kt+it,

In Dynare , I write code like
Code: Select all
u(+1)*k=(1-delta)*k(-1)+i;


Just want to make sure if I am right with this line of code.
Many thanks,

Catherine
DW916
 
Posts: 31
Joined: Sat Feb 27, 2016 9:05 am

Re: Timing of law of motion of capital in model with trend

Postby diego.gomes » Thu Mar 31, 2016 12:02 pm

I am also interested in this issue.

I fact, the growth rate is a exogenous variable, right? How do you specify its values during the transition calculation? It changes along the transition path.

Best to all.
diego.gomes
 
Posts: 17
Joined: Sun Oct 28, 2012 7:37 pm

Re: Timing of law of motion of capital in model with trend

Postby jpfeifer » Thu Mar 31, 2016 1:21 pm

Here, with an explicit stochastic trend, the timing is crucial. If you go for the beginning of period capital stock notation as you do, capital K_{t+1 should have a trend factor X_t, not X_{t+1}. Therefore, you will get
Code: Select all
k=(1-delta)*k(-1)/u+i;

Otherwise, people would form expectations about u, although it should be known. See also Aguiar/Gopinath (2007) on this.
------------
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: Timing of law of motion of capital in model with trend

Postby DW916 » Fri Apr 01, 2016 3:39 am

jpfeifer wrote:Here, with an explicit stochastic trend, the timing is crucial. If you go for the beginning of period capital stock notation as you do, capital K_{t+1 should have a trend factor X_t, not X_{t+1}. Therefore, you will get
Code: Select all
u*k=(1-delta)*k(-1)+i;

Otherwise, people would form expectations about u, although it should be known. See also Aguiar/Gopinath (2007) on this.


Many thanks Johannes, you help me to correct a big mistake, but your example code seems a little bit wrong.
If I understand you correctly,
I would like to define Yt/Xt=yt, While Kt/Xt-1=kt, Xt/Xt-1=ut
Therefore
Kt+1=(1-delta)*Kt+It , becomes
(kt+1)*Xt=(1-delta)*kt*(Xt-1)+it*Xt,

so both sides divided by Xt-1 we get :
ut*kt+1=(1-delta)*kt+ut*it

In Dynare it should be:
Code: Select all
u*k=(1-delta)*k(-1)+u*i;


By the way, the production function Yt=(Kt^alpha)*(XtNt)^(1-alpha)
After detrend becomes yt=(kt/ut)^alpha*Nt^(1-alpha);
In Dynare it should be:
Code: Select all
y=(k(-1)/u)^alpha*n^(1-alpha);


Interest rate Rt=alpha*Yt/Kt=alpha*yt*Xt/(kt*Xt-1)=alpha*yt*ut/kt;
In Dynare it should be:
Code: Select all
r=alpha*y*u/k(-1);


Could you help to check again if I am right this time?

Many thanks.
DW916
 
Posts: 31
Joined: Sat Feb 27, 2016 9:05 am

Re: Timing of law of motion of capital in model with trend

Postby jpfeifer » Fri Apr 01, 2016 6:47 am

You are right. See also Section 5.1 of my Guide to Observation equations. I corrected my above post for future reference.
------------
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 14 guests