Cannot run source code for working paper #7

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.

Cannot run source code for working paper #7

Postby doctorwes » Tue Sep 06, 2011 9:50 pm

I am trying to run the source code for Dynare working paper #7 with v. 4.2.1 and I get the following:

Code: Select all
Warning: Divide by zero.
> In mze1_static at 14
  In resol at 100
  In dynare_estimation_1 at 90
  In dynare_estimation at 62
  In mze1 at 997
  In dynare at 132


...followed by many more of the above error, then...

Code: Select all
STEADY:  numerical initial values incompatible with the following equations
  Columns 1 through 15

     1     2     3     4     5     6     8     9    13    14    15    16    17    18    19

  Columns 16 through 30

    20    21    22    23    26    27    28    29    30    31    32    33    34    37    38

  Columns 31 through 45

    40    41    43    51    61    62    63    64    65    66    68    69    70    71    72

  Columns 46 through 58

    73    75    77    80    81    82    83    84    85    88    90    91    92

??? Error using ==> dynare_solve at 94
exiting ...

Error in ==> resol at 102
                    [steady_state,check1] =
                    dynare_solve(fh,steady_state,options_.jacobian_flag,...

Error in ==> dynare_estimation_1 at 90
    [dd,info] = resol(oo_.steady_state,0);

Error in ==> dynare_estimation at 62
    dynare_estimation_1(var_list,varargin{:});

Error in ==> mze1 at 997
dynare_estimation(var_list_);

Error in ==> dynare at 132
evalin('base',fname) ;


The only modification I made to the .mod file was to delete the use_dll option. What am I doing wrong?
doctorwes
 
Posts: 6
Joined: Thu Dec 27, 2007 3:49 pm

Re: Cannot run source code for working paper #7

Postby StephaneAdjemian » Mon Sep 12, 2011 3:29 pm

Hi, I am not able to reproduce this error message (with or without use_dll option). Are you sure that the file mze_steadystate.m is in the same directory than mze.mod ? Also if you rename mze.mod you have to change the name of the steadystate file. Otherwise Dynare does not use the analytical steady state provided in this routine (and crashes without this information because the initial values for the endogenous variables are not set correctly in this mod file).

Best, Stéphane.
Stéphane Adjemian
Université du Maine, GAINS and DynareTeam
https://stepan.adjemian.eu
StephaneAdjemian
 
Posts: 429
Joined: Wed Jan 05, 2005 4:24 pm
Location: Paris, France.


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 6 guests

cron