From b70fe6250308f8eec25f984250d75d08d74a5a01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Adjemian=20=28Lupi=29?= Date: Wed, 15 Jun 2016 17:15:53 +0200 Subject: [PATCH] Minor change in user reference manual. The write_latex_prior_table has not to follow the estimation command but the estimated_params block. --- doc/dynare.texi | 5 +++-- tests/TeX/fs2000_corr_ME.mod | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/doc/dynare.texi b/doc/dynare.texi index 55d8ea5b0..f7e23a9c1 100644 --- a/doc/dynare.texi +++ b/doc/dynare.texi @@ -10071,8 +10071,9 @@ following @LaTeX{} packages: @code{longtable, booktabs} Writes descriptive statistics about the prior distribution to a @LaTeX{} table in a file named @code{<>_latex_priors_table.tex}. The command writes the prior -definitions currently stored. Thus, the command must be invoked after a call to @code{estimation}. Requires the -following @LaTeX{} packages: @code{longtable, booktabs} +definitions currently stored. Thus, the command must be invoked after the @code{estimated_params} block. The command +returns an error if no prior densities are defined (ML estimation). Requires the following @LaTeX{} +packages: @code{longtable, booktabs} @end deffn @deffn {MATLAB/Octave command} collect_LaTeX_Files (@code{M_}) ; diff --git a/tests/TeX/fs2000_corr_ME.mod b/tests/TeX/fs2000_corr_ME.mod index 6ac5cef60..a26447fb0 100644 --- a/tests/TeX/fs2000_corr_ME.mod +++ b/tests/TeX/fs2000_corr_ME.mod @@ -160,10 +160,10 @@ stderr gy_obs, inv_gamma_pdf, 0.001, inf; corr gp_obs, gy_obs,normal_pdf, 0, 0.2; end; -estimation(mode_compute=8,order=1,datafile='../fs2000/fsdat_simul',mode_check,smoother,filter_decomposition,mh_replic=4000, mh_nblocks=1, mh_jscale=0.8,forecast = 8,bayesian_irf,filtered_vars,filter_step_ahead=[1,3],irf=20,moments_varendo,contemporaneous_correlation,conditional_variance_decomposition=[1 2 4]) m P c e W R k d y; - write_latex_prior_table; +estimation(mode_compute=8,order=1,datafile='../fs2000/fsdat_simul',mode_check,smoother,filter_decomposition,mh_replic=4000, mh_nblocks=1, mh_jscale=0.8,forecast = 8,bayesian_irf,filtered_vars,filter_step_ahead=[1,3],irf=20,moments_varendo,contemporaneous_correlation,conditional_variance_decomposition=[1 2 4]) m P c e W R k d y; + trace_plot(options_,M_,estim_params_,'PosteriorDensity',1); trace_plot(options_,M_,estim_params_,'StructuralShock',1,'eps_a')