BGG model with bubbles

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 bubbles

Postby happy » Fri Feb 10, 2012 2:39 pm

Hi guys,

I was trying to replicate the result of Bernake and Gertler's paper "monetary policy and asset price volatility" and confronted a weird error. When i ran the model, an error was reported:

Starting Dynare (version 4.2.4).
Starting preprocessing of the model file ...
Substitution of Expectation operator: added 2 auxiliary variables and equations.
ERROR: There are 20 equations but 19 endogenous variables!

My model exactly matches (A.1) to (A.18) of BG's paper (the extra two variables and two equations come from the substitution of EXPECTATION operator). I checked BG's paper carefully and found they have 18 equations but only 17 variables. Has anybody worked out BG's model?

Thanks a lot for any help,
Best regards,
Yin
happy
 
Posts: 1
Joined: Fri Feb 10, 2012 1:37 pm

Re: BGG model with bubbles

Postby econstudent100 » Tue Apr 14, 2015 2:47 pm

Hi, did you get a solution for your problem?
econstudent100
 
Posts: 2
Joined: Tue Apr 14, 2015 2:46 pm

Re: BGG model with bubbles

Postby jpfeifer » Tue Apr 14, 2015 2:55 pm

If I am not mistaken, the paper has 18 equations and the following 18 variables (in alphabetical)

c
c_e
g
i
k
l
mc
n
n
pi
q
r
r_n
r_q
r_s
s
y
z

Thus, you must be doing something wrong.
------------
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: BGG model with bubbles

Postby econstudent100 » Thu Apr 16, 2015 8:48 pm

The problem is however how to implement the bursting of the bubble in the 5th period...
econstudent100
 
Posts: 2
Joined: Tue Apr 14, 2015 2:46 pm

Re: BGG model with bubbles

Postby jpfeifer » Wed Apr 22, 2015 6:46 am

Have you already tried something to do that? What is your current take? Could you provide me with the most recent mod-file?
------------
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: BGG model with bubbles

Postby robpancr » Tue Feb 16, 2016 11:07 am

Haven't you written "n" twice?
I am not sure also what is the 18th variable, in that model



jpfeifer wrote:If I am not mistaken, the paper has 18 equations and the following 18 variables (in alphabetical)

c
c_e
g
i
k
l
mc
n
n
pi
q
r
r_n
r_q
r_s
s
y
z

Thus, you must be doing something wrong.
robpancr
 
Posts: 9
Joined: Mon Oct 15, 2012 8:44 am

Re: BGG model with bubbles

Postby jpfeifer » Sat Feb 20, 2016 8:12 am

@robpancr: Good catch. n is there twice. So the user needs to identify the missing variable (or the redundant equation)
------------
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: BGG model with bubbles

Postby robpancr » Mon Feb 29, 2016 10:54 am

The problem is that If I read the paper carefully, I only count 17 variables and 18 equations...
robpancr
 
Posts: 9
Joined: Mon Oct 15, 2012 8:44 am


Return to Dynare contributions and examples

Who is online

Users browsing this forum: No registered users and 4 guests