Help with discretionary policy

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.

Help with discretionary policy

Postby anupmulay1 » Wed Jun 15, 2016 7:10 pm

Hi,

I am attempting to run the codes written by Dr. Pfeifer for discretionary policy in an NK model (Gali_2008_chapter_5_discretion.mod on his github page), and I keep getting the following series of errors. I am new to dynare and I am struggling to make sense of what the errors mean. Please could I get some help with this? The series of errors is mentioned below, and the mod file is attached.

Subscripted assignment dimension mismatch.

Error in th_autocovariances (line 101)
ghu1(i0,:) = ghu(ikx,:);

Error in disp_th_moments (line 37)
[oo_.gamma_y,stationary_vars] = th_autocovariances(dr,ivar,M_,options_);

Error in stoch_simul (line 164)
disp_th_moments(oo_.dr,var_list);

Error in discretionary_policy (line 25)
info = stoch_simul(var_list);

Error in gali2008ch3disc (line 212)
discretionary_policy(var_list_);

Error in dynare (line 180)
evalin('base',fname) ;


Thank you very much.

Anup
Attachments
gali2008ch3disc.mod
codes
(6.52 KiB) Downloaded 70 times
anupmulay1
 
Posts: 11
Joined: Mon Feb 01, 2016 8:46 pm

Re: Help with discretionary policy

Postby jpfeifer » Wed Jun 15, 2016 7:37 pm

All mod-files in my repository are built to work with Dynare 4.5, i.e. currently you must use the unstable version.
------------
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: Help with discretionary policy

Postby anupmulay1 » Thu Jun 16, 2016 11:56 am

Ok I will do that. Thank you very much Dr. Pfeifer!
anupmulay1
 
Posts: 11
Joined: Mon Feb 01, 2016 8:46 pm


Return to Dynare help

Who is online

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