Page 1 of 1

Missing state variable

PostPosted: Tue Jun 29, 2010 11:16 pm
by giangho
Hello,

I'm solving a standard RBC model with investment adjustment cost. As a result, lagged investment, i(-1), is supposed to be a state variable. However i(-1) doesn't appear in the policy function for some reason. Is this a bug or am I missing something?

I've attached my mod file.

Thank you!

Re: Missing state variable

PostPosted: Wed Jun 30, 2010 7:11 am
by jpfeifer
Hi,
shouldn't there be a first order condition determining the optimal investment? I only see FOCs for consumption, labor and capital.

Re: Missing state variable

PostPosted: Wed Jun 30, 2010 8:09 am
by giangho
You're right, I included the wrong equation, sorry.

Thanks a lot for your help!