ALMOST THERE... NEED SOME ADVICE, PLEASE :)

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.

ALMOST THERE... NEED SOME ADVICE, PLEASE :)

Postby MSC_1991 » Fri Jan 06, 2017 7:43 pm

:D Hello! Thank you for taking your time to help me!

I'm writing a code to run some shocks to a small open economy with formal and informal markets plus corruption in steady state.

Nevertheless, my code has some problems and won't run.

I kindly request any advice or suggestion, I'm very grateful for even the most minor improvement!

Thank you so much!
Attachments
code.mod
CODE.mod
(3.83 KiB) Downloaded 41 times
Variables and parameterts definition.pdf
DEFINITION OF ALL PARAMETERS AND VARIABLES
(375.25 KiB) Downloaded 41 times
Equations for Dynare.pdf
LIST OF ALL THE EQUATIONS AND THEIR CODE
(347.42 KiB) Downloaded 43 times
MSC_1991
 
Posts: 2
Joined: Fri Jan 06, 2017 7:33 pm

Re: ALMOST THERE... NEED SOME ADVICE, PLEASE :)

Postby jpfeifer » Sun Jan 08, 2017 7:15 pm

Please try with F9 in Matlab to sequentially execute your parameter definitions. You will see that
Code: Select all
nf_ss

is not defined yet when you use it to compute
Code: Select all
k_ss

Another remark: you are not handling parameter dependence correctly. For stoch_simul this is no problem, but is nevertheless dangerous. See 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
------------
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: ALMOST THERE... NEED SOME ADVICE, PLEASE :)

Postby MSC_1991 » Sun Jan 22, 2017 5:25 pm

Thank you so much!
MSC_1991
 
Posts: 2
Joined: Fri Jan 06, 2017 7:33 pm


Return to Dynare help

Who is online

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