Coding the capital stock when there is a lag in production

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.

Coding the capital stock when there is a lag in production

Postby mch » Wed Jul 25, 2012 5:52 pm

Hi,

I am confused about the appropriate treatment of stock variables like capital when there is a lag in the production function. For example, in the Dynare guide Y(t) = F(K(t),L(t)) is written in the form Y = F(K(-1),L) in Dynare code, to reflect the fact that capital is a stock and hence predetermined. The production function in my model has the form Y(t)=F(K(t-1),L(t)). Following the logic above, should this be written in Dynare code as Y = F(K(-2),L)?

Thanks,
mch
mch
 
Posts: 9
Joined: Sat Feb 04, 2012 6:07 pm

Re: Coding the capital stock when there is a lag in producti

Postby reubenpjacob » Sun Jul 29, 2012 5:40 pm

No. You still code as
y= a*K(-1) + (1-a)*N
In the literature, some people use the y=f(k(-1),N) notation while others use the y=f(k,n) format. either way, they mean that the capital stock is predetermined between any two dates.

reuben
reubenpjacob
 
Posts: 133
Joined: Fri Oct 06, 2006 3:23 pm
Location: Reserve Bank of New Zealand

Re: Coding the capital stock when there is a lag in producti

Postby jpfeifer » Mon Jul 30, 2012 10:26 am

What are you trying to do? Traditionally, capital at time t is determined by investment at time t-1 and thus gets the timing (-1) as Reuben said. However, if you want to have that the capital stock determined by investment at t-2 is the one being productive at time t, it should be k(-2) in the production function.
------------
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: Coding the capital stock when there is a lag in producti

Postby mch » Mon Aug 06, 2012 3:19 pm

It' s an OLG model where the young purchase capital so that they can produce output when they are old and have no income. The lag in the production function arises because the amount produced by the current old generation (t) depends on how much capital they purchased in the previous period when young (i.e. purchases at time t-1).

mch
mch
 
Posts: 9
Joined: Sat Feb 04, 2012 6:07 pm

Re: Coding the capital stock when there is a lag in producti

Postby jpfeifer » Mon Aug 06, 2012 3:22 pm

But isn't this the standard timing? You invest in capital at time t to have it at t+1. In that case, Reuben is correct. There is only a one-period lag as to when new capital can be used.
------------
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 4 guests