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

if isoctave || matlab_ver_less_than('8.6')
    clear all
else
    clearvars -global
    clear_persistent_variables(fileparts(which('dynare')), false)
end
tic0 = tic;
% Save empty dates and dseries objects in memory.
dates('initialize');
dseries('initialize');
% Define global variables.
global M_ options_ oo_ estim_params_ bayestopt_ dataset_ dataset_info estimation_info ys0_ ex0_
options_ = [];
M_.fname = 'cn_amend_7obs';
M_.dynare_version = '4.5.7';
oo_.dynare_version = '4.5.7';
options_.dynare_version = '4.5.7';
%
% Some global variables initialization
%
global_initialization;
diary off;
diary('cn_amend_7obs.log');
M_.exo_names = 'epsa';
M_.exo_names_tex = 'epsa';
M_.exo_names_long = 'epsa';
M_.exo_names = char(M_.exo_names, 'epsg');
M_.exo_names_tex = char(M_.exo_names_tex, 'epsg');
M_.exo_names_long = char(M_.exo_names_long, 'epsg');
M_.exo_names = char(M_.exo_names, 'epsr');
M_.exo_names_tex = char(M_.exo_names_tex, 'epsr');
M_.exo_names_long = char(M_.exo_names_long, 'epsr');
M_.exo_names = char(M_.exo_names, 'epsmup');
M_.exo_names_tex = char(M_.exo_names_tex, 'epsmup');
M_.exo_names_long = char(M_.exo_names_long, 'epsmup');
M_.exo_names = char(M_.exo_names, 'epsmuw');
M_.exo_names_tex = char(M_.exo_names_tex, 'epsmuw');
M_.exo_names_long = char(M_.exo_names_long, 'epsmuw');
M_.exo_names = char(M_.exo_names, 'epsrpr');
M_.exo_names_tex = char(M_.exo_names_tex, 'epsrpr');
M_.exo_names_long = char(M_.exo_names_long, 'epsrpr');
M_.exo_names = char(M_.exo_names, 'epsnu');
M_.exo_names_tex = char(M_.exo_names_tex, 'epsnu');
M_.exo_names_long = char(M_.exo_names_long, 'epsnu');
M_.exo_names = char(M_.exo_names, 'epsmesp');
M_.exo_names_tex = char(M_.exo_names_tex, 'epsmesp');
M_.exo_names_long = char(M_.exo_names_long, 'epsmesp');
M_.endo_names = 'r';
M_.endo_names_tex = 'r';
M_.endo_names_long = 'r';
M_.endo_names = char(M_.endo_names, 'xgap');
M_.endo_names_tex = char(M_.endo_names_tex, 'xgap');
M_.endo_names_long = char(M_.endo_names_long, 'xgap');
M_.endo_names = char(M_.endo_names, 'sgap');
M_.endo_names_tex = char(M_.endo_names_tex, 'sgap');
M_.endo_names_long = char(M_.endo_names_long, 'sgap');
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, 'inflwage');
M_.endo_names_tex = char(M_.endo_names_tex, 'inflwage');
M_.endo_names_long = char(M_.endo_names_long, 'inflwage');
M_.endo_names = char(M_.endo_names, 'ynat');
M_.endo_names_tex = char(M_.endo_names_tex, 'ynat');
M_.endo_names_long = char(M_.endo_names_long, 'ynat');
M_.endo_names = char(M_.endo_names, 'wnat');
M_.endo_names_tex = char(M_.endo_names_tex, 'wnat');
M_.endo_names_long = char(M_.endo_names_long, 'wnat');
M_.endo_names = char(M_.endo_names, 'rrnat');
M_.endo_names_tex = char(M_.endo_names_tex, 'rrnat');
M_.endo_names_long = char(M_.endo_names_long, 'rrnat');
M_.endo_names = char(M_.endo_names, 'qnat');
M_.endo_names_tex = char(M_.endo_names_tex, 'qnat');
M_.endo_names_long = char(M_.endo_names_long, 'qnat');
M_.endo_names = char(M_.endo_names, 'wgap');
M_.endo_names_tex = char(M_.endo_names_tex, 'wgap');
M_.endo_names_long = char(M_.endo_names_long, 'wgap');
M_.endo_names = char(M_.endo_names, 'yhat');
M_.endo_names_tex = char(M_.endo_names_tex, 'yhat');
M_.endo_names_long = char(M_.endo_names_long, 'yhat');
M_.endo_names = char(M_.endo_names, 'qhat');
M_.endo_names_tex = char(M_.endo_names_tex, 'qhat');
M_.endo_names_long = char(M_.endo_names_long, 'qhat');
M_.endo_names = char(M_.endo_names, 'what');
M_.endo_names_tex = char(M_.endo_names_tex, 'what');
M_.endo_names_long = char(M_.endo_names_long, 'what');
M_.endo_names = char(M_.endo_names, 'diffg');
M_.endo_names_tex = char(M_.endo_names_tex, 'diffg');
M_.endo_names_long = char(M_.endo_names_long, 'diffg');
M_.endo_names = char(M_.endo_names, 'diffynat');
M_.endo_names_tex = char(M_.endo_names_tex, 'diffynat');
M_.endo_names_long = char(M_.endo_names_long, 'diffynat');
M_.endo_names = char(M_.endo_names, 'diffnu');
M_.endo_names_tex = char(M_.endo_names_tex, 'diffnu');
M_.endo_names_long = char(M_.endo_names_long, 'diffnu');
M_.endo_names = char(M_.endo_names, 'diffa');
M_.endo_names_tex = char(M_.endo_names_tex, 'diffa');
M_.endo_names_long = char(M_.endo_names_long, 'diffa');
M_.endo_names = char(M_.endo_names, 'diffr');
M_.endo_names_tex = char(M_.endo_names_tex, 'diffr');
M_.endo_names_long = char(M_.endo_names_long, 'diffr');
M_.endo_names = char(M_.endo_names, 'nu');
M_.endo_names_tex = char(M_.endo_names_tex, 'nu');
M_.endo_names_long = char(M_.endo_names_long, 'nu');
M_.endo_names = char(M_.endo_names, 'g');
M_.endo_names_tex = char(M_.endo_names_tex, 'g');
M_.endo_names_long = char(M_.endo_names_long, 'g');
M_.endo_names = char(M_.endo_names, 'mup');
M_.endo_names_tex = char(M_.endo_names_tex, 'mup');
M_.endo_names_long = char(M_.endo_names_long, 'mup');
M_.endo_names = char(M_.endo_names, 'muw');
M_.endo_names_tex = char(M_.endo_names_tex, 'muw');
M_.endo_names_long = char(M_.endo_names_long, 'muw');
M_.endo_names = char(M_.endo_names, 'ur');
M_.endo_names_tex = char(M_.endo_names_tex, 'ur');
M_.endo_names_long = char(M_.endo_names_long, 'ur');
M_.endo_names = char(M_.endo_names, 'endop');
M_.endo_names_tex = char(M_.endo_names_tex, 'endop');
M_.endo_names_long = char(M_.endo_names_long, 'endop');
M_.endo_names = char(M_.endo_names, 'endow');
M_.endo_names_tex = char(M_.endo_names_tex, 'endow');
M_.endo_names_long = char(M_.endo_names_long, 'endow');
M_.endo_names = char(M_.endo_names, 'erpr');
M_.endo_names_tex = char(M_.endo_names_tex, 'erpr');
M_.endo_names_long = char(M_.endo_names_long, 'erpr');
M_.endo_names = char(M_.endo_names, 'chat');
M_.endo_names_tex = char(M_.endo_names_tex, 'chat');
M_.endo_names_long = char(M_.endo_names_long, 'chat');
M_.endo_names = char(M_.endo_names, 'ygrobs');
M_.endo_names_tex = char(M_.endo_names_tex, 'ygrobs');
M_.endo_names_long = char(M_.endo_names_long, 'ygrobs');
M_.endo_names = char(M_.endo_names, 'inflobs');
M_.endo_names_tex = char(M_.endo_names_tex, 'inflobs');
M_.endo_names_long = char(M_.endo_names_long, 'inflobs');
M_.endo_names = char(M_.endo_names, 'ffrobs');
M_.endo_names_tex = char(M_.endo_names_tex, 'ffrobs');
M_.endo_names_long = char(M_.endo_names_long, 'ffrobs');
M_.endo_names = char(M_.endo_names, 'rwagegrobs');
M_.endo_names_tex = char(M_.endo_names_tex, 'rwagegrobs');
M_.endo_names_long = char(M_.endo_names_long, 'rwagegrobs');
M_.endo_names = char(M_.endo_names, 'qgrobs');
M_.endo_names_tex = char(M_.endo_names_tex, 'qgrobs');
M_.endo_names_long = char(M_.endo_names_long, 'qgrobs');
M_.endo_names = char(M_.endo_names, 'cgrobs');
M_.endo_names_tex = char(M_.endo_names_tex, 'cgrobs');
M_.endo_names_long = char(M_.endo_names_long, 'cgrobs');
M_.endo_names = char(M_.endo_names, 'lnobs');
M_.endo_names_tex = char(M_.endo_names_tex, 'lnobs');
M_.endo_names_long = char(M_.endo_names_long, 'lnobs');
M_.endo_names = char(M_.endo_names, 'diffn');
M_.endo_names_tex = char(M_.endo_names_tex, 'diffn');
M_.endo_names_long = char(M_.endo_names_long, 'diffn');
M_.endo_partitions = struct();
M_.param_names = 'xi';
M_.param_names_tex = 'xi';
M_.param_names_long = 'xi';
M_.param_names = char(M_.param_names, 'alpha');
M_.param_names_tex = char(M_.param_names_tex, 'alpha');
M_.param_names_long = char(M_.param_names_long, 'alpha');
M_.param_names = char(M_.param_names, 'eta');
M_.param_names_tex = char(M_.param_names_tex, 'eta');
M_.param_names_long = char(M_.param_names_long, 'eta');
M_.param_names = char(M_.param_names, 'delta');
M_.param_names_tex = char(M_.param_names_tex, 'delta');
M_.param_names_long = char(M_.param_names_long, 'delta');
M_.param_names = char(M_.param_names, 'hbar');
M_.param_names_tex = char(M_.param_names_tex, 'hbar');
M_.param_names_long = char(M_.param_names_long, 'hbar');
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, 'thetaw');
M_.param_names_tex = char(M_.param_names_tex, 'thetaw');
M_.param_names_long = char(M_.param_names_long, 'thetaw');
M_.param_names = char(M_.param_names, 'omegabar');
M_.param_names_tex = char(M_.param_names_tex, 'omegabar');
M_.param_names_long = char(M_.param_names_long, 'omegabar');
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, 'phiw');
M_.param_names_tex = char(M_.param_names_tex, 'phiw');
M_.param_names_long = char(M_.param_names_long, 'phiw');
M_.param_names = char(M_.param_names, 'phis');
M_.param_names_tex = char(M_.param_names_tex, 'phis');
M_.param_names_long = char(M_.param_names_long, 'phis');
M_.param_names = char(M_.param_names, 'phix');
M_.param_names_tex = char(M_.param_names_tex, 'phix');
M_.param_names_long = char(M_.param_names_long, 'phix');
M_.param_names = char(M_.param_names, 'phir');
M_.param_names_tex = char(M_.param_names_tex, 'phir');
M_.param_names_long = char(M_.param_names_long, 'phir');
M_.param_names = char(M_.param_names, 'gss');
M_.param_names_tex = char(M_.param_names_tex, 'gss');
M_.param_names_long = char(M_.param_names_long, 'gss');
M_.param_names = char(M_.param_names, 'mupss');
M_.param_names_tex = char(M_.param_names_tex, 'mupss');
M_.param_names_long = char(M_.param_names_long, 'mupss');
M_.param_names = char(M_.param_names, 'muwss');
M_.param_names_tex = char(M_.param_names_tex, 'muwss');
M_.param_names_long = char(M_.param_names_long, 'muwss');
M_.param_names = char(M_.param_names, 'gamma');
M_.param_names_tex = char(M_.param_names_tex, 'gamma');
M_.param_names_long = char(M_.param_names_long, 'gamma');
M_.param_names = char(M_.param_names, 'rss');
M_.param_names_tex = char(M_.param_names_tex, 'rss');
M_.param_names_long = char(M_.param_names_long, 'rss');
M_.param_names = char(M_.param_names, 'inflss');
M_.param_names_tex = char(M_.param_names_tex, 'inflss');
M_.param_names_long = char(M_.param_names_long, 'inflss');
M_.param_names = char(M_.param_names, 'difflnss');
M_.param_names_tex = char(M_.param_names_tex, 'difflnss');
M_.param_names_long = char(M_.param_names_long, 'difflnss');
M_.param_names = char(M_.param_names, 'rhog');
M_.param_names_tex = char(M_.param_names_tex, 'rhog');
M_.param_names_long = char(M_.param_names_long, 'rhog');
M_.param_names = char(M_.param_names, 'rhomup');
M_.param_names_tex = char(M_.param_names_tex, 'rhomup');
M_.param_names_long = char(M_.param_names_long, 'rhomup');
M_.param_names = char(M_.param_names, 'rhomuw');
M_.param_names_tex = char(M_.param_names_tex, 'rhomuw');
M_.param_names_long = char(M_.param_names_long, 'rhomuw');
M_.param_names = char(M_.param_names, 'rhonu');
M_.param_names_tex = char(M_.param_names_tex, 'rhonu');
M_.param_names_long = char(M_.param_names_long, 'rhonu');
M_.param_names = char(M_.param_names, 'rhor');
M_.param_names_tex = char(M_.param_names_tex, 'rhor');
M_.param_names_long = char(M_.param_names_long, 'rhor');
M_.param_names = char(M_.param_names, 'rhoa');
M_.param_names_tex = char(M_.param_names_tex, 'rhoa');
M_.param_names_long = char(M_.param_names_long, 'rhoa');
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, 'chiw');
M_.param_names_tex = char(M_.param_names_tex, 'chiw');
M_.param_names_long = char(M_.param_names_long, 'chiw');
M_.param_names = char(M_.param_names, 'rhoerpr');
M_.param_names_tex = char(M_.param_names_tex, 'rhoerpr');
M_.param_names_long = char(M_.param_names_long, 'rhoerpr');
M_.param_names = char(M_.param_names, 'wnyse');
M_.param_names_tex = char(M_.param_names_tex, 'wnyse');
M_.param_names_long = char(M_.param_names_long, 'wnyse');
M_.param_partitions = struct();
M_.exo_det_nbr = 0;
M_.exo_nbr = 8;
M_.endo_nbr = 35;
M_.param_nbr = 30;
M_.orig_endo_nbr = 35;
M_.aux_vars = [];
options_.varobs = cell(1);
options_.varobs(1)  = {'inflobs'};
options_.varobs(2)  = {'ffrobs'};
options_.varobs(3)  = {'ygrobs'};
options_.varobs(4)  = {'rwagegrobs'};
options_.varobs(5)  = {'qgrobs'};
options_.varobs(6)  = {'cgrobs'};
options_.varobs(7)  = {'lnobs'};
options_.varobs_id = [ 29 30 28 31 32 33 34  ];
M_.Sigma_e = zeros(8, 8);
M_.Correlation_matrix = eye(8, 8);
M_.H = 0;
M_.Correlation_matrix_ME = 1;
M_.sigma_e_is_diagonal = 1;
M_.det_shocks = [];
options_.linear = 1;
options_.block=0;
options_.bytecode=0;
options_.use_dll=0;
M_.hessian_eq_zero = 1;
erase_compiled_function('cn_amend_7obs_static');
erase_compiled_function('cn_amend_7obs_dynamic');
M_.orig_eq_nbr = 35;
M_.eq_nbr = 35;
M_.ramsey_eq_nbr = 0;
M_.set_auxiliary_variables = exist(['./' M_.fname '_set_auxiliary_variables.m'], 'file') == 2;
M_.lead_lag_incidence = [
 1 21 0;
 2 22 56;
 0 23 57;
 3 24 58;
 0 25 59;
 4 26 60;
 5 27 0;
 0 28 0;
 0 29 61;
 6 30 62;
 7 31 0;
 8 32 0;
 9 33 0;
 0 34 63;
 0 35 64;
 0 36 65;
 10 37 66;
 0 38 0;
 11 39 0;
 12 40 0;
 13 41 0;
 14 42 0;
 15 43 0;
 16 44 0;
 17 45 0;
 18 46 0;
 19 47 0;
 0 48 0;
 0 49 0;
 0 50 0;
 0 51 0;
 0 52 0;
 0 53 0;
 20 54 0;
 0 55 0;]';
M_.nstatic = 9;
M_.nfwrd   = 6;
M_.npred   = 15;
M_.nboth   = 5;
M_.nsfwrd   = 11;
M_.nspred   = 20;
M_.ndynamic   = 26;
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(35, 1);
M_.maximum_exo_lag = 0;
M_.maximum_exo_lead = 0;
oo_.exo_steady_state = zeros(8, 1);
M_.params = NaN(30, 1);
M_.NNZDerivatives = [150; 0; -1];
rand('state',100);
M_.params( 2 ) = .36;
alpha = M_.params( 2 );
M_.params( 14 ) = 0.18;
gss = M_.params( 14 );
M_.params( 17 ) = 0.0047;
gamma = M_.params( 17 );
M_.params( 19 ) = 0.0081;
inflss = M_.params( 19 );
M_.params( 18 ) = 0.0143;
rss = M_.params( 18 );
M_.params( 20 ) = 0;
difflnss = M_.params( 20 );
M_.params( 1 ) = 0.13;
xi = M_.params( 1 );
M_.params( 5 ) = .84;
hbar = M_.params( 5 );
M_.params( 6 ) = .77;
thetap = M_.params( 6 );
M_.params( 7 ) = .1;
thetaw = M_.params( 7 );
M_.params( 8 ) = .37;
omegabar = M_.params( 8 );
M_.params( 3 ) = 0.35;
eta = M_.params( 3 );
M_.params( 9 ) = 1.45;
phip = M_.params( 9 );
M_.params( 12 ) = 0.09;
phix = M_.params( 12 );
M_.params( 10 ) = 0;
phiw = M_.params( 10 );
M_.params( 11 ) = 0;
phis = M_.params( 11 );
M_.params( 13 ) = 0.78;
phir = M_.params( 13 );
M_.params( 4 ) = 1.83;
delta = M_.params( 4 );
M_.params( 15 ) = .17;
mupss = M_.params( 15 );
M_.params( 16 ) = .21;
muwss = M_.params( 16 );
M_.params( 21 ) = .7;
rhog = M_.params( 21 );
M_.params( 24 ) = .45;
rhonu = M_.params( 24 );
M_.params( 26 ) = 0.78;
rhoa = M_.params( 26 );
M_.params( 25 ) = 0;
rhor = M_.params( 25 );
M_.params( 22 ) = 0.62;
rhomup = M_.params( 22 );
M_.params( 23 ) = 0.96;
rhomuw = M_.params( 23 );
M_.params( 27 ) = 0.66;
chip = M_.params( 27 );
M_.params( 28 ) = 0.6;
chiw = M_.params( 28 );
M_.params( 29 ) = .95;
rhoerpr = M_.params( 29 );
M_.params( 30 ) = .5;
wnyse = M_.params( 30 );
gamma1 = .005;
options_.solve_algo = 3;
steady;
oo_.dr.eigval = check(M_,options_,oo_);
estim_params_.var_exo = zeros(0, 10);
estim_params_.var_endo = zeros(0, 10);
estim_params_.corrx = zeros(0, 11);
estim_params_.corrn = zeros(0, 11);
estim_params_.param_vals = zeros(0, 10);
estim_params_.param_vals = [estim_params_.param_vals; 1, .05, 0, 1, 5, .5, .28, NaN, NaN, NaN ];
estim_params_.param_vals = [estim_params_.param_vals; 5, .85, (-Inf), Inf, 1, .8, .05, NaN, NaN, NaN ];
estim_params_.param_vals = [estim_params_.param_vals; 6, .71, (-Inf), Inf, 1, .75, .05, NaN, NaN, NaN ];
estim_params_.param_vals = [estim_params_.param_vals; 7, .53, (-Inf), Inf, 1, .75, .05, NaN, NaN, NaN ];
estim_params_.param_vals = [estim_params_.param_vals; 8, .14, (-Inf), Inf, 1, .5, .15, NaN, NaN, NaN ];
estim_params_.param_vals = [estim_params_.param_vals; 3, .42, (-Inf), Inf, 1, .5, .15, NaN, NaN, NaN ];
estim_params_.param_vals = [estim_params_.param_vals; 9, 1.5, (-Inf), Inf, 2, 1, .25, NaN, NaN, NaN ];
estim_params_.param_vals = [estim_params_.param_vals; 12, .02, (-Inf), Inf, 2, .5, .25, NaN, NaN, NaN ];
estim_params_.param_vals = [estim_params_.param_vals; 11, .06, (-Inf), Inf, 3, 0, .25, NaN, NaN, NaN ];
estim_params_.param_vals = [estim_params_.param_vals; 13, .67, (-Inf), Inf, 1, .7, .1, NaN, NaN, NaN ];
estim_params_.param_vals = [estim_params_.param_vals; 4, 0.35, (-Inf), Inf, 2, 1.4, 1, NaN, NaN, NaN ];
estim_params_.param_vals = [estim_params_.param_vals; 15, .12, (-Inf), Inf, 2, .2, .05, NaN, NaN, NaN ];
estim_params_.param_vals = [estim_params_.param_vals; 16, .25, (-Inf), Inf, 2, .2, .05, NaN, NaN, NaN ];
estim_params_.param_vals = [estim_params_.param_vals; 21, .97, (-Inf), Inf, 1, .5, .2, NaN, NaN, NaN ];
estim_params_.param_vals = [estim_params_.param_vals; 24, .14, (-Inf), Inf, 1, .5, .2, NaN, NaN, NaN ];
estim_params_.param_vals = [estim_params_.param_vals; 26, .43, (-Inf), Inf, 1, .5, .2, NaN, NaN, NaN ];
estim_params_.param_vals = [estim_params_.param_vals; 25, .22, (-Inf), Inf, 1, .5, .2, NaN, NaN, NaN ];
estim_params_.param_vals = [estim_params_.param_vals; 22, .87, (-Inf), Inf, 1, .5, .2, NaN, NaN, NaN ];
estim_params_.param_vals = [estim_params_.param_vals; 27, .66, (-Inf), Inf, 1, .6, .15, NaN, NaN, NaN ];
estim_params_.param_vals = [estim_params_.param_vals; 28, .78, (-Inf), Inf, 1, .6, .15, NaN, NaN, NaN ];
estim_params_.param_vals = [estim_params_.param_vals; 29, .95, (-Inf), Inf, 1, .5, .2, NaN, NaN, NaN ];
estim_params_.var_exo = [estim_params_.var_exo; 1, .0109, (-Inf), Inf, 4, 0.01, 2, NaN, NaN, NaN ];
estim_params_.var_exo = [estim_params_.var_exo; 2, .0097, (-Inf), Inf, 4, 0.01, 2, NaN, NaN, NaN ];
estim_params_.var_exo = [estim_params_.var_exo; 7, .0340, (-Inf), Inf, 4, 0.01, 2, NaN, NaN, NaN ];
estim_params_.var_exo = [estim_params_.var_exo; 3, .0033, (-Inf), Inf, 4, 0.01, 2, NaN, NaN, NaN ];
estim_params_.var_exo = [estim_params_.var_exo; 4, .12, (-Inf), Inf, 4, 0.01, 2, NaN, NaN, NaN ];
estim_params_.var_exo = [estim_params_.var_exo; 5, .50, (-Inf), Inf, 4, 0.01, 2, NaN, NaN, NaN ];
estim_params_.var_exo = [estim_params_.var_exo; 6, .0045, (-Inf), Inf, 4, 0.01, 2, NaN, NaN, NaN ];
estim_params_.var_exo = [estim_params_.var_exo; 8, .0594, (-Inf), Inf, 4, 0.01, 2, NaN, NaN, NaN ];
options_.diffuse_filter = 1;
options_.mh_replic = 40000;
options_.mode_check.status = 1;
options_.prefilter = 0;
options_.datafile = 'data_nfbsop_54q307q2';
options_.first_obs = 1;
options_.order = 1;
options_.steadystate.nocheck = 1;
var_list_ = char();
oo_recursive_=dynare_estimation(var_list_);
save('cn_amend_7obs_results.mat', 'oo_', 'M_', 'options_');
if exist('estim_params_', 'var') == 1
  save('cn_amend_7obs_results.mat', 'estim_params_', '-append');
end
if exist('bayestopt_', 'var') == 1
  save('cn_amend_7obs_results.mat', 'bayestopt_', '-append');
end
if exist('dataset_', 'var') == 1
  save('cn_amend_7obs_results.mat', 'dataset_', '-append');
end
if exist('estimation_info', 'var') == 1
  save('cn_amend_7obs_results.mat', 'estimation_info', '-append');
end
if exist('dataset_info', 'var') == 1
  save('cn_amend_7obs_results.mat', 'dataset_info', '-append');
end
if exist('oo_recursive_', 'var') == 1
  save('cn_amend_7obs_results.mat', 'oo_recursive_', '-append');
end


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