simulation

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.

simulation

Postby Brigitte » Tue Jul 28, 2015 9:11 am

Dear dynare creators and users,

I have a loglinearized model in dynare. When I run model_diagnostics and check command, everything is fine ( no unit root). However, when I stoch_simul the system with a preference shock, I can see for the consumption of Ricardian HH zero mean but also zero variance in theoretical moments section. Moreover, dynare tells me, that this consumption is either nonstationary or constant. Given equation is in accordance with the literature. The IRF then seem weird. How this could happen? Thank you very much for your comments.
Brigitte
 
Posts: 11
Joined: Sat Jul 18, 2015 9:01 pm

Re: simulation

Postby jpfeifer » Tue Jul 28, 2015 9:25 am

Mod-file please.
------------
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: simulation

Postby Brigitte » Tue Jul 28, 2015 9:52 am

Dear professor Pfeifer,

thank you very much. Here is the mod. file.
Attachments
dsge2.mod
(23.56 KiB) Downloaded 93 times
Brigitte
 
Posts: 11
Joined: Sat Jul 18, 2015 9:01 pm

Re: simulation

Postby jpfeifer » Tue Jul 28, 2015 10:02 am

You need to check your FOCs. If you look at the policy function of c_R you will see that it does not respond to most shocks.

Sidenote: it seems you are going for estimation. In this case, you are neglecting parameter dependence in your mod-file (search the forum)
------------
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: simulation

Postby Brigitte » Tue Jul 28, 2015 5:27 pm

I found the mistake. Thank you very much for your help and thank you for introducing me the parameter dependance, I will use it.

Best regards,
B.
Brigitte
 
Posts: 11
Joined: Sat Jul 18, 2015 9:01 pm


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 4 guests

cron