BGG model with investment delays.

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.

BGG model with investment delays.

Postby lipetty » Mon Sep 17, 2012 2:10 pm

hi, everyone.do you ever copy the BGG(1999) model with investment delays.In dynare code ,if i set the investment with a head(equation 4.19),then ,the b_k condition is not satified,so ,how can i modify it ,thank you !
Attachments
BGG1.mod
(3.16 KiB) Downloaded 93 times
lipetty
 
Posts: 16
Joined: Thu Aug 23, 2012 9:46 am

Re: BGG model with investment delays.

Postby peter487 » Mon Sep 17, 2012 2:40 pm

This seems to do the trick. Put this instead of equation 4.19
Code: Select all
q = psi*(i2 - k(-1));//4.19
i2(-1) = i;

Change your var declaration to
Code: Select all
var y c i g ce n rk r q k x a h pi rn v i2;
peter487
 
Posts: 14
Joined: Thu Sep 13, 2012 3:26 pm

Re: BGG model with investment delays.

Postby lipetty » Tue Sep 18, 2012 2:16 pm

thank u very much. I get it! :P
lipetty
 
Posts: 16
Joined: Thu Aug 23, 2012 9:46 am


Return to Dynare help

Who is online

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