stoch_simul.m: add nomodelsummary option
parent
cbf57b1af6
commit
a00eb5e1de
|
@ -4498,6 +4498,11 @@ Computing the stochastic solution
|
||||||
Don’t print moments of the endogenous variables (printing them
|
Don’t print moments of the endogenous variables (printing them
|
||||||
is the default).
|
is the default).
|
||||||
|
|
||||||
|
.. option:: nomodelsummary
|
||||||
|
|
||||||
|
Don’t print the model summary and the covariance of the exogenous shocks (printing them
|
||||||
|
is the default).
|
||||||
|
|
||||||
.. option:: nograph
|
.. option:: nograph
|
||||||
|
|
||||||
Do not create graphs (which implies that they are not saved to
|
Do not create graphs (which implies that they are not saved to
|
||||||
|
|
|
@ -164,6 +164,7 @@ options_.one_sided_hp_filter = 0;
|
||||||
options_.filtered_theoretical_moments_grid = 512;
|
options_.filtered_theoretical_moments_grid = 512;
|
||||||
options_.nodecomposition = false;
|
options_.nodecomposition = false;
|
||||||
options_.nomoments = false;
|
options_.nomoments = false;
|
||||||
|
options_.nomodelsummary = false;
|
||||||
options_.nocorr = false;
|
options_.nocorr = false;
|
||||||
options_.periods = 0;
|
options_.periods = 0;
|
||||||
options_.noprint = false;
|
options_.noprint = false;
|
||||||
|
|
|
@ -134,36 +134,38 @@ if info(1)
|
||||||
end
|
end
|
||||||
|
|
||||||
if ~options_.noprint
|
if ~options_.noprint
|
||||||
skipline()
|
if ~options_.nomodelsummary
|
||||||
disp('MODEL SUMMARY')
|
skipline()
|
||||||
skipline()
|
disp('MODEL SUMMARY')
|
||||||
disp([' Number of variables: ' int2str(M_.endo_nbr)])
|
skipline()
|
||||||
disp([' Number of stochastic shocks: ' int2str(M_.exo_nbr)])
|
disp([' Number of variables: ' int2str(M_.endo_nbr)])
|
||||||
disp([' Number of state variables: ' int2str(M_.nspred)])
|
disp([' Number of stochastic shocks: ' int2str(M_.exo_nbr)])
|
||||||
disp([' Number of jumpers: ' int2str(M_.nsfwrd)])
|
disp([' Number of state variables: ' int2str(M_.nspred)])
|
||||||
disp([' Number of static variables: ' int2str(M_.nstatic)])
|
disp([' Number of jumpers: ' int2str(M_.nsfwrd)])
|
||||||
my_title='MATRIX OF COVARIANCE OF EXOGENOUS SHOCKS';
|
disp([' Number of static variables: ' int2str(M_.nstatic)])
|
||||||
labels = M_.exo_names;
|
my_title='MATRIX OF COVARIANCE OF EXOGENOUS SHOCKS';
|
||||||
headers = vertcat('Variables', labels);
|
labels = M_.exo_names;
|
||||||
lh = cellofchararraymaxlength(labels)+2;
|
|
||||||
dyntable(options_, my_title, headers, labels, M_.Sigma_e, lh, 10, 6);
|
|
||||||
if options_.TeX
|
|
||||||
labels = M_.exo_names_tex;
|
|
||||||
headers = vertcat('Variables', labels);
|
headers = vertcat('Variables', labels);
|
||||||
lh = cellofchararraymaxlength(labels)+2;
|
lh = cellofchararraymaxlength(labels)+2;
|
||||||
dyn_latex_table(M_, options_, my_title, 'covar_ex_shocks', headers, labels, M_.Sigma_e, lh, 10, 6);
|
dyntable(options_, my_title, headers, labels, M_.Sigma_e, lh, 10, 6);
|
||||||
end
|
|
||||||
if ~all(diag(M_.H)==0)
|
|
||||||
my_title='MATRIX OF COVARIANCE OF MEASUREMENT ERRORS';
|
|
||||||
labels = cellfun(@(x) horzcat('SE_', x), options_.varobs, 'UniformOutput', false);
|
|
||||||
headers = vertcat('Variables', labels);
|
|
||||||
lh = cellofchararraymaxlength(labels)+2;
|
|
||||||
dyntable(options_, my_title, headers, labels, M_.H, lh, 10, 6);
|
|
||||||
if options_.TeX
|
if options_.TeX
|
||||||
labels = M_.exo_names_tex;
|
labels = M_.exo_names_tex;
|
||||||
headers = vertcat('Variables', labels);
|
headers = vertcat('Variables', labels);
|
||||||
lh = cellofchararraymaxlength(labels)+2;
|
lh = cellofchararraymaxlength(labels)+2;
|
||||||
dyn_latex_table(M_, options_, my_title, 'covar_ME', headers, labels, M_.H, lh, 10, 6);
|
dyn_latex_table(M_, options_, my_title, 'covar_ex_shocks', headers, labels, M_.Sigma_e, lh, 10, 6);
|
||||||
|
end
|
||||||
|
if ~all(diag(M_.H)==0)
|
||||||
|
my_title='MATRIX OF COVARIANCE OF MEASUREMENT ERRORS';
|
||||||
|
labels = cellfun(@(x) horzcat('SE_', x), options_.varobs, 'UniformOutput', false);
|
||||||
|
headers = vertcat('Variables', labels);
|
||||||
|
lh = cellofchararraymaxlength(labels)+2;
|
||||||
|
dyntable(options_, my_title, headers, labels, M_.H, lh, 10, 6);
|
||||||
|
if options_.TeX
|
||||||
|
labels = M_.exo_names_tex;
|
||||||
|
headers = vertcat('Variables', labels);
|
||||||
|
lh = cellofchararraymaxlength(labels)+2;
|
||||||
|
dyn_latex_table(M_, options_, my_title, 'covar_ME', headers, labels, M_.H, lh, 10, 6);
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
if options_.partial_information
|
if options_.partial_information
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 16b063f666df679173e3da7f30ec1bff55755ddb
|
Subproject commit 3c20b9862b87e894b00c70b10e7f5a425ba0372a
|
Loading…
Reference in New Issue