%
% 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 = 'rbcb_monprud_nash_infl_bt';
%
% Some global variables initialization
%
global_initialization;
diary off;
diary('rbcb_monprud_nash_infl_bt.log');
M_.exo_names = 'errz';
M_.exo_names_tex = 'errz';
M_.exo_names_long = 'errz';
M_.exo_names = char(M_.exo_names, 'errmon');
M_.exo_names_tex = char(M_.exo_names_tex, 'errmon');
M_.exo_names_long = char(M_.exo_names_long, 'errmon');
M_.exo_names = char(M_.exo_names, 'errlambda');
M_.exo_names_tex = char(M_.exo_names_tex, 'errlambda');
M_.exo_names_long = char(M_.exo_names_long, 'errlambda');
M_.exo_names = char(M_.exo_names, 'errbt');
M_.exo_names_tex = char(M_.exo_names_tex, 'errbt');
M_.exo_names_long = char(M_.exo_names_long, 'errbt');
M_.exo_names = char(M_.exo_names, 'errbetavar');
M_.exo_names_tex = char(M_.exo_names_tex, 'errbetavar');
M_.exo_names_long = char(M_.exo_names_long, 'errbetavar');
M_.exo_names = char(M_.exo_names, 'errcpref');
M_.exo_names_tex = char(M_.exo_names_tex, 'errcpref');
M_.exo_names_long = char(M_.exo_names_long, 'errcpref');
M_.exo_names = char(M_.exo_names, 'errmarkup');
M_.exo_names_tex = char(M_.exo_names_tex, 'errmarkup');
M_.exo_names_long = char(M_.exo_names_long, 'errmarkup');
M_.endo_names = 'Welf1';
M_.endo_names_tex = 'Welf1';
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, '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, 'k');
M_.endo_names_tex = char(M_.endo_names_tex, 'k');
M_.endo_names_long = char(M_.endo_names_long, 'k');
M_.endo_names = char(M_.endo_names, 'y');
M_.endo_names_tex = char(M_.endo_names_tex, 'y');
M_.endo_names_long = char(M_.endo_names_long, 'y');
M_.endo_names = char(M_.endo_names, 'w');
M_.endo_names_tex = char(M_.endo_names_tex, 'w');
M_.endo_names_long = char(M_.endo_names_long, 'w');
M_.endo_names = char(M_.endo_names, 'rs');
M_.endo_names_tex = char(M_.endo_names_tex, 'rs');
M_.endo_names_long = char(M_.endo_names_long, 'rs');
M_.endo_names = char(M_.endo_names, 'lambdac');
M_.endo_names_tex = char(M_.endo_names_tex, 'lambdac');
M_.endo_names_long = char(M_.endo_names_long, 'lambdac');
M_.endo_names = char(M_.endo_names, 'l');
M_.endo_names_tex = char(M_.endo_names_tex, 'l');
M_.endo_names_long = char(M_.endo_names_long, 'l');
M_.endo_names = char(M_.endo_names, 'r');
M_.endo_names_tex = char(M_.endo_names_tex, 'r');
M_.endo_names_long = char(M_.endo_names_long, 'r');
M_.endo_names = char(M_.endo_names, 's');
M_.endo_names_tex = char(M_.endo_names_tex, 's');
M_.endo_names_long = char(M_.endo_names_long, 's');
M_.endo_names = char(M_.endo_names, 'n');
M_.endo_names_tex = char(M_.endo_names_tex, 'n');
M_.endo_names_long = char(M_.endo_names_long, 'n');
M_.endo_names = char(M_.endo_names, 'v');
M_.endo_names_tex = char(M_.endo_names_tex, 'v');
M_.endo_names_long = char(M_.endo_names_long, 'v');
M_.endo_names = char(M_.endo_names, 'eta');
M_.endo_names_tex = char(M_.endo_names_tex, 'eta');
M_.endo_names_long = char(M_.endo_names_long, 'eta');
M_.endo_names = char(M_.endo_names, 'in');
M_.endo_names_tex = char(M_.endo_names_tex, 'in');
M_.endo_names_long = char(M_.endo_names_long, 'in');
M_.endo_names = char(M_.endo_names, 'ig');
M_.endo_names_tex = char(M_.endo_names_tex, 'ig');
M_.endo_names_long = char(M_.endo_names_long, 'ig');
M_.endo_names = char(M_.endo_names, 'q');
M_.endo_names_tex = char(M_.endo_names_tex, 'q');
M_.endo_names_long = char(M_.endo_names_long, 'q');
M_.endo_names = char(M_.endo_names, 'c');
M_.endo_names_tex = char(M_.endo_names_tex, 'c');
M_.endo_names_long = char(M_.endo_names_long, 'c');
M_.endo_names = char(M_.endo_names, 'gc');
M_.endo_names_tex = char(M_.endo_names_tex, 'gc');
M_.endo_names_long = char(M_.endo_names_long, 'gc');
M_.endo_names = char(M_.endo_names, 'spread');
M_.endo_names_tex = char(M_.endo_names_tex, 'spread');
M_.endo_names_long = char(M_.endo_names_long, 'spread');
M_.endo_names = char(M_.endo_names, 'l2n');
M_.endo_names_tex = char(M_.endo_names_tex, 'l2n');
M_.endo_names_long = char(M_.endo_names_long, 'l2n');
M_.endo_names = char(M_.endo_names, 'rmon');
M_.endo_names_tex = char(M_.endo_names_tex, 'rmon');
M_.endo_names_long = char(M_.endo_names_long, 'rmon');
M_.endo_names = char(M_.endo_names, 'infl');
M_.endo_names_tex = char(M_.endo_names_tex, 'infl');
M_.endo_names_long = char(M_.endo_names_long, 'infl');
M_.endo_names = char(M_.endo_names, 'phi');
M_.endo_names_tex = char(M_.endo_names_tex, 'phi');
M_.endo_names_long = char(M_.endo_names_long, 'phi');
M_.endo_names = char(M_.endo_names, 'dphidp');
M_.endo_names_tex = char(M_.endo_names_tex, 'dphidp');
M_.endo_names_long = char(M_.endo_names_long, 'dphidp');
M_.endo_names = char(M_.endo_names, 'dphidlp');
M_.endo_names_tex = char(M_.endo_names_tex, 'dphidlp');
M_.endo_names_long = char(M_.endo_names_long, 'dphidlp');
M_.endo_names = char(M_.endo_names, 'sigma');
M_.endo_names_tex = char(M_.endo_names_tex, 'sigma');
M_.endo_names_long = char(M_.endo_names_long, 'sigma');
M_.endo_names = char(M_.endo_names, 'n2y');
M_.endo_names_tex = char(M_.endo_names_tex, 'n2y');
M_.endo_names_long = char(M_.endo_names_long, 'n2y');
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, 'bt');
M_.endo_names_tex = char(M_.endo_names_tex, 'bt');
M_.endo_names_long = char(M_.endo_names_long, 'bt');
M_.endo_names = char(M_.endo_names, 'btlag');
M_.endo_names_tex = char(M_.endo_names_tex, 'btlag');
M_.endo_names_long = char(M_.endo_names_long, 'btlag');
M_.endo_names = char(M_.endo_names, 'clag');
M_.endo_names_tex = char(M_.endo_names_tex, 'clag');
M_.endo_names_long = char(M_.endo_names_long, 'clag');
M_.endo_names = char(M_.endo_names, 'etalag');
M_.endo_names_tex = char(M_.endo_names_tex, 'etalag');
M_.endo_names_long = char(M_.endo_names_long, 'etalag');
M_.endo_names = char(M_.endo_names, 'iglag');
M_.endo_names_tex = char(M_.endo_names_tex, 'iglag');
M_.endo_names_long = char(M_.endo_names_long, 'iglag');
M_.endo_names = char(M_.endo_names, 'infllag');
M_.endo_names_tex = char(M_.endo_names_tex, 'infllag');
M_.endo_names_long = char(M_.endo_names_long, 'infllag');
M_.endo_names = char(M_.endo_names, 'klag');
M_.endo_names_tex = char(M_.endo_names_tex, 'klag');
M_.endo_names_long = char(M_.endo_names_long, 'klag');
M_.endo_names = char(M_.endo_names, 'llag');
M_.endo_names_tex = char(M_.endo_names_tex, 'llag');
M_.endo_names_long = char(M_.endo_names_long, 'llag');
M_.endo_names = char(M_.endo_names, 'rmonlag');
M_.endo_names_tex = char(M_.endo_names_tex, 'rmonlag');
M_.endo_names_long = char(M_.endo_names_long, 'rmonlag');
M_.endo_names = char(M_.endo_names, 'qlag');
M_.endo_names_tex = char(M_.endo_names_tex, 'qlag');
M_.endo_names_long = char(M_.endo_names_long, 'qlag');
M_.endo_names = char(M_.endo_names, 'rlag');
M_.endo_names_tex = char(M_.endo_names_tex, 'rlag');
M_.endo_names_long = char(M_.endo_names_long, 'rlag');
M_.endo_names = char(M_.endo_names, 'nlag');
M_.endo_names_tex = char(M_.endo_names_tex, 'nlag');
M_.endo_names_long = char(M_.endo_names_long, 'nlag');
M_.endo_names = char(M_.endo_names, 'slag');
M_.endo_names_tex = char(M_.endo_names_tex, 'slag');
M_.endo_names_long = char(M_.endo_names_long, 'slag');
M_.endo_names = char(M_.endo_names, 'vlag');
M_.endo_names_tex = char(M_.endo_names_tex, 'vlag');
M_.endo_names_long = char(M_.endo_names_long, 'vlag');
M_.endo_names = char(M_.endo_names, 'ylag');
M_.endo_names_tex = char(M_.endo_names_tex, 'ylag');
M_.endo_names_long = char(M_.endo_names_long, 'ylag');
M_.endo_names = char(M_.endo_names, 'Util_nobias');
M_.endo_names_tex = char(M_.endo_names_tex, 'Util\_nobias');
M_.endo_names_long = char(M_.endo_names_long, 'Util_nobias');
M_.endo_names = char(M_.endo_names, 'Welf_nobias');
M_.endo_names_tex = char(M_.endo_names_tex, 'Welf\_nobias');
M_.endo_names_long = char(M_.endo_names_long, 'Welf_nobias');
M_.endo_names = char(M_.endo_names, 'z');
M_.endo_names_tex = char(M_.endo_names_tex, 'z');
M_.endo_names_long = char(M_.endo_names_long, 'z');
M_.endo_names = char(M_.endo_names, 'lambda');
M_.endo_names_tex = char(M_.endo_names_tex, 'lambda');
M_.endo_names_long = char(M_.endo_names_long, 'lambda');
M_.endo_names = char(M_.endo_names, 'betavar');
M_.endo_names_tex = char(M_.endo_names_tex, 'betavar');
M_.endo_names_long = char(M_.endo_names_long, 'betavar');
M_.endo_names = char(M_.endo_names, 'cpref');
M_.endo_names_tex = char(M_.endo_names_tex, 'cpref');
M_.endo_names_long = char(M_.endo_names_long, 'cpref');
M_.endo_names = char(M_.endo_names, 'markup');
M_.endo_names_tex = char(M_.endo_names_tex, 'markup');
M_.endo_names_long = char(M_.endo_names_long, 'markup');
M_.endo_names = char(M_.endo_names, 'c1lmult1');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1lmult1');
M_.endo_names_long = char(M_.endo_names_long, 'c1lmult1');
M_.endo_names = char(M_.endo_names, 'c1lmult2');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1lmult2');
M_.endo_names_long = char(M_.endo_names_long, 'c1lmult2');
M_.endo_names = char(M_.endo_names, 'c1lmult3');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1lmult3');
M_.endo_names_long = char(M_.endo_names_long, 'c1lmult3');
M_.endo_names = char(M_.endo_names, 'c1lmult4');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1lmult4');
M_.endo_names_long = char(M_.endo_names_long, 'c1lmult4');
M_.endo_names = char(M_.endo_names, 'c1lmult5');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1lmult5');
M_.endo_names_long = char(M_.endo_names_long, 'c1lmult5');
M_.endo_names = char(M_.endo_names, 'c1lmult6');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1lmult6');
M_.endo_names_long = char(M_.endo_names_long, 'c1lmult6');
M_.endo_names = char(M_.endo_names, 'c1lmult7');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1lmult7');
M_.endo_names_long = char(M_.endo_names_long, 'c1lmult7');
M_.endo_names = char(M_.endo_names, 'c1lmult8');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1lmult8');
M_.endo_names_long = char(M_.endo_names_long, 'c1lmult8');
M_.endo_names = char(M_.endo_names, 'c1lmult9');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1lmult9');
M_.endo_names_long = char(M_.endo_names_long, 'c1lmult9');
M_.endo_names = char(M_.endo_names, 'c1lmult10');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1lmult10');
M_.endo_names_long = char(M_.endo_names_long, 'c1lmult10');
M_.endo_names = char(M_.endo_names, 'c1lmult11');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1lmult11');
M_.endo_names_long = char(M_.endo_names_long, 'c1lmult11');
M_.endo_names = char(M_.endo_names, 'c1lmult12');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1lmult12');
M_.endo_names_long = char(M_.endo_names_long, 'c1lmult12');
M_.endo_names = char(M_.endo_names, 'c1lmult13');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1lmult13');
M_.endo_names_long = char(M_.endo_names_long, 'c1lmult13');
M_.endo_names = char(M_.endo_names, 'c1lmult14');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1lmult14');
M_.endo_names_long = char(M_.endo_names_long, 'c1lmult14');
M_.endo_names = char(M_.endo_names, 'c1lmult15');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1lmult15');
M_.endo_names_long = char(M_.endo_names_long, 'c1lmult15');
M_.endo_names = char(M_.endo_names, 'c1lmult16');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1lmult16');
M_.endo_names_long = char(M_.endo_names_long, 'c1lmult16');
M_.endo_names = char(M_.endo_names, 'c1lmult17');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1lmult17');
M_.endo_names_long = char(M_.endo_names_long, 'c1lmult17');
M_.endo_names = char(M_.endo_names, 'c1lmult18');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1lmult18');
M_.endo_names_long = char(M_.endo_names_long, 'c1lmult18');
M_.endo_names = char(M_.endo_names, 'c1lmult19');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1lmult19');
M_.endo_names_long = char(M_.endo_names_long, 'c1lmult19');
M_.endo_names = char(M_.endo_names, 'c1lmult20');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1lmult20');
M_.endo_names_long = char(M_.endo_names_long, 'c1lmult20');
M_.endo_names = char(M_.endo_names, 'c1lmult21');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1lmult21');
M_.endo_names_long = char(M_.endo_names_long, 'c1lmult21');
M_.endo_names = char(M_.endo_names, 'c1lmult22');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1lmult22');
M_.endo_names_long = char(M_.endo_names_long, 'c1lmult22');
M_.endo_names = char(M_.endo_names, 'c1lmult23');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1lmult23');
M_.endo_names_long = char(M_.endo_names_long, 'c1lmult23');
M_.endo_names = char(M_.endo_names, 'c1lmult24');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1lmult24');
M_.endo_names_long = char(M_.endo_names_long, 'c1lmult24');
M_.endo_names = char(M_.endo_names, 'c1lmult25');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1lmult25');
M_.endo_names_long = char(M_.endo_names_long, 'c1lmult25');
M_.endo_names = char(M_.endo_names, 'c1lmult26');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1lmult26');
M_.endo_names_long = char(M_.endo_names_long, 'c1lmult26');
M_.endo_names = char(M_.endo_names, 'c1lmult27');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1lmult27');
M_.endo_names_long = char(M_.endo_names_long, 'c1lmult27');
M_.endo_names = char(M_.endo_names, 'c1lmult28');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1lmult28');
M_.endo_names_long = char(M_.endo_names_long, 'c1lmult28');
M_.endo_names = char(M_.endo_names, 'c1lmult29');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1lmult29');
M_.endo_names_long = char(M_.endo_names_long, 'c1lmult29');
M_.endo_names = char(M_.endo_names, 'c1lmult30');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1lmult30');
M_.endo_names_long = char(M_.endo_names_long, 'c1lmult30');
M_.endo_names = char(M_.endo_names, 'c1lmult31');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1lmult31');
M_.endo_names_long = char(M_.endo_names_long, 'c1lmult31');
M_.endo_names = char(M_.endo_names, 'c1lmult32');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1lmult32');
M_.endo_names_long = char(M_.endo_names_long, 'c1lmult32');
M_.endo_names = char(M_.endo_names, 'c1lmult33');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1lmult33');
M_.endo_names_long = char(M_.endo_names_long, 'c1lmult33');
M_.endo_names = char(M_.endo_names, 'c1lmult34');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1lmult34');
M_.endo_names_long = char(M_.endo_names_long, 'c1lmult34');
M_.endo_names = char(M_.endo_names, 'c1lmult35');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1lmult35');
M_.endo_names_long = char(M_.endo_names_long, 'c1lmult35');
M_.endo_names = char(M_.endo_names, 'c1lmult36');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1lmult36');
M_.endo_names_long = char(M_.endo_names_long, 'c1lmult36');
M_.endo_names = char(M_.endo_names, 'c1lmult37');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1lmult37');
M_.endo_names_long = char(M_.endo_names_long, 'c1lmult37');
M_.endo_names = char(M_.endo_names, 'c1lmult38');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1lmult38');
M_.endo_names_long = char(M_.endo_names_long, 'c1lmult38');
M_.endo_names = char(M_.endo_names, 'c1lmult39');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1lmult39');
M_.endo_names_long = char(M_.endo_names_long, 'c1lmult39');
M_.endo_names = char(M_.endo_names, 'c1lmult40');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1lmult40');
M_.endo_names_long = char(M_.endo_names_long, 'c1lmult40');
M_.endo_names = char(M_.endo_names, 'c2lmult1');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2lmult1');
M_.endo_names_long = char(M_.endo_names_long, 'c2lmult1');
M_.endo_names = char(M_.endo_names, 'c2lmult2');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2lmult2');
M_.endo_names_long = char(M_.endo_names_long, 'c2lmult2');
M_.endo_names = char(M_.endo_names, 'c2lmult3');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2lmult3');
M_.endo_names_long = char(M_.endo_names_long, 'c2lmult3');
M_.endo_names = char(M_.endo_names, 'c2lmult4');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2lmult4');
M_.endo_names_long = char(M_.endo_names_long, 'c2lmult4');
M_.endo_names = char(M_.endo_names, 'c2lmult5');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2lmult5');
M_.endo_names_long = char(M_.endo_names_long, 'c2lmult5');
M_.endo_names = char(M_.endo_names, 'c2lmult6');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2lmult6');
M_.endo_names_long = char(M_.endo_names_long, 'c2lmult6');
M_.endo_names = char(M_.endo_names, 'c2lmult7');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2lmult7');
M_.endo_names_long = char(M_.endo_names_long, 'c2lmult7');
M_.endo_names = char(M_.endo_names, 'c2lmult8');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2lmult8');
M_.endo_names_long = char(M_.endo_names_long, 'c2lmult8');
M_.endo_names = char(M_.endo_names, 'c2lmult9');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2lmult9');
M_.endo_names_long = char(M_.endo_names_long, 'c2lmult9');
M_.endo_names = char(M_.endo_names, 'c2lmult10');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2lmult10');
M_.endo_names_long = char(M_.endo_names_long, 'c2lmult10');
M_.endo_names = char(M_.endo_names, 'c2lmult11');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2lmult11');
M_.endo_names_long = char(M_.endo_names_long, 'c2lmult11');
M_.endo_names = char(M_.endo_names, 'c2lmult12');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2lmult12');
M_.endo_names_long = char(M_.endo_names_long, 'c2lmult12');
M_.endo_names = char(M_.endo_names, 'c2lmult13');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2lmult13');
M_.endo_names_long = char(M_.endo_names_long, 'c2lmult13');
M_.endo_names = char(M_.endo_names, 'c2lmult14');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2lmult14');
M_.endo_names_long = char(M_.endo_names_long, 'c2lmult14');
M_.endo_names = char(M_.endo_names, 'c2lmult15');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2lmult15');
M_.endo_names_long = char(M_.endo_names_long, 'c2lmult15');
M_.endo_names = char(M_.endo_names, 'c2lmult16');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2lmult16');
M_.endo_names_long = char(M_.endo_names_long, 'c2lmult16');
M_.endo_names = char(M_.endo_names, 'c2lmult17');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2lmult17');
M_.endo_names_long = char(M_.endo_names_long, 'c2lmult17');
M_.endo_names = char(M_.endo_names, 'c2lmult18');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2lmult18');
M_.endo_names_long = char(M_.endo_names_long, 'c2lmult18');
M_.endo_names = char(M_.endo_names, 'c2lmult19');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2lmult19');
M_.endo_names_long = char(M_.endo_names_long, 'c2lmult19');
M_.endo_names = char(M_.endo_names, 'c2lmult20');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2lmult20');
M_.endo_names_long = char(M_.endo_names_long, 'c2lmult20');
M_.endo_names = char(M_.endo_names, 'c2lmult21');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2lmult21');
M_.endo_names_long = char(M_.endo_names_long, 'c2lmult21');
M_.endo_names = char(M_.endo_names, 'c2lmult22');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2lmult22');
M_.endo_names_long = char(M_.endo_names_long, 'c2lmult22');
M_.endo_names = char(M_.endo_names, 'c2lmult23');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2lmult23');
M_.endo_names_long = char(M_.endo_names_long, 'c2lmult23');
M_.endo_names = char(M_.endo_names, 'c2lmult24');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2lmult24');
M_.endo_names_long = char(M_.endo_names_long, 'c2lmult24');
M_.endo_names = char(M_.endo_names, 'c2lmult25');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2lmult25');
M_.endo_names_long = char(M_.endo_names_long, 'c2lmult25');
M_.endo_names = char(M_.endo_names, 'c2lmult26');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2lmult26');
M_.endo_names_long = char(M_.endo_names_long, 'c2lmult26');
M_.endo_names = char(M_.endo_names, 'c2lmult27');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2lmult27');
M_.endo_names_long = char(M_.endo_names_long, 'c2lmult27');
M_.endo_names = char(M_.endo_names, 'c2lmult28');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2lmult28');
M_.endo_names_long = char(M_.endo_names_long, 'c2lmult28');
M_.endo_names = char(M_.endo_names, 'c2lmult29');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2lmult29');
M_.endo_names_long = char(M_.endo_names_long, 'c2lmult29');
M_.endo_names = char(M_.endo_names, 'c2lmult30');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2lmult30');
M_.endo_names_long = char(M_.endo_names_long, 'c2lmult30');
M_.endo_names = char(M_.endo_names, 'c2lmult31');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2lmult31');
M_.endo_names_long = char(M_.endo_names_long, 'c2lmult31');
M_.endo_names = char(M_.endo_names, 'c2lmult32');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2lmult32');
M_.endo_names_long = char(M_.endo_names_long, 'c2lmult32');
M_.endo_names = char(M_.endo_names, 'c2lmult33');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2lmult33');
M_.endo_names_long = char(M_.endo_names_long, 'c2lmult33');
M_.endo_names = char(M_.endo_names, 'c2lmult34');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2lmult34');
M_.endo_names_long = char(M_.endo_names_long, 'c2lmult34');
M_.endo_names = char(M_.endo_names, 'c2lmult35');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2lmult35');
M_.endo_names_long = char(M_.endo_names_long, 'c2lmult35');
M_.endo_names = char(M_.endo_names, 'c2lmult36');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2lmult36');
M_.endo_names_long = char(M_.endo_names_long, 'c2lmult36');
M_.endo_names = char(M_.endo_names, 'c2lmult37');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2lmult37');
M_.endo_names_long = char(M_.endo_names_long, 'c2lmult37');
M_.endo_names = char(M_.endo_names, 'c2lmult38');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2lmult38');
M_.endo_names_long = char(M_.endo_names_long, 'c2lmult38');
M_.endo_names = char(M_.endo_names, 'c2lmult39');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2lmult39');
M_.endo_names_long = char(M_.endo_names_long, 'c2lmult39');
M_.endo_names = char(M_.endo_names, 'c2lmult40');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2lmult40');
M_.endo_names_long = char(M_.endo_names_long, 'c2lmult40');
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_.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, 'alphap');
M_.param_names_tex = char(M_.param_names_tex, 'alphap');
M_.param_names_long = char(M_.param_names_long, 'alphap');
M_.param_names = char(M_.param_names, 'gammap');
M_.param_names_tex = char(M_.param_names_tex, 'gammap');
M_.param_names_long = char(M_.param_names_long, 'gammap');
M_.param_names = char(M_.param_names, 'chi0p');
M_.param_names_tex = char(M_.param_names_tex, 'chi0p');
M_.param_names_long = char(M_.param_names_long, 'chi0p');
M_.param_names = char(M_.param_names, 'chip');
M_.param_names_tex = char(M_.param_names_tex, 'chip');
M_.param_names_long = char(M_.param_names_long, 'chip');
M_.param_names = char(M_.param_names, 'betap');
M_.param_names_tex = char(M_.param_names_tex, 'betap');
M_.param_names_long = char(M_.param_names_long, 'betap');
M_.param_names = char(M_.param_names, 'deltap');
M_.param_names_tex = char(M_.param_names_tex, 'deltap');
M_.param_names_long = char(M_.param_names_long, 'deltap');
M_.param_names = char(M_.param_names, 'psip');
M_.param_names_tex = char(M_.param_names_tex, 'psip');
M_.param_names_long = char(M_.param_names_long, 'psip');
M_.param_names = char(M_.param_names, 'omegagyp');
M_.param_names_tex = char(M_.param_names_tex, 'omegagyp');
M_.param_names_long = char(M_.param_names_long, 'omegagyp');
M_.param_names = char(M_.param_names, 'lambdap');
M_.param_names_tex = char(M_.param_names_tex, 'lambdap');
M_.param_names_long = char(M_.param_names_long, 'lambdap');
M_.param_names = char(M_.param_names, 'thetap');
M_.param_names_tex = char(M_.param_names_tex, 'thetap');
M_.param_names_long = char(M_.param_names_long, 'thetap');
M_.param_names = char(M_.param_names, 'baromegap');
M_.param_names_tex = char(M_.param_names_tex, 'baromegap');
M_.param_names_long = char(M_.param_names_long, 'baromegap');
M_.param_names = char(M_.param_names, 's2n');
M_.param_names_tex = char(M_.param_names_tex, 's2n');
M_.param_names_long = char(M_.param_names_long, 's2n');
M_.param_names = char(M_.param_names, 'phip');
M_.param_names_tex = char(M_.param_names_tex, 'phip');
M_.param_names_long = char(M_.param_names_long, 'phip');
M_.param_names = char(M_.param_names, 'spreadp');
M_.param_names_tex = char(M_.param_names_tex, 'spreadp');
M_.param_names_long = char(M_.param_names_long, 'spreadp');
M_.param_names = char(M_.param_names, 'nup');
M_.param_names_tex = char(M_.param_names_tex, 'nup');
M_.param_names_long = char(M_.param_names_long, 'nup');
M_.param_names = char(M_.param_names, 'taup');
M_.param_names_tex = char(M_.param_names_tex, 'taup');
M_.param_names_long = char(M_.param_names_long, 'taup');
M_.param_names = char(M_.param_names, 'indexp');
M_.param_names_tex = char(M_.param_names_tex, 'indexp');
M_.param_names_long = char(M_.param_names_long, 'indexp');
M_.param_names = char(M_.param_names, 'mu_mpr');
M_.param_names_tex = char(M_.param_names_tex, 'mu\_mpr');
M_.param_names_long = char(M_.param_names_long, 'mu_mpr');
M_.param_names = char(M_.param_names, 'mu_cb');
M_.param_names_tex = char(M_.param_names_tex, 'mu\_cb');
M_.param_names_long = char(M_.param_names_long, 'mu_cb');
M_.param_names = char(M_.param_names, 'xip');
M_.param_names_tex = char(M_.param_names_tex, 'xip');
M_.param_names_long = char(M_.param_names_long, 'xip');
M_.param_names = char(M_.param_names, 'blife');
M_.param_names_tex = char(M_.param_names_tex, 'blife');
M_.param_names_long = char(M_.param_names_long, 'blife');
M_.param_names = char(M_.param_names, 'rs_rslp');
M_.param_names_tex = char(M_.param_names_tex, 'rs\_rslp');
M_.param_names_long = char(M_.param_names_long, 'rs_rslp');
M_.param_names = char(M_.param_names, 'rs_inflp');
M_.param_names_tex = char(M_.param_names_tex, 'rs\_inflp');
M_.param_names_long = char(M_.param_names_long, 'rs_inflp');
M_.param_names = char(M_.param_names, 'rs_yp');
M_.param_names_tex = char(M_.param_names_tex, 'rs\_yp');
M_.param_names_long = char(M_.param_names_long, 'rs_yp');
M_.param_names = char(M_.param_names, 'bt_btlp');
M_.param_names_tex = char(M_.param_names_tex, 'bt\_btlp');
M_.param_names_long = char(M_.param_names_long, 'bt_btlp');
M_.param_names = char(M_.param_names, 'bt_sp');
M_.param_names_tex = char(M_.param_names_tex, 'bt\_sp');
M_.param_names_long = char(M_.param_names_long, 'bt_sp');
M_.param_names = char(M_.param_names, 'rhozp');
M_.param_names_tex = char(M_.param_names_tex, 'rhozp');
M_.param_names_long = char(M_.param_names_long, 'rhozp');
M_.param_names = char(M_.param_names, 'sigmazp');
M_.param_names_tex = char(M_.param_names_tex, 'sigmazp');
M_.param_names_long = char(M_.param_names_long, 'sigmazp');
M_.param_names = char(M_.param_names, 'rholambdap');
M_.param_names_tex = char(M_.param_names_tex, 'rholambdap');
M_.param_names_long = char(M_.param_names_long, 'rholambdap');
M_.param_names = char(M_.param_names, 'sigmalambdap');
M_.param_names_tex = char(M_.param_names_tex, 'sigmalambdap');
M_.param_names_long = char(M_.param_names_long, 'sigmalambdap');
M_.param_names = char(M_.param_names, 'rhobtp');
M_.param_names_tex = char(M_.param_names_tex, 'rhobtp');
M_.param_names_long = char(M_.param_names_long, 'rhobtp');
M_.param_names = char(M_.param_names, 'sigmabtp');
M_.param_names_tex = char(M_.param_names_tex, 'sigmabtp');
M_.param_names_long = char(M_.param_names_long, 'sigmabtp');
M_.param_names = char(M_.param_names, 'rhobetavarp');
M_.param_names_tex = char(M_.param_names_tex, 'rhobetavarp');
M_.param_names_long = char(M_.param_names_long, 'rhobetavarp');
M_.param_names = char(M_.param_names, 'sigmabetavarp');
M_.param_names_tex = char(M_.param_names_tex, 'sigmabetavarp');
M_.param_names_long = char(M_.param_names_long, 'sigmabetavarp');
M_.param_names = char(M_.param_names, 'rhocprefp');
M_.param_names_tex = char(M_.param_names_tex, 'rhocprefp');
M_.param_names_long = char(M_.param_names_long, 'rhocprefp');
M_.param_names = char(M_.param_names, 'sigmacprefp');
M_.param_names_tex = char(M_.param_names_tex, 'sigmacprefp');
M_.param_names_long = char(M_.param_names_long, 'sigmacprefp');
M_.param_names = char(M_.param_names, 'l_ss');
M_.param_names_tex = char(M_.param_names_tex, 'l\_ss');
M_.param_names_long = char(M_.param_names_long, 'l_ss');
M_.param_names = char(M_.param_names, 'q_ss');
M_.param_names_tex = char(M_.param_names_tex, 'q\_ss');
M_.param_names_long = char(M_.param_names_long, 'q_ss');
M_.param_names = char(M_.param_names, 'r_ss');
M_.param_names_tex = char(M_.param_names_tex, 'r\_ss');
M_.param_names_long = char(M_.param_names_long, 'r_ss');
M_.param_names = char(M_.param_names, 'y_ss');
M_.param_names_tex = char(M_.param_names_tex, 'y\_ss');
M_.param_names_long = char(M_.param_names_long, 'y_ss');
M_.param_names = char(M_.param_names, 'w_ss');
M_.param_names_tex = char(M_.param_names_tex, 'w\_ss');
M_.param_names_long = char(M_.param_names_long, 'w_ss');
M_.param_names = char(M_.param_names, 'k_ss');
M_.param_names_tex = char(M_.param_names_tex, 'k\_ss');
M_.param_names_long = char(M_.param_names_long, 'k_ss');
M_.param_names = char(M_.param_names, 's_ss');
M_.param_names_tex = char(M_.param_names_tex, 's\_ss');
M_.param_names_long = char(M_.param_names_long, 's_ss');
M_.param_names = char(M_.param_names, 'n_ss');
M_.param_names_tex = char(M_.param_names_tex, 'n\_ss');
M_.param_names_long = char(M_.param_names_long, 'n_ss');
M_.param_names = char(M_.param_names, 'in_ss');
M_.param_names_tex = char(M_.param_names_tex, 'in\_ss');
M_.param_names_long = char(M_.param_names_long, 'in_ss');
M_.param_names = char(M_.param_names, 'ig_ss');
M_.param_names_tex = char(M_.param_names_tex, 'ig\_ss');
M_.param_names_long = char(M_.param_names_long, 'ig_ss');
M_.param_names = char(M_.param_names, 'gc_ss');
M_.param_names_tex = char(M_.param_names_tex, 'gc\_ss');
M_.param_names_long = char(M_.param_names_long, 'gc_ss');
M_.param_names = char(M_.param_names, 'infl_ss');
M_.param_names_tex = char(M_.param_names_tex, 'infl\_ss');
M_.param_names_long = char(M_.param_names_long, 'infl_ss');
M_.param_names = char(M_.param_names, 'sigmamarkup');
M_.param_names_tex = char(M_.param_names_tex, 'sigmamarkup');
M_.param_names_long = char(M_.param_names_long, 'sigmamarkup');
M_.param_names = char(M_.param_names, 'rhomarkup');
M_.param_names_tex = char(M_.param_names_tex, 'rhomarkup');
M_.param_names_long = char(M_.param_names_long, 'rhomarkup');
M_.param_names = char(M_.param_names, 'alt1p');
M_.param_names_tex = char(M_.param_names_tex, 'alt1p');
M_.param_names_long = char(M_.param_names_long, 'alt1p');
M_.param_names = char(M_.param_names, 'alt2p');
M_.param_names_tex = char(M_.param_names_tex, 'alt2p');
M_.param_names_long = char(M_.param_names_long, 'alt2p');
M_.exo_det_nbr = 0;
M_.exo_nbr = 7;
M_.endo_nbr = 135;
M_.param_nbr = 55;
M_.orig_endo_nbr = 135;
M_.aux_vars = [];
M_.Sigma_e = zeros(7, 7);
M_.Correlation_matrix = eye(7, 7);
M_.H = 0;
M_.Correlation_matrix_ME = 1;
M_.sigma_e_is_diagonal = 1;
options_.block=0;
options_.bytecode=0;
options_.use_dll=0;
erase_compiled_function('rbcb_monprud_nash_infl_bt_static');
erase_compiled_function('rbcb_monprud_nash_infl_bt_dynamic');
M_.lead_lag_incidence = [
 0 35 170;
 0 36 171;
 0 37 0;
 0 38 0;
 1 39 0;
 2 40 172;
 0 41 0;
 0 42 173;
 3 43 174;
 4 44 0;
 5 45 0;
 6 46 0;
 7 47 0;
 8 48 175;
 9 49 176;
 0 50 0;
 10 51 177;
 11 52 178;
 12 53 179;
 0 54 0;
 0 55 0;
 0 56 0;
 13 57 0;
 14 58 180;
 0 59 0;
 0 60 0;
 0 61 181;
 0 62 182;
 0 63 0;
 0 64 0;
 0 65 0;
 15 66 183;
 0 67 184;
 0 68 0;
 0 69 185;
 0 70 0;
 0 71 0;
 0 72 186;
 0 73 0;
 0 74 0;
 0 75 0;
 0 76 0;
 0 77 187;
 0 78 0;
 0 79 188;
 0 80 0;
 0 81 0;
 0 82 189;
 16 83 0;
 17 84 0;
 18 85 0;
 19 86 190;
 20 87 0;
 0 88 0;
 0 89 0;
 0 90 191;
 0 91 192;
 0 92 193;
 0 93 194;
 0 94 195;
 0 95 196;
 0 96 197;
 0 97 198;
 0 98 199;
 0 99 200;
 0 100 201;
 0 101 202;
 0 102 203;
 0 103 204;
 21 104 0;
 0 105 0;
 22 106 0;
 0 107 0;
 0 108 205;
 23 109 0;
 24 110 0;
 0 111 0;
 0 112 0;
 0 113 0;
 0 114 206;
 25 115 0;
 0 116 0;
 0 117 207;
 0 118 208;
 0 119 0;
 0 120 0;
 26 121 209;
 0 122 0;
 0 123 0;
 0 124 0;
 0 125 0;
 27 126 0;
 0 127 0;
 0 128 0;
 0 129 0;
 0 130 210;
 0 131 211;
 0 132 212;
 0 133 213;
 0 134 214;
 0 135 215;
 0 136 216;
 0 137 217;
 0 138 218;
 0 139 219;
 0 140 220;
 0 141 221;
 0 142 222;
 0 143 223;
 28 144 0;
 0 145 0;
 29 146 0;
 0 147 0;
 0 148 224;
 30 149 0;
 31 150 0;
 0 151 0;
 0 152 0;
 0 153 0;
 0 154 225;
 32 155 0;
 0 156 0;
 0 157 226;
 0 158 227;
 0 159 0;
 0 160 0;
 33 161 228;
 0 162 0;
 0 163 0;
 0 164 0;
 0 165 0;
 34 166 0;
 0 167 0;
 0 168 0;
 0 169 229;]';
M_.nstatic = 53;
M_.nfwrd   = 48;
M_.npred   = 22;
M_.nboth   = 12;
M_.nsfwrd   = 60;
M_.nspred   = 34;
M_.ndynamic   = 82;
M_.equations_tags = {
};
M_.static_and_dynamic_models_differ = 0;
M_.exo_names_orig_ord = [1:7];
M_.maximum_lag = 1;
M_.maximum_lead = 1;
M_.maximum_endo_lag = 1;
M_.maximum_endo_lead = 1;
oo_.steady_state = zeros(135, 1);
M_.maximum_exo_lag = 0;
M_.maximum_exo_lead = 0;
oo_.exo_steady_state = zeros(7, 1);
M_.params = NaN(55, 1);
M_.NNZDerivatives = zeros(3, 1);
M_.NNZDerivatives(1) = 886;
M_.NNZDerivatives(2) = 3822;
M_.NNZDerivatives(3) = -1;
%
% SHOCKS instructions
%
make_ex_;
M_.exo_det_length = 0;
M_.Sigma_e(1, 1) = (1)^2;
options_.irf = 0;
options_.nomoments = 1;
options_.order = 2;
options_.periods = 0;
var_list_=[];
info = stoch_simul(var_list_);
save('rbcb_monprud_nash_infl_bt_results.mat', 'oo_', 'M_', 'options_');
if exist('estim_params_', 'var') == 1
  save('rbcb_monprud_nash_infl_bt_results.mat', 'estim_params_', '-append');
end
if exist('bayestopt_', 'var') == 1
  save('rbcb_monprud_nash_infl_bt_results.mat', 'bayestopt_', '-append');
end
if exist('dataset_', 'var') == 1
  save('rbcb_monprud_nash_infl_bt_results.mat', 'dataset_', '-append');
end
if exist('estimation_info', 'var') == 1
  save('rbcb_monprud_nash_infl_bt_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
