Simple dynare coding problem

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.

Simple dynare coding problem

Postby MSCstudent » Thu Aug 04, 2016 12:14 pm

Hi all,

I am really stuck with my coding in dynare and my dissertation supervisor has no clue how to help either. Attached I have my dynare code (disso3.mod) which won't converge to a steady state, and also I have attached the equations which need to be coded (disso 3 equations pdf). They all match up and are easy to follow, so it shouldn't take an experienced eye to check whether I have made a mistake.

I really appreciate any help,

MSCstudent

Nottingham
Attachments
disso3.mod
(3.17 KiB) Downloaded 79 times
disso 3 equations.pdf
(1.66 MiB) Downloaded 107 times
MSCstudent
 
Posts: 7
Joined: Tue Aug 02, 2016 2:50 pm

Re: Simple dynare coding problem

Postby jpfeifer » Thu Aug 04, 2016 1:00 pm

Set up your model without the exp-substitution (the latter is too error prone when not computing the steady state analytically). You can then change this later once you have the steady state. Then provide sensible initial values. Assuming all (log) variables does not make sense. For example, you know that
Code: Select all
pi=PISS

in steady state and C<I<Y and I=delta*K
------------
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: Simple dynare coding problem

Postby MSCstudent » Thu Aug 04, 2016 1:48 pm

Thank you for your advice. I have now put everything in the same form as its written on paper (i.e. removed all exp-substitution). I have followed your examples in your page on 'A guide to specifying observation equations for the estimation of DSGE models' and remove the initial values all equal to zero. Instead I have created a steady state model section. Here I am stuck. I was only taught how to use the exp-subsitution method. What do I fill in to this section and/or how do I work out how many steady state equations I need?

Thank you so much again,

MSCstudent

Nottingham
Attachments
disso4.mod
(2.71 KiB) Downloaded 83 times
MSCstudent
 
Posts: 7
Joined: Tue Aug 02, 2016 2:50 pm

Re: Simple dynare coding problem

Postby jpfeifer » Fri Aug 05, 2016 7:20 am

With a steady_state_model-block, you need to provide a full analytical steady state, which you don't have. My suggestion was to keep using initval, but to use more realistic values., rather than 0 for everything.
------------
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


Return to Dynare help

Who is online

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