timing of an equation

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 an equation

Postby colcia » Thu Sep 02, 2010 9:16 pm

Dear All,

suppose you have a capital accumulation equation

k(t)=p*k(t-1)+I(t)

and that k(t) (not k(t-1) as usual) is the stock of capital used in today's production. In other words investment becomes new capital within the same period. This implies that K is not a state variable.

How would you write the equation above in dynare? Notice that If I write k as reported above it would be considered as a state variable.

what if I write it as

k(t+1)=p*k(t)+I(t)

and put k(t) in the production function?

thanks
colcia
 
Posts: 5
Joined: Mon Dec 29, 2008 9:36 am

Re: timing of an equation

Postby otb » Thu Sep 02, 2010 10:04 pm

k(t-1) is the state variable because you bring it in from last period. You should keep your former law of capital accumulation equation, but use k(t) in the current production function instead of k(t-1).
otb
 
Posts: 26
Joined: Mon Apr 07, 2008 4:47 pm

Re: timing of an equation

Postby iacoviel » Fri Sep 03, 2010 2:48 am

Using k(t) instead of k(t-1) in the production function for today's y(t) makes little economic sense. The resource constraint for the economy would read as
y(t)=f(k(t))=c(t)+k(t)-(1-d)k(t-1)
So this would mean that the same capital that is used to produce today's y(t) is then used to produce today's k(t), which is kind of weird, because you would at the same produce produce y(t) using k(t) and then produce k(t) using whatever y(t) you do not use for consumption. It is conceptually ok if you think of k(t) as being intermediate goods, but then you should set d=1 (intermediate goods are used up in production within the period), but then you could write the entire model without reference to k(t) at all since k(t) becomes a purely static variable.
Bottom line: better think hard of why it is k(t) and not k(t-1) in the production function.
iacoviel
 
Posts: 38
Joined: Wed Feb 01, 2006 6:25 pm

Re: timing of an equation

Postby colcia » Fri Sep 03, 2010 6:13 am

Thanks for the replies,

actually K is not the variable I'm considering it was just an example, obviously it was not good.

So briefly, consider the following. Each firm in each period can post vacancies V which with probability q becomes new matches in the same period and contribute to the firm's existing workforce n

So n(t)=p*n(t-1)+Vq

n(t) workers are used to produce in each period t.
However if I write the equation in dynare as above then n would be condider as a state variable, but it is not since Vq contribute to the stock of empolyment in the same period.

How would you write equation and prod. fucntion assuming Y is linear in n?
colcia
 
Posts: 5
Joined: Mon Dec 29, 2008 9:36 am

Re: timing of an equation

Postby jpfeifer » Fri Sep 03, 2010 7:51 am

Sorry, I am not sure, if I fully understand the problem, but n(t-1) definitely is a state in your problem as you have to keep track of it due to your "law of motion" n(t)=p*n(t-1)+V*q. Hence, you should enter it this way to Dynare. The difference to capital is that capital is a predetermined state. Next period's capital is determined by today's investment, but yesterday's capital is used in today's production function.
Code: Select all
k=(1-delta)*k(-1)+I;
 y=A*k(-1)

In your case, today's n is determined according to your law of motion (in Dynare notation)
Code: Select all
n=p*n(-1)+V*q;
y=A*n;

and is hence not predetermined. Note the difference to the treatment of capital, where the production factor has a different timing.
------------
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 an equation

Postby colcia » Fri Sep 03, 2010 12:09 pm

Ok,
thanks for your reply. That is the way I wrote the equation since the beginning, but I have determinacy problems.

Maybe it is just the calibration.

thanks anyway
colcia
 
Posts: 5
Joined: Mon Dec 29, 2008 9:36 am


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 6 guests