%
% Status : main Dynare file 
%
% Warning : this file is generated automatically by Dynare
%           from model file (.mod)

tic;
global M_ oo_ options_ ys0_ ex0_ estimation_info
options_ = [];
M_.fname = 'shadow_ramsey';
%
% Some global variables initialization
%
global_initialization;
diary off;
diary('shadow_ramsey.log');
M_.exo_names = 'c1shockgyerr';
M_.exo_names_tex = 'c1shockgyerr';
M_.exo_names_long = 'c1shockgyerr';
M_.exo_names = char(M_.exo_names, 'c1zerr');
M_.exo_names_tex = char(M_.exo_names_tex, 'c1zerr');
M_.exo_names_long = char(M_.exo_names_long, 'c1zerr');
M_.exo_names = char(M_.exo_names, 'c2shockgyerr');
M_.exo_names_tex = char(M_.exo_names_tex, 'c2shockgyerr');
M_.exo_names_long = char(M_.exo_names_long, 'c2shockgyerr');
M_.exo_names = char(M_.exo_names, 'c2zerr');
M_.exo_names_tex = char(M_.exo_names_tex, 'c2zerr');
M_.exo_names_long = char(M_.exo_names_long, 'c2zerr');
M_.exo_names = char(M_.exo_names, 'c2taupvarerr');
M_.exo_names_tex = char(M_.exo_names_tex, 'c2taupvarerr');
M_.exo_names_long = char(M_.exo_names_long, 'c2taupvarerr');
M_.exo_names = char(M_.exo_names, 'c1taupvarerr');
M_.exo_names_tex = char(M_.exo_names_tex, 'c1taupvarerr');
M_.exo_names_long = char(M_.exo_names_long, 'c1taupvarerr');
M_.exo_names = char(M_.exo_names, 'c1monerr');
M_.exo_names_tex = char(M_.exo_names_tex, 'c1monerr');
M_.exo_names_long = char(M_.exo_names_long, 'c1monerr');
M_.exo_names = char(M_.exo_names, 'c2monerr');
M_.exo_names_tex = char(M_.exo_names_tex, 'c2monerr');
M_.exo_names_long = char(M_.exo_names_long, 'c2monerr');
M_.endo_names = 'shadow_Welfcorrection';
M_.endo_names_tex = 'shadow\_Welfcorrection';
M_.endo_names_long = 'shadow_Welfcorrection';
M_.endo_names = char(M_.endo_names, 'Util');
M_.endo_names_tex = char(M_.endo_names_tex, 'Util');
M_.endo_names_long = char(M_.endo_names_long, 'Util');
M_.endo_names = char(M_.endo_names, 'Welf');
M_.endo_names_tex = char(M_.endo_names_tex, 'Welf');
M_.endo_names_long = char(M_.endo_names_long, 'Welf');
M_.endo_names = char(M_.endo_names, 'instr1');
M_.endo_names_tex = char(M_.endo_names_tex, 'instr1');
M_.endo_names_long = char(M_.endo_names_long, 'instr1');
M_.endo_names = char(M_.endo_names, 'instr2');
M_.endo_names_tex = char(M_.endo_names_tex, 'instr2');
M_.endo_names_long = char(M_.endo_names_long, 'instr2');
M_.endo_names = char(M_.endo_names, 'Util1');
M_.endo_names_tex = char(M_.endo_names_tex, 'Util1');
M_.endo_names_long = char(M_.endo_names_long, 'Util1');
M_.endo_names = char(M_.endo_names, 'Util2');
M_.endo_names_tex = char(M_.endo_names_tex, 'Util2');
M_.endo_names_long = char(M_.endo_names_long, 'Util2');
M_.endo_names = char(M_.endo_names, 'c1c');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1c');
M_.endo_names_long = char(M_.endo_names_long, 'c1c');
M_.endo_names = char(M_.endo_names, 'c1cd');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1cd');
M_.endo_names_long = char(M_.endo_names_long, 'c1cd');
M_.endo_names = char(M_.endo_names, 'c1mc');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1mc');
M_.endo_names_long = char(M_.endo_names_long, 'c1mc');
M_.endo_names = char(M_.endo_names, 'c1y');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1y');
M_.endo_names_long = char(M_.endo_names_long, 'c1y');
M_.endo_names = char(M_.endo_names, 'c1g');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1g');
M_.endo_names_long = char(M_.endo_names_long, 'c1g');
M_.endo_names = char(M_.endo_names, 'c1rpcpd');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1rpcpd');
M_.endo_names_long = char(M_.endo_names_long, 'c1rpcpd');
M_.endo_names = char(M_.endo_names, 'c1pid');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1pid');
M_.endo_names_long = char(M_.endo_names_long, 'c1pid');
M_.endo_names = char(M_.endo_names, 'c1hp');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1hp');
M_.endo_names_long = char(M_.endo_names_long, 'c1hp');
M_.endo_names = char(M_.endo_names, 'c1gp');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1gp');
M_.endo_names_long = char(M_.endo_names_long, 'c1gp');
M_.endo_names = char(M_.endo_names, 'c1pstar');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1pstar');
M_.endo_names_long = char(M_.endo_names_long, 'c1pstar');
M_.endo_names = char(M_.endo_names, 'c1deltad');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1deltad');
M_.endo_names_long = char(M_.endo_names_long, 'c1deltad');
M_.endo_names = char(M_.endo_names, 'c1rn');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1rn');
M_.endo_names_long = char(M_.endo_names_long, 'c1rn');
M_.endo_names = char(M_.endo_names, 'c1rer');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1rer');
M_.endo_names_long = char(M_.endo_names_long, 'c1rer');
M_.endo_names = char(M_.endo_names, 'c1dcore');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1dcore');
M_.endo_names_long = char(M_.endo_names_long, 'c1dcore');
M_.endo_names = char(M_.endo_names, 'c2c');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2c');
M_.endo_names_long = char(M_.endo_names_long, 'c2c');
M_.endo_names = char(M_.endo_names, 'c2cd');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2cd');
M_.endo_names_long = char(M_.endo_names_long, 'c2cd');
M_.endo_names = char(M_.endo_names, 'c2mc');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2mc');
M_.endo_names_long = char(M_.endo_names_long, 'c2mc');
M_.endo_names = char(M_.endo_names, 'c2y');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2y');
M_.endo_names_long = char(M_.endo_names_long, 'c2y');
M_.endo_names = char(M_.endo_names, 'c2g');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2g');
M_.endo_names_long = char(M_.endo_names_long, 'c2g');
M_.endo_names = char(M_.endo_names, 'c2rpcpd');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2rpcpd');
M_.endo_names_long = char(M_.endo_names_long, 'c2rpcpd');
M_.endo_names = char(M_.endo_names, 'c2pid');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2pid');
M_.endo_names_long = char(M_.endo_names_long, 'c2pid');
M_.endo_names = char(M_.endo_names, 'c2hp');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2hp');
M_.endo_names_long = char(M_.endo_names_long, 'c2hp');
M_.endo_names = char(M_.endo_names, 'c2gp');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2gp');
M_.endo_names_long = char(M_.endo_names_long, 'c2gp');
M_.endo_names = char(M_.endo_names, 'c2pstar');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2pstar');
M_.endo_names_long = char(M_.endo_names_long, 'c2pstar');
M_.endo_names = char(M_.endo_names, 'c2deltad');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2deltad');
M_.endo_names_long = char(M_.endo_names_long, 'c2deltad');
M_.endo_names = char(M_.endo_names, 'c2rn');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2rn');
M_.endo_names_long = char(M_.endo_names_long, 'c2rn');
M_.endo_names = char(M_.endo_names, 'c2dcore');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2dcore');
M_.endo_names_long = char(M_.endo_names_long, 'c2dcore');
M_.endo_names = char(M_.endo_names, 'Welfcon1');
M_.endo_names_tex = char(M_.endo_names_tex, 'Welfcon1');
M_.endo_names_long = char(M_.endo_names_long, 'Welfcon1');
M_.endo_names = char(M_.endo_names, 'c1deltadlag');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1deltadlag');
M_.endo_names_long = char(M_.endo_names_long, 'c1deltadlag');
M_.endo_names = char(M_.endo_names, 'c1rnlag');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1rnlag');
M_.endo_names_long = char(M_.endo_names_long, 'c1rnlag');
M_.endo_names = char(M_.endo_names, 'c1rpcpdlag');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1rpcpdlag');
M_.endo_names_long = char(M_.endo_names_long, 'c1rpcpdlag');
M_.endo_names = char(M_.endo_names, 'c2deltadlag');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2deltadlag');
M_.endo_names_long = char(M_.endo_names_long, 'c2deltadlag');
M_.endo_names = char(M_.endo_names, 'c2rnlag');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2rnlag');
M_.endo_names_long = char(M_.endo_names_long, 'c2rnlag');
M_.endo_names = char(M_.endo_names, 'c2rpcpdlag');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2rpcpdlag');
M_.endo_names_long = char(M_.endo_names_long, 'c2rpcpdlag');
M_.endo_names = char(M_.endo_names, 'c1deltadlag2');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1deltadlag2');
M_.endo_names_long = char(M_.endo_names_long, 'c1deltadlag2');
M_.endo_names = char(M_.endo_names, 'c1rnlag2');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1rnlag2');
M_.endo_names_long = char(M_.endo_names_long, 'c1rnlag2');
M_.endo_names = char(M_.endo_names, 'c1rpcpdlag2');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1rpcpdlag2');
M_.endo_names_long = char(M_.endo_names_long, 'c1rpcpdlag2');
M_.endo_names = char(M_.endo_names, 'c2deltadlag2');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2deltadlag2');
M_.endo_names_long = char(M_.endo_names_long, 'c2deltadlag2');
M_.endo_names = char(M_.endo_names, 'c2rnlag2');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2rnlag2');
M_.endo_names_long = char(M_.endo_names_long, 'c2rnlag2');
M_.endo_names = char(M_.endo_names, 'c2rpcpdlag2');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2rpcpdlag2');
M_.endo_names_long = char(M_.endo_names_long, 'c2rpcpdlag2');
M_.endo_names = char(M_.endo_names, 'c1shockgy');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1shockgy');
M_.endo_names_long = char(M_.endo_names_long, 'c1shockgy');
M_.endo_names = char(M_.endo_names, 'c1z');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1z');
M_.endo_names_long = char(M_.endo_names_long, 'c1z');
M_.endo_names = char(M_.endo_names, 'c1taupvar');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1taupvar');
M_.endo_names_long = char(M_.endo_names_long, 'c1taupvar');
M_.endo_names = char(M_.endo_names, 'c2shockgy');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2shockgy');
M_.endo_names_long = char(M_.endo_names_long, 'c2shockgy');
M_.endo_names = char(M_.endo_names, 'c2z');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2z');
M_.endo_names_long = char(M_.endo_names_long, 'c2z');
M_.endo_names = char(M_.endo_names, 'c2taupvar');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2taupvar');
M_.endo_names_long = char(M_.endo_names_long, 'c2taupvar');
M_.endo_names = char(M_.endo_names, 'lmult1');
M_.endo_names_tex = char(M_.endo_names_tex, 'lmult1');
M_.endo_names_long = char(M_.endo_names_long, 'lmult1');
M_.endo_names = char(M_.endo_names, 'lmult2');
M_.endo_names_tex = char(M_.endo_names_tex, 'lmult2');
M_.endo_names_long = char(M_.endo_names_long, 'lmult2');
M_.endo_names = char(M_.endo_names, 'lmult3');
M_.endo_names_tex = char(M_.endo_names_tex, 'lmult3');
M_.endo_names_long = char(M_.endo_names_long, 'lmult3');
M_.endo_names = char(M_.endo_names, 'lmult4');
M_.endo_names_tex = char(M_.endo_names_tex, 'lmult4');
M_.endo_names_long = char(M_.endo_names_long, 'lmult4');
M_.endo_names = char(M_.endo_names, 'lmult5');
M_.endo_names_tex = char(M_.endo_names_tex, 'lmult5');
M_.endo_names_long = char(M_.endo_names_long, 'lmult5');
M_.endo_names = char(M_.endo_names, 'lmult6');
M_.endo_names_tex = char(M_.endo_names_tex, 'lmult6');
M_.endo_names_long = char(M_.endo_names_long, 'lmult6');
M_.endo_names = char(M_.endo_names, 'lmult7');
M_.endo_names_tex = char(M_.endo_names_tex, 'lmult7');
M_.endo_names_long = char(M_.endo_names_long, 'lmult7');
M_.endo_names = char(M_.endo_names, 'lmult8');
M_.endo_names_tex = char(M_.endo_names_tex, 'lmult8');
M_.endo_names_long = char(M_.endo_names_long, 'lmult8');
M_.endo_names = char(M_.endo_names, 'lmult9');
M_.endo_names_tex = char(M_.endo_names_tex, 'lmult9');
M_.endo_names_long = char(M_.endo_names_long, 'lmult9');
M_.endo_names = char(M_.endo_names, 'lmult10');
M_.endo_names_tex = char(M_.endo_names_tex, 'lmult10');
M_.endo_names_long = char(M_.endo_names_long, 'lmult10');
M_.endo_names = char(M_.endo_names, 'lmult11');
M_.endo_names_tex = char(M_.endo_names_tex, 'lmult11');
M_.endo_names_long = char(M_.endo_names_long, 'lmult11');
M_.endo_names = char(M_.endo_names, 'lmult12');
M_.endo_names_tex = char(M_.endo_names_tex, 'lmult12');
M_.endo_names_long = char(M_.endo_names_long, 'lmult12');
M_.endo_names = char(M_.endo_names, 'lmult13');
M_.endo_names_tex = char(M_.endo_names_tex, 'lmult13');
M_.endo_names_long = char(M_.endo_names_long, 'lmult13');
M_.endo_names = char(M_.endo_names, 'lmult14');
M_.endo_names_tex = char(M_.endo_names_tex, 'lmult14');
M_.endo_names_long = char(M_.endo_names_long, 'lmult14');
M_.endo_names = char(M_.endo_names, 'lmult15');
M_.endo_names_tex = char(M_.endo_names_tex, 'lmult15');
M_.endo_names_long = char(M_.endo_names_long, 'lmult15');
M_.endo_names = char(M_.endo_names, 'lmult16');
M_.endo_names_tex = char(M_.endo_names_tex, 'lmult16');
M_.endo_names_long = char(M_.endo_names_long, 'lmult16');
M_.endo_names = char(M_.endo_names, 'lmult17');
M_.endo_names_tex = char(M_.endo_names_tex, 'lmult17');
M_.endo_names_long = char(M_.endo_names_long, 'lmult17');
M_.endo_names = char(M_.endo_names, 'lmult18');
M_.endo_names_tex = char(M_.endo_names_tex, 'lmult18');
M_.endo_names_long = char(M_.endo_names_long, 'lmult18');
M_.endo_names = char(M_.endo_names, 'lmult19');
M_.endo_names_tex = char(M_.endo_names_tex, 'lmult19');
M_.endo_names_long = char(M_.endo_names_long, 'lmult19');
M_.endo_names = char(M_.endo_names, 'lmult20');
M_.endo_names_tex = char(M_.endo_names_tex, 'lmult20');
M_.endo_names_long = char(M_.endo_names_long, 'lmult20');
M_.endo_names = char(M_.endo_names, 'lmult21');
M_.endo_names_tex = char(M_.endo_names_tex, 'lmult21');
M_.endo_names_long = char(M_.endo_names_long, 'lmult21');
M_.endo_names = char(M_.endo_names, 'lmult22');
M_.endo_names_tex = char(M_.endo_names_tex, 'lmult22');
M_.endo_names_long = char(M_.endo_names_long, 'lmult22');
M_.endo_names = char(M_.endo_names, 'lmult23');
M_.endo_names_tex = char(M_.endo_names_tex, 'lmult23');
M_.endo_names_long = char(M_.endo_names_long, 'lmult23');
M_.endo_names = char(M_.endo_names, 'lmult24');
M_.endo_names_tex = char(M_.endo_names_tex, 'lmult24');
M_.endo_names_long = char(M_.endo_names_long, 'lmult24');
M_.endo_names = char(M_.endo_names, 'lmult25');
M_.endo_names_tex = char(M_.endo_names_tex, 'lmult25');
M_.endo_names_long = char(M_.endo_names_long, 'lmult25');
M_.endo_names = char(M_.endo_names, 'lmult26');
M_.endo_names_tex = char(M_.endo_names_tex, 'lmult26');
M_.endo_names_long = char(M_.endo_names_long, 'lmult26');
M_.endo_names = char(M_.endo_names, 'lmult27');
M_.endo_names_tex = char(M_.endo_names_tex, 'lmult27');
M_.endo_names_long = char(M_.endo_names_long, 'lmult27');
M_.endo_names = char(M_.endo_names, 'lmult28');
M_.endo_names_tex = char(M_.endo_names_tex, 'lmult28');
M_.endo_names_long = char(M_.endo_names_long, 'lmult28');
M_.endo_names = char(M_.endo_names, 'lmult29');
M_.endo_names_tex = char(M_.endo_names_tex, 'lmult29');
M_.endo_names_long = char(M_.endo_names_long, 'lmult29');
M_.endo_names = char(M_.endo_names, 'lmult30');
M_.endo_names_tex = char(M_.endo_names_tex, 'lmult30');
M_.endo_names_long = char(M_.endo_names_long, 'lmult30');
M_.endo_names = char(M_.endo_names, 'lmult31');
M_.endo_names_tex = char(M_.endo_names_tex, 'lmult31');
M_.endo_names_long = char(M_.endo_names_long, 'lmult31');
M_.endo_names = char(M_.endo_names, 'lmult32');
M_.endo_names_tex = char(M_.endo_names_tex, 'lmult32');
M_.endo_names_long = char(M_.endo_names_long, 'lmult32');
M_.endo_names = char(M_.endo_names, 'lmult33');
M_.endo_names_tex = char(M_.endo_names_tex, 'lmult33');
M_.endo_names_long = char(M_.endo_names_long, 'lmult33');
M_.endo_names = char(M_.endo_names, 'lmult34');
M_.endo_names_tex = char(M_.endo_names_tex, 'lmult34');
M_.endo_names_long = char(M_.endo_names_long, 'lmult34');
M_.endo_names = char(M_.endo_names, 'lmult35');
M_.endo_names_tex = char(M_.endo_names_tex, 'lmult35');
M_.endo_names_long = char(M_.endo_names_long, 'lmult35');
M_.endo_names = char(M_.endo_names, 'lmult36');
M_.endo_names_tex = char(M_.endo_names_tex, 'lmult36');
M_.endo_names_long = char(M_.endo_names_long, 'lmult36');
M_.endo_names = char(M_.endo_names, 'lmult37');
M_.endo_names_tex = char(M_.endo_names_tex, 'lmult37');
M_.endo_names_long = char(M_.endo_names_long, 'lmult37');
M_.endo_names = char(M_.endo_names, 'lmult38');
M_.endo_names_tex = char(M_.endo_names_tex, 'lmult38');
M_.endo_names_long = char(M_.endo_names_long, 'lmult38');
M_.endo_names = char(M_.endo_names, 'lmult39');
M_.endo_names_tex = char(M_.endo_names_tex, 'lmult39');
M_.endo_names_long = char(M_.endo_names_long, 'lmult39');
M_.endo_names = char(M_.endo_names, 'lmult40');
M_.endo_names_tex = char(M_.endo_names_tex, 'lmult40');
M_.endo_names_long = char(M_.endo_names_long, 'lmult40');
M_.endo_names = char(M_.endo_names, 'lmult41');
M_.endo_names_tex = char(M_.endo_names_tex, 'lmult41');
M_.endo_names_long = char(M_.endo_names_long, 'lmult41');
M_.endo_names = char(M_.endo_names, 'lmult42');
M_.endo_names_tex = char(M_.endo_names_tex, 'lmult42');
M_.endo_names_long = char(M_.endo_names_long, 'lmult42');
M_.endo_names = char(M_.endo_names, 'Welf1');
M_.endo_names_tex = char(M_.endo_names_tex, 'Welf1');
M_.endo_names_long = char(M_.endo_names_long, 'Welf1');
M_.endo_names = char(M_.endo_names, 'Welf2');
M_.endo_names_tex = char(M_.endo_names_tex, 'Welf2');
M_.endo_names_long = char(M_.endo_names_long, 'Welf2');
M_.endo_names = char(M_.endo_names, 'Welfcorrection');
M_.endo_names_tex = char(M_.endo_names_tex, 'Welfcorrection');
M_.endo_names_long = char(M_.endo_names_long, 'Welfcorrection');
M_.endo_names = char(M_.endo_names, 'shadow_Util');
M_.endo_names_tex = char(M_.endo_names_tex, 'shadow\_Util');
M_.endo_names_long = char(M_.endo_names_long, 'shadow_Util');
M_.endo_names = char(M_.endo_names, 'shadow_Welf');
M_.endo_names_tex = char(M_.endo_names_tex, 'shadow\_Welf');
M_.endo_names_long = char(M_.endo_names_long, 'shadow_Welf');
M_.endo_names = char(M_.endo_names, 'shadow_instr1');
M_.endo_names_tex = char(M_.endo_names_tex, 'shadow\_instr1');
M_.endo_names_long = char(M_.endo_names_long, 'shadow_instr1');
M_.endo_names = char(M_.endo_names, 'shadow_instr2');
M_.endo_names_tex = char(M_.endo_names_tex, 'shadow\_instr2');
M_.endo_names_long = char(M_.endo_names_long, 'shadow_instr2');
M_.endo_names = char(M_.endo_names, 'shadow_Util1');
M_.endo_names_tex = char(M_.endo_names_tex, 'shadow\_Util1');
M_.endo_names_long = char(M_.endo_names_long, 'shadow_Util1');
M_.endo_names = char(M_.endo_names, 'shadow_Util2');
M_.endo_names_tex = char(M_.endo_names_tex, 'shadow\_Util2');
M_.endo_names_long = char(M_.endo_names_long, 'shadow_Util2');
M_.endo_names = char(M_.endo_names, 'shadow_c1c');
M_.endo_names_tex = char(M_.endo_names_tex, 'shadow\_c1c');
M_.endo_names_long = char(M_.endo_names_long, 'shadow_c1c');
M_.endo_names = char(M_.endo_names, 'shadow_c1cd');
M_.endo_names_tex = char(M_.endo_names_tex, 'shadow\_c1cd');
M_.endo_names_long = char(M_.endo_names_long, 'shadow_c1cd');
M_.endo_names = char(M_.endo_names, 'shadow_c1mc');
M_.endo_names_tex = char(M_.endo_names_tex, 'shadow\_c1mc');
M_.endo_names_long = char(M_.endo_names_long, 'shadow_c1mc');
M_.endo_names = char(M_.endo_names, 'shadow_c1y');
M_.endo_names_tex = char(M_.endo_names_tex, 'shadow\_c1y');
M_.endo_names_long = char(M_.endo_names_long, 'shadow_c1y');
M_.endo_names = char(M_.endo_names, 'shadow_c1g');
M_.endo_names_tex = char(M_.endo_names_tex, 'shadow\_c1g');
M_.endo_names_long = char(M_.endo_names_long, 'shadow_c1g');
M_.endo_names = char(M_.endo_names, 'shadow_c1rpcpd');
M_.endo_names_tex = char(M_.endo_names_tex, 'shadow\_c1rpcpd');
M_.endo_names_long = char(M_.endo_names_long, 'shadow_c1rpcpd');
M_.endo_names = char(M_.endo_names, 'shadow_c1pid');
M_.endo_names_tex = char(M_.endo_names_tex, 'shadow\_c1pid');
M_.endo_names_long = char(M_.endo_names_long, 'shadow_c1pid');
M_.endo_names = char(M_.endo_names, 'shadow_c1hp');
M_.endo_names_tex = char(M_.endo_names_tex, 'shadow\_c1hp');
M_.endo_names_long = char(M_.endo_names_long, 'shadow_c1hp');
M_.endo_names = char(M_.endo_names, 'shadow_c1gp');
M_.endo_names_tex = char(M_.endo_names_tex, 'shadow\_c1gp');
M_.endo_names_long = char(M_.endo_names_long, 'shadow_c1gp');
M_.endo_names = char(M_.endo_names, 'shadow_c1pstar');
M_.endo_names_tex = char(M_.endo_names_tex, 'shadow\_c1pstar');
M_.endo_names_long = char(M_.endo_names_long, 'shadow_c1pstar');
M_.endo_names = char(M_.endo_names, 'shadow_c1deltad');
M_.endo_names_tex = char(M_.endo_names_tex, 'shadow\_c1deltad');
M_.endo_names_long = char(M_.endo_names_long, 'shadow_c1deltad');
M_.endo_names = char(M_.endo_names, 'shadow_c1rn');
M_.endo_names_tex = char(M_.endo_names_tex, 'shadow\_c1rn');
M_.endo_names_long = char(M_.endo_names_long, 'shadow_c1rn');
M_.endo_names = char(M_.endo_names, 'shadow_c1rer');
M_.endo_names_tex = char(M_.endo_names_tex, 'shadow\_c1rer');
M_.endo_names_long = char(M_.endo_names_long, 'shadow_c1rer');
M_.endo_names = char(M_.endo_names, 'shadow_c1dcore');
M_.endo_names_tex = char(M_.endo_names_tex, 'shadow\_c1dcore');
M_.endo_names_long = char(M_.endo_names_long, 'shadow_c1dcore');
M_.endo_names = char(M_.endo_names, 'shadow_c2c');
M_.endo_names_tex = char(M_.endo_names_tex, 'shadow\_c2c');
M_.endo_names_long = char(M_.endo_names_long, 'shadow_c2c');
M_.endo_names = char(M_.endo_names, 'shadow_c2cd');
M_.endo_names_tex = char(M_.endo_names_tex, 'shadow\_c2cd');
M_.endo_names_long = char(M_.endo_names_long, 'shadow_c2cd');
M_.endo_names = char(M_.endo_names, 'shadow_c2mc');
M_.endo_names_tex = char(M_.endo_names_tex, 'shadow\_c2mc');
M_.endo_names_long = char(M_.endo_names_long, 'shadow_c2mc');
M_.endo_names = char(M_.endo_names, 'shadow_c2y');
M_.endo_names_tex = char(M_.endo_names_tex, 'shadow\_c2y');
M_.endo_names_long = char(M_.endo_names_long, 'shadow_c2y');
M_.endo_names = char(M_.endo_names, 'shadow_c2g');
M_.endo_names_tex = char(M_.endo_names_tex, 'shadow\_c2g');
M_.endo_names_long = char(M_.endo_names_long, 'shadow_c2g');
M_.endo_names = char(M_.endo_names, 'shadow_c2rpcpd');
M_.endo_names_tex = char(M_.endo_names_tex, 'shadow\_c2rpcpd');
M_.endo_names_long = char(M_.endo_names_long, 'shadow_c2rpcpd');
M_.endo_names = char(M_.endo_names, 'shadow_c2pid');
M_.endo_names_tex = char(M_.endo_names_tex, 'shadow\_c2pid');
M_.endo_names_long = char(M_.endo_names_long, 'shadow_c2pid');
M_.endo_names = char(M_.endo_names, 'shadow_c2hp');
M_.endo_names_tex = char(M_.endo_names_tex, 'shadow\_c2hp');
M_.endo_names_long = char(M_.endo_names_long, 'shadow_c2hp');
M_.endo_names = char(M_.endo_names, 'shadow_c2gp');
M_.endo_names_tex = char(M_.endo_names_tex, 'shadow\_c2gp');
M_.endo_names_long = char(M_.endo_names_long, 'shadow_c2gp');
M_.endo_names = char(M_.endo_names, 'shadow_c2pstar');
M_.endo_names_tex = char(M_.endo_names_tex, 'shadow\_c2pstar');
M_.endo_names_long = char(M_.endo_names_long, 'shadow_c2pstar');
M_.endo_names = char(M_.endo_names, 'shadow_c2deltad');
M_.endo_names_tex = char(M_.endo_names_tex, 'shadow\_c2deltad');
M_.endo_names_long = char(M_.endo_names_long, 'shadow_c2deltad');
M_.endo_names = char(M_.endo_names, 'shadow_c2rn');
M_.endo_names_tex = char(M_.endo_names_tex, 'shadow\_c2rn');
M_.endo_names_long = char(M_.endo_names_long, 'shadow_c2rn');
M_.endo_names = char(M_.endo_names, 'shadow_c2dcore');
M_.endo_names_tex = char(M_.endo_names_tex, 'shadow\_c2dcore');
M_.endo_names_long = char(M_.endo_names_long, 'shadow_c2dcore');
M_.endo_names = char(M_.endo_names, 'shadow_Welfcon1');
M_.endo_names_tex = char(M_.endo_names_tex, 'shadow\_Welfcon1');
M_.endo_names_long = char(M_.endo_names_long, 'shadow_Welfcon1');
M_.endo_names = char(M_.endo_names, 'shadow_c1deltadlag');
M_.endo_names_tex = char(M_.endo_names_tex, 'shadow\_c1deltadlag');
M_.endo_names_long = char(M_.endo_names_long, 'shadow_c1deltadlag');
M_.endo_names = char(M_.endo_names, 'shadow_c1rnlag');
M_.endo_names_tex = char(M_.endo_names_tex, 'shadow\_c1rnlag');
M_.endo_names_long = char(M_.endo_names_long, 'shadow_c1rnlag');
M_.endo_names = char(M_.endo_names, 'shadow_c1rpcpdlag');
M_.endo_names_tex = char(M_.endo_names_tex, 'shadow\_c1rpcpdlag');
M_.endo_names_long = char(M_.endo_names_long, 'shadow_c1rpcpdlag');
M_.endo_names = char(M_.endo_names, 'shadow_c2deltadlag');
M_.endo_names_tex = char(M_.endo_names_tex, 'shadow\_c2deltadlag');
M_.endo_names_long = char(M_.endo_names_long, 'shadow_c2deltadlag');
M_.endo_names = char(M_.endo_names, 'shadow_c2rnlag');
M_.endo_names_tex = char(M_.endo_names_tex, 'shadow\_c2rnlag');
M_.endo_names_long = char(M_.endo_names_long, 'shadow_c2rnlag');
M_.endo_names = char(M_.endo_names, 'shadow_c2rpcpdlag');
M_.endo_names_tex = char(M_.endo_names_tex, 'shadow\_c2rpcpdlag');
M_.endo_names_long = char(M_.endo_names_long, 'shadow_c2rpcpdlag');
M_.endo_names = char(M_.endo_names, 'shadow_c1shockgy');
M_.endo_names_tex = char(M_.endo_names_tex, 'shadow\_c1shockgy');
M_.endo_names_long = char(M_.endo_names_long, 'shadow_c1shockgy');
M_.endo_names = char(M_.endo_names, 'shadow_c1z');
M_.endo_names_tex = char(M_.endo_names_tex, 'shadow\_c1z');
M_.endo_names_long = char(M_.endo_names_long, 'shadow_c1z');
M_.endo_names = char(M_.endo_names, 'shadow_c1taupvar');
M_.endo_names_tex = char(M_.endo_names_tex, 'shadow\_c1taupvar');
M_.endo_names_long = char(M_.endo_names_long, 'shadow_c1taupvar');
M_.endo_names = char(M_.endo_names, 'shadow_c2shockgy');
M_.endo_names_tex = char(M_.endo_names_tex, 'shadow\_c2shockgy');
M_.endo_names_long = char(M_.endo_names_long, 'shadow_c2shockgy');
M_.endo_names = char(M_.endo_names, 'shadow_c2z');
M_.endo_names_tex = char(M_.endo_names_tex, 'shadow\_c2z');
M_.endo_names_long = char(M_.endo_names_long, 'shadow_c2z');
M_.endo_names = char(M_.endo_names, 'shadow_c2taupvar');
M_.endo_names_tex = char(M_.endo_names_tex, 'shadow\_c2taupvar');
M_.endo_names_long = char(M_.endo_names_long, 'shadow_c2taupvar');
M_.endo_names = char(M_.endo_names, 'shadow_Welf1');
M_.endo_names_tex = char(M_.endo_names_tex, 'shadow\_Welf1');
M_.endo_names_long = char(M_.endo_names_long, 'shadow_Welf1');
M_.endo_names = char(M_.endo_names, 'shadow_Welf2');
M_.endo_names_tex = char(M_.endo_names_tex, 'shadow\_Welf2');
M_.endo_names_long = char(M_.endo_names_long, 'shadow_Welf2');
M_.param_names = 'omega_welf1';
M_.param_names_tex = 'omega\_welf1';
M_.param_names_long = 'omega_welf1';
M_.param_names = char(M_.param_names, 'omega_welf2');
M_.param_names_tex = char(M_.param_names_tex, 'omega\_welf2');
M_.param_names_long = char(M_.param_names_long, 'omega_welf2');
M_.param_names = char(M_.param_names, 'nbeta');
M_.param_names_tex = char(M_.param_names_tex, 'nbeta');
M_.param_names_long = char(M_.param_names_long, 'nbeta');
M_.param_names = char(M_.param_names, 'c1sigma');
M_.param_names_tex = char(M_.param_names_tex, 'c1sigma');
M_.param_names_long = char(M_.param_names_long, 'c1sigma');
M_.param_names = char(M_.param_names, 'c1beta');
M_.param_names_tex = char(M_.param_names_tex, 'c1beta');
M_.param_names_long = char(M_.param_names_long, 'c1beta');
M_.param_names = char(M_.param_names, 'c1rhoc');
M_.param_names_tex = char(M_.param_names_tex, 'c1rhoc');
M_.param_names_long = char(M_.param_names_long, 'c1rhoc');
M_.param_names = char(M_.param_names, 'c1sharegy');
M_.param_names_tex = char(M_.param_names_tex, 'c1sharegy');
M_.param_names_long = char(M_.param_names_long, 'c1sharegy');
M_.param_names = char(M_.param_names, 'c1rhogy');
M_.param_names_tex = char(M_.param_names_tex, 'c1rhogy');
M_.param_names_long = char(M_.param_names_long, 'c1rhogy');
M_.param_names = char(M_.param_names, 'c1sigmagy');
M_.param_names_tex = char(M_.param_names_tex, 'c1sigmagy');
M_.param_names_long = char(M_.param_names_long, 'c1sigmagy');
M_.param_names = char(M_.param_names, 'c1rhoz');
M_.param_names_tex = char(M_.param_names_tex, 'c1rhoz');
M_.param_names_long = char(M_.param_names_long, 'c1rhoz');
M_.param_names = char(M_.param_names, 'c1sigmaz');
M_.param_names_tex = char(M_.param_names_tex, 'c1sigmaz');
M_.param_names_long = char(M_.param_names_long, 'c1sigmaz');
M_.param_names = char(M_.param_names, 'c2sigma');
M_.param_names_tex = char(M_.param_names_tex, 'c2sigma');
M_.param_names_long = char(M_.param_names_long, 'c2sigma');
M_.param_names = char(M_.param_names, 'c2beta');
M_.param_names_tex = char(M_.param_names_tex, 'c2beta');
M_.param_names_long = char(M_.param_names_long, 'c2beta');
M_.param_names = char(M_.param_names, 'c2rhoc');
M_.param_names_tex = char(M_.param_names_tex, 'c2rhoc');
M_.param_names_long = char(M_.param_names_long, 'c2rhoc');
M_.param_names = char(M_.param_names, 'c2sharegy');
M_.param_names_tex = char(M_.param_names_tex, 'c2sharegy');
M_.param_names_long = char(M_.param_names_long, 'c2sharegy');
M_.param_names = char(M_.param_names, 'c2rhogy');
M_.param_names_tex = char(M_.param_names_tex, 'c2rhogy');
M_.param_names_long = char(M_.param_names_long, 'c2rhogy');
M_.param_names = char(M_.param_names, 'c2sigmagy');
M_.param_names_tex = char(M_.param_names_tex, 'c2sigmagy');
M_.param_names_long = char(M_.param_names_long, 'c2sigmagy');
M_.param_names = char(M_.param_names, 'c2rhoz');
M_.param_names_tex = char(M_.param_names_tex, 'c2rhoz');
M_.param_names_long = char(M_.param_names_long, 'c2rhoz');
M_.param_names = char(M_.param_names, 'c2sigmaz');
M_.param_names_tex = char(M_.param_names_tex, 'c2sigmaz');
M_.param_names_long = char(M_.param_names_long, 'c2sigmaz');
M_.param_names = char(M_.param_names, 'c2rhotaupvar');
M_.param_names_tex = char(M_.param_names_tex, 'c2rhotaupvar');
M_.param_names_long = char(M_.param_names_long, 'c2rhotaupvar');
M_.param_names = char(M_.param_names, 'c2sigmataupvarerr');
M_.param_names_tex = char(M_.param_names_tex, 'c2sigmataupvarerr');
M_.param_names_long = char(M_.param_names_long, 'c2sigmataupvarerr');
M_.param_names = char(M_.param_names, 'c1rhotaupvar');
M_.param_names_tex = char(M_.param_names_tex, 'c1rhotaupvar');
M_.param_names_long = char(M_.param_names_long, 'c1rhotaupvar');
M_.param_names = char(M_.param_names, 'c1sigmataupvarerr');
M_.param_names_tex = char(M_.param_names_tex, 'c1sigmataupvarerr');
M_.param_names_long = char(M_.param_names_long, 'c1sigmataupvarerr');
M_.param_names = char(M_.param_names, 'c2chi');
M_.param_names_tex = char(M_.param_names_tex, 'c2chi');
M_.param_names_long = char(M_.param_names_long, 'c2chi');
M_.param_names = char(M_.param_names, 'c1chi');
M_.param_names_tex = char(M_.param_names_tex, 'c1chi');
M_.param_names_long = char(M_.param_names_long, 'c1chi');
M_.param_names = char(M_.param_names, 'c2nup');
M_.param_names_tex = char(M_.param_names_tex, 'c2nup');
M_.param_names_long = char(M_.param_names_long, 'c2nup');
M_.param_names = char(M_.param_names, 'c1nup');
M_.param_names_tex = char(M_.param_names_tex, 'c1nup');
M_.param_names_long = char(M_.param_names_long, 'c1nup');
M_.param_names = char(M_.param_names, 'c2xip');
M_.param_names_tex = char(M_.param_names_tex, 'c2xip');
M_.param_names_long = char(M_.param_names_long, 'c2xip');
M_.param_names = char(M_.param_names, 'c1xip');
M_.param_names_tex = char(M_.param_names_tex, 'c1xip');
M_.param_names_long = char(M_.param_names_long, 'c1xip');
M_.param_names = char(M_.param_names, 'c1chi0');
M_.param_names_tex = char(M_.param_names_tex, 'c1chi0');
M_.param_names_long = char(M_.param_names_long, 'c1chi0');
M_.param_names = char(M_.param_names, 'c1omegac');
M_.param_names_tex = char(M_.param_names_tex, 'c1omegac');
M_.param_names_long = char(M_.param_names_long, 'c1omegac');
M_.param_names = char(M_.param_names, 'c1omegamc');
M_.param_names_tex = char(M_.param_names_tex, 'c1omegamc');
M_.param_names_long = char(M_.param_names_long, 'c1omegamc');
M_.param_names = char(M_.param_names, 'c1relc2');
M_.param_names_tex = char(M_.param_names_tex, 'c1relc2');
M_.param_names_long = char(M_.param_names_long, 'c1relc2');
M_.param_names = char(M_.param_names, 'c1pistar');
M_.param_names_tex = char(M_.param_names_tex, 'c1pistar');
M_.param_names_long = char(M_.param_names_long, 'c1pistar');
M_.param_names = char(M_.param_names, 'c1taup');
M_.param_names_tex = char(M_.param_names_tex, 'c1taup');
M_.param_names_long = char(M_.param_names_long, 'c1taup');
M_.param_names = char(M_.param_names, 'c2chi0');
M_.param_names_tex = char(M_.param_names_tex, 'c2chi0');
M_.param_names_long = char(M_.param_names_long, 'c2chi0');
M_.param_names = char(M_.param_names, 'c2omegac');
M_.param_names_tex = char(M_.param_names_tex, 'c2omegac');
M_.param_names_long = char(M_.param_names_long, 'c2omegac');
M_.param_names = char(M_.param_names, 'c2omegamc');
M_.param_names_tex = char(M_.param_names_tex, 'c2omegamc');
M_.param_names_long = char(M_.param_names_long, 'c2omegamc');
M_.param_names = char(M_.param_names, 'c2pistar');
M_.param_names_tex = char(M_.param_names_tex, 'c2pistar');
M_.param_names_long = char(M_.param_names_long, 'c2pistar');
M_.param_names = char(M_.param_names, 'c2taup');
M_.param_names_tex = char(M_.param_names_tex, 'c2taup');
M_.param_names_long = char(M_.param_names_long, 'c2taup');
M_.param_names = char(M_.param_names, 'c1rnss');
M_.param_names_tex = char(M_.param_names_tex, 'c1rnss');
M_.param_names_long = char(M_.param_names_long, 'c1rnss');
M_.param_names = char(M_.param_names, 'c2rnss');
M_.param_names_tex = char(M_.param_names_tex, 'c2rnss');
M_.param_names_long = char(M_.param_names_long, 'c2rnss');
M_.param_names = char(M_.param_names, 'c1gamrn');
M_.param_names_tex = char(M_.param_names_tex, 'c1gamrn');
M_.param_names_long = char(M_.param_names_long, 'c1gamrn');
M_.param_names = char(M_.param_names, 'c1gamdpc');
M_.param_names_tex = char(M_.param_names_tex, 'c1gamdpc');
M_.param_names_long = char(M_.param_names_long, 'c1gamdpc');
M_.param_names = char(M_.param_names, 'c2gamrn');
M_.param_names_tex = char(M_.param_names_tex, 'c2gamrn');
M_.param_names_long = char(M_.param_names_long, 'c2gamrn');
M_.param_names = char(M_.param_names, 'c2gamdpc');
M_.param_names_tex = char(M_.param_names_tex, 'c2gamdpc');
M_.param_names_long = char(M_.param_names_long, 'c2gamdpc');
M_.param_names = char(M_.param_names, 'c2lambdaqss');
M_.param_names_tex = char(M_.param_names_tex, 'c2lambdaqss');
M_.param_names_long = char(M_.param_names_long, 'c2lambdaqss');
M_.param_names = char(M_.param_names, 'c2rpcpdss');
M_.param_names_tex = char(M_.param_names_tex, 'c2rpcpdss');
M_.param_names_long = char(M_.param_names_long, 'c2rpcpdss');
M_.param_names = char(M_.param_names, 'c1rerss');
M_.param_names_tex = char(M_.param_names_tex, 'c1rerss');
M_.param_names_long = char(M_.param_names_long, 'c1rerss');
M_.param_names = char(M_.param_names, 'c1lambdaqss');
M_.param_names_tex = char(M_.param_names_tex, 'c1lambdaqss');
M_.param_names_long = char(M_.param_names_long, 'c1lambdaqss');
M_.param_names = char(M_.param_names, 'c1rpcpdss');
M_.param_names_tex = char(M_.param_names_tex, 'c1rpcpdss');
M_.param_names_long = char(M_.param_names_long, 'c1rpcpdss');
M_.param_names = char(M_.param_names, 'shadow_c1rn_weight');
M_.param_names_tex = char(M_.param_names_tex, 'shadow\_c1rn\_weight');
M_.param_names_long = char(M_.param_names_long, 'shadow_c1rn_weight');
M_.exo_det_nbr = 0;
M_.exo_nbr = 8;
M_.endo_nbr = 146;
M_.param_nbr = 52;
M_.orig_endo_nbr = 146;
M_.aux_vars = [];
M_.Sigma_e = zeros(8, 8);
M_.Correlation_matrix = eye(8, 8);
M_.H = 0;
M_.Correlation_matrix_ME = 1;
options_.block=0;
options_.bytecode=0;
options_.use_dll=0;
erase_compiled_function('shadow_ramsey_static');
erase_compiled_function('shadow_ramsey_dynamic');
M_.lead_lag_incidence = [
 0 47 0;
 0 48 0;
 0 49 193;
 0 50 0;
 0 51 0;
 0 52 0;
 0 53 0;
 1 54 194;
 0 55 0;
 0 56 0;
 2 57 0;
 0 58 0;
 3 59 195;
 0 60 196;
 4 61 197;
 5 62 198;
 0 63 0;
 6 64 0;
 7 65 0;
 0 66 0;
 0 67 0;
 8 68 199;
 0 69 0;
 0 70 0;
 9 71 0;
 0 72 0;
 10 73 200;
 0 74 201;
 11 75 202;
 12 76 203;
 0 77 0;
 13 78 0;
 14 79 0;
 0 80 0;
 15 81 204;
 16 82 0;
 17 83 0;
 18 84 0;
 19 85 0;
 20 86 0;
 21 87 0;
 0 88 0;
 0 89 0;
 0 90 0;
 0 91 0;
 0 92 0;
 0 93 0;
 22 94 0;
 23 95 0;
 24 96 0;
 25 97 0;
 26 98 0;
 27 99 0;
 0 100 0;
 0 101 0;
 0 102 205;
 0 103 206;
 0 104 207;
 0 105 208;
 0 106 209;
 0 107 210;
 0 108 211;
 0 109 212;
 0 110 213;
 0 111 214;
 0 112 215;
 0 113 216;
 28 114 0;
 29 115 0;
 0 116 0;
 0 117 0;
 0 118 0;
 0 119 0;
 30 120 0;
 31 121 0;
 0 122 0;
 0 123 0;
 0 124 0;
 0 125 0;
 0 126 0;
 32 127 0;
 0 128 0;
 0 129 0;
 0 130 0;
 0 131 0;
 33 132 0;
 34 133 0;
 0 134 0;
 0 135 0;
 0 136 0;
 0 137 0;
 0 138 0;
 0 139 0;
 0 140 0;
 0 141 0;
 0 142 217;
 0 143 218;
 0 144 0;
 0 145 0;
 0 146 219;
 0 147 0;
 0 148 0;
 0 149 0;
 0 150 0;
 0 151 220;
 0 152 0;
 0 153 0;
 0 154 0;
 0 155 0;
 35 156 221;
 0 157 222;
 0 158 223;
 0 159 224;
 0 160 0;
 36 161 0;
 37 162 0;
 0 163 0;
 0 164 0;
 0 165 225;
 0 166 0;
 0 167 0;
 0 168 0;
 0 169 0;
 38 170 226;
 0 171 227;
 0 172 228;
 0 173 229;
 0 174 0;
 39 175 0;
 40 176 0;
 0 177 0;
 0 178 230;
 0 179 0;
 0 180 0;
 0 181 0;
 0 182 0;
 0 183 0;
 0 184 0;
 41 185 0;
 42 186 0;
 43 187 0;
 44 188 0;
 45 189 0;
 46 190 0;
 0 191 231;
 0 192 232;]';
M_.nstatic = 71;
M_.nfwrd   = 29;
M_.npred   = 35;
M_.nboth   = 11;
M_.nsfwrd   = 40;
M_.nspred   = 46;
M_.ndynamic   = 75;
M_.equations_tags = {
};
M_.static_and_dynamic_models_differ = 0;
M_.exo_names_orig_ord = [1:8];
M_.maximum_lag = 1;
M_.maximum_lead = 1;
M_.maximum_endo_lag = 1;
M_.maximum_endo_lead = 1;
oo_.steady_state = zeros(146, 1);
M_.maximum_exo_lag = 0;
M_.maximum_exo_lead = 0;
oo_.exo_steady_state = zeros(8, 1);
M_.params = NaN(52, 1);
M_.NNZDerivatives = zeros(3, 1);
M_.NNZDerivatives(1) = 739;
M_.NNZDerivatives(2) = 2733;
M_.NNZDerivatives(3) = -1;
%
% SHOCKS instructions
%
make_ex_;
M_.exo_det_length = 0;
M_.Sigma_e(2, 2) = 1;
M_.Sigma_e(4, 4) = 1;
M_.Sigma_e(5, 5) = 1;
M_.Sigma_e(6, 6) = 1;
M_.sigma_e_is_diagonal = 1;
options_.irf = 0;
options_.nocorr = 1;
options_.nomoments = 1;
options_.order = 2;
var_list_=[];
info = stoch_simul(var_list_);
save('shadow_ramsey_results.mat', 'oo_', 'M_', 'options_');
if exist('estim_params_', 'var') == 1
  save('shadow_ramsey_results.mat', 'estim_params_', '-append');
end
if exist('bayestopt_', 'var') == 1
  save('shadow_ramsey_results.mat', 'bayestopt_', '-append');
end
if exist('dataset_', 'var') == 1
  save('shadow_ramsey_results.mat', 'dataset_', '-append');
end
if exist('estimation_info', 'var') == 1
  save('shadow_ramsey_results.mat', 'estimation_info', '-append');
end


disp(['Total computing time : ' dynsec2hms(toc) ]);
disp('Note: 1 warning(s) encountered in the preprocessor')
if ~isempty(lastwarn)
  disp('Note: warning(s) encountered in MATLAB/Octave code')
end
diary off
