Errors with files attached to a economic paper

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.

Errors with files attached to a economic paper

Postby robbionline » Sun Jul 28, 2013 12:26 pm

Hello,

I'm new to Octave and Dynare. I try to run a script by J.F. Cogan, T. Cwik, J.B. Taylor and V. Wieland (2010), "New Keynesian versus old Keynesian government spending multipliers", Journal of Economic Dynamics & Control 34, 281-295. You can download the package here: http://www.wiwi.uni-frankfurt.de/profes ... W_2010.zip

After starting the model simulation, I get the following error message:
MODEL SIMULATION :

error: scalar cannot be indexed with .
error: called from:
error: /usr/share/dynare/matlab/sim1.m at line 115, column 5
error: /usr/share/dynare/matlab/simul.m at line 100, column 17
error: /home/robert/Arbeitsfläche/Code_CCTW_2010/start_CCTW.m at line 30, column 1

I'm running a Ubuntu 13.04 x64 machine and use the official ubuntu repos.
robbionline
 
Posts: 3
Joined: Sun Jul 28, 2013 12:06 pm

Re: Errors with files attached to a economic paper

Postby jpfeifer » Sun Jul 28, 2013 12:58 pm

Are you using the Dynare version they recommend?
------------
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: Errors with files attached to a economic paper

Postby robbionline » Sun Jul 28, 2013 3:14 pm

They recommend version 4.04 and Matlab 2008b. I use Octave and Dynare in the most recent version of the ubunto repositories.
robbionline
 
Posts: 3
Joined: Sun Jul 28, 2013 12:06 pm

Re: Errors with files attached to a economic paper

Postby jpfeifer » Sun Jul 28, 2013 4:12 pm

The syntax for simul seems to have changed. Try the attached file.
Attachments
start_CCTW.m
Version running with Dynare 4.3.3
(5.42 KiB) Downloaded 88 times
------------
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: Errors with files attached to a economic paper

Postby robbionline » Fri Aug 02, 2013 5:27 pm

Thank you. Dynare can't find SW_US_fiscal_LC.mod. Do you mean SW_US_fiscal2002?
robbionline
 
Posts: 3
Joined: Sun Jul 28, 2013 12:06 pm

Re: Errors with files attached to a economic paper

Postby jpfeifer » Wed Aug 07, 2013 7:13 am

No. The files were both contained in the zip-file you posted
------------
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: No registered users and 9 guests