SOE DSGE HELP!!

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.

SOE DSGE HELP!!

Postby roara » Wed Dec 16, 2015 1:56 pm

Hi DSGE solvers

I'm trying make SOE DSGE model. But, I cannot solve NaN/Inf problem..
I need your advice that how can I fix this.

thank you,,
Attachments
jpdat.m
(9.13 KiB) Downloaded 130 times
sot2.mod
(11.55 KiB) Downloaded 128 times
roara
 
Posts: 3
Joined: Wed Dec 16, 2015 1:39 pm

Re: SOE DSGE HELP!!

Postby jpfeifer » Thu Dec 17, 2015 9:23 am

Please try a calibrated version of the model first. See Remark 2 (Using stoch_simul before Estimation) in Pfeifer(2013): "A Guide to Specifying Observation Equations for the Estimation of DSGE Models" https://sites.google.com/site/pfeiferecon/Pfeifer_2013_Observation_Equations.pdf.
Focus on equation 17 and the model-local variables involved in it. If I understand it correctly, you have

Code: Select all
#rsss=1/(ebs*beta);
#rlss=(rsss*ebs)/ebbarl;

But ebs is an exogenous variable that is mean 0, so you are dividing by 0 and rsss will be infinity. rlss then has infinity divided by infinity, resulting in NaN
------------
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: SOE DSGE HELP!!

Postby roara » Wed Dec 23, 2015 5:52 am

Thank you very much, Proffessor !

I made a easy mistake. And, fixed this.
But, I have new problem that colinear variables/equations.

I read much Q's in this forum, but I don't get it well.
How can I fix this problem for example?


many thanks,
Attachments
Cross-Country Co-movement in Long-Term Interest Rates Appendix.pdf
I refer this paper
(325.28 KiB) Downloaded 132 times
Cross-country co-movement in long-term interest rates a DSGE approach.pdf
I refer this paper
(675.04 KiB) Downloaded 155 times
sot2.mod
(12.81 KiB) Downloaded 132 times
roara
 
Posts: 3
Joined: Wed Dec 16, 2015 1:39 pm

Re: SOE DSGE HELP!!

Postby jpfeifer » Wed Dec 23, 2015 9:44 am

That is hard to tell. Usually, there is one equation missing that needs to replace one of the redundant equations entered in the mod-file. Alternatively, there may still be a (timing) error in your model equations.
------------
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: SOE DSGE HELP!!

Postby roara » Wed Dec 23, 2015 11:24 am

Thank you for your quick reply!
I try to revise my equations.
Best wishes,

Roara
roara
 
Posts: 3
Joined: Wed Dec 16, 2015 1:39 pm


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 8 guests