gui: added fields to `oo_` to indicate which commands have been run
parent
2d468b5c1d
commit
eb6ab0696a
|
@ -12,7 +12,7 @@ function oo_recursive_=dynare_estimation(var_list,dname)
|
|||
% SPECIAL REQUIREMENTS
|
||||
% none
|
||||
|
||||
% Copyright (C) 2003-2018 Dynare Team
|
||||
% Copyright (C) 2003-2020 Dynare Team
|
||||
%
|
||||
% This file is part of Dynare.
|
||||
%
|
||||
|
@ -214,3 +214,5 @@ if nnobs > 1 && horizon > 0
|
|||
end
|
||||
options_.mode_file = mode_file0;
|
||||
%reset stored mode-file to user defined one (and in case it was only set by the recursive estimation)
|
||||
oo_.gui.ran_estimation = true;
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@ function [oo_,M_,options_,bayestopt_,Smoothed_variables_declaration_order_deviat
|
|||
% [1] This function use persistent variables for the dataset and the description of the missing observations. Consequently, if this function
|
||||
% is called more than once (by changing the value of parameters) the sample *must not* change.
|
||||
|
||||
% Copyright (C) 2010-2017 Dynare Team
|
||||
% Copyright (C) 2010-2020 Dynare Team
|
||||
%
|
||||
% This file is part of Dynare.
|
||||
%
|
||||
|
@ -111,3 +111,4 @@ end
|
|||
|
||||
%reset qz_criterium
|
||||
options_.qz_criterium=qz_criterium_old;
|
||||
oo_.gui.ran_calib_smoother = true;
|
||||
|
|
|
@ -93,6 +93,13 @@ oo_.exo_steady_state = [];
|
|||
oo_.exo_det_steady_state = [];
|
||||
oo_.exo_det_simul = [];
|
||||
|
||||
oo_.gui.ran_estimation = false;
|
||||
oo_.gui.ran_stoch_simul = false;
|
||||
oo_.gui.ran_calib_smoother = false;
|
||||
oo_.gui.ran_perfect_foresight = false;
|
||||
oo_.gui.ran_shock_decomposition = false;
|
||||
oo_.gui.ran_realtime_shock_decomposition = false;
|
||||
|
||||
M_.params = [];
|
||||
M_.endo_histval = [];
|
||||
M_.exo_histval = [];
|
||||
|
|
|
@ -12,7 +12,7 @@ function perfect_foresight_solver()
|
|||
% SPECIAL REQUIREMENTS
|
||||
% none
|
||||
|
||||
% Copyright (C) 1996-2019 Dynare Team
|
||||
% Copyright (C) 1996-2020 Dynare Team
|
||||
%
|
||||
% This file is part of Dynare.
|
||||
%
|
||||
|
@ -226,3 +226,6 @@ end
|
|||
|
||||
ts = dseries(transpose(oo_.endo_simul), initial_period, M_.endo_names);
|
||||
assignin('base', 'Simulated_time_series', ts);
|
||||
if oo_.deterministic_simulation.status
|
||||
oo_.gui.ran_perfect_foresight = true;
|
||||
end
|
||||
|
|
|
@ -22,7 +22,7 @@ function oo_ = realtime_shock_decomposition(M_,oo_,options_,varlist,bayestopt_,e
|
|||
% SPECIAL REQUIREMENTS
|
||||
% none
|
||||
|
||||
% Copyright (C) 2009-2019 Dynare Team
|
||||
% Copyright (C) 2009-2020 Dynare Team
|
||||
%
|
||||
% This file is part of Dynare.
|
||||
%
|
||||
|
@ -357,5 +357,6 @@ oo_.conditional_shock_decomposition.pool = zcond;
|
|||
if forecast_
|
||||
oo_.realtime_forecast_shock_decomposition.pool = zfrcst;
|
||||
end
|
||||
oo_.gui.ran_realtime_shock_decomposition = true;
|
||||
|
||||
skipline()
|
||||
|
|
|
@ -23,7 +23,7 @@ function [oo_,M_] = shock_decomposition(M_,oo_,options_,varlist,bayestopt_,estim
|
|||
% SPECIAL REQUIREMENTS
|
||||
% none
|
||||
|
||||
% Copyright (C) 2009-2019 Dynare Team
|
||||
% Copyright (C) 2009-2020 Dynare Team
|
||||
%
|
||||
% This file is part of Dynare.
|
||||
%
|
||||
|
@ -141,3 +141,5 @@ oo_.shock_decomposition = z;
|
|||
if ~options_.no_graph.shock_decomposition
|
||||
oo_ = plot_shock_decomposition(M_,oo_,options_,varlist);
|
||||
end
|
||||
|
||||
oo_.gui.ran_shock_decomposition = true;
|
||||
|
|
|
@ -393,3 +393,5 @@ end
|
|||
options_ = options_old;
|
||||
% temporary fix waiting for local options
|
||||
options_.partial_information = 0;
|
||||
|
||||
oo_.gui.ran_stoch_simul = true;
|
||||
|
|
Loading…
Reference in New Issue