MJDGGES returns the following error code 11

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.

MJDGGES returns the following error code 11

Postby Helton » Sat Sep 12, 2009 5:53 pm

Dear friends,

I am getting the following error message when I run my dynare code:

??? Error using ==> print_info
MJDGGES returns the following error code11

Error in ==> c:\dynare\4.0.4\matlab\stoch_simul.m
On line 44 ==> print_info(info);

Error in ==> c:\dynare\4.0.4\matlab\ramsey_policy.m
On line 25 ==> info = stoch_simul(var_list);

Error in ==> C:\MATLAB6p5\work\DSGE_Stackelberg\fiscalleadership.m
On line 144 ==> ramsey_policy(var_list_);

Error in ==> c:\dynare\4.0.4\matlab\dynare.m
On line 102 ==> evalin('base',fname) ;


So, I would like to solve this problem but unfortunately i do not know how to start..
Does anyone have a solution, clue, and so on?
My sincerely regards to all dynare community..

The code is:
// # declaration of endogenous variables
var pi, x, b, i, g;

// # declaration of exogenous variables
varexo nu, rn, eta, xi;

// # declaration of parameters
parameters gamma_0, gamma_i1, gamma_i2, gamma_pi0, gamma_x0, gamma_x1, beta, kappa, sig, alpha, B, ie, varpi, rhopi, rhox, rhog;

// parameters values
gamma_0=0;
gamma_i1=0.4;
gamma_i2=0.2;
gamma_pi0=0.8;
gamma_x0=0.5;
gamma_x1=0.1;

beta=0.9;
kappa=2;
sig=0.3;
alpha=0.2;
B=0.2;
ie=0;
varpi=0.39;

rhopi = 0.5;
rhopi = 0.1;
rhog = 0.2;

// # specification of the model equations
model(linear);
pi = kappa*x + beta*pi(+1) + nu;
x = x(+1) - sig*(i - pi(+1) - rn) + alpha*b;
b = (1+ie)*b(-1) + B*i + g - varpi*x + eta;
i = - gamma_0*ie + gamma_i1*i(-1) - gamma_i2*i(-2) + gamma_pi0*pi + gamma_x0*x - gamma_x1*x(-1) + xi;
end;

// # specification of the shocks
shocks;
var nu; stderr 0.2;
var rn; stderr 0.2;
var eta; stderr 0.2;
var xi; stderr 0.2;
end;

// # loss function
planner_objective rhopi*pi^2 + rhox*x^2 + rhog*g^2;

ramsey_policy(planner_discount=0.9);
Helton
 
Posts: 1
Joined: Sat Sep 12, 2009 2:13 pm

Return to Dynare help

Who is online

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