Commit Graph

5868 Commits (daa9d15c753d575a4d6295b8673f6f5b03677bd8)

Author SHA1 Message Date
Johannes Pfeifer daa9d15c75 Improve readability of plots generated by pm3_core.m
- Do not plot zero axis if plots are not centered around it
- Limit decimal points of yticks
2016-08-23 17:22:41 +02:00
Johannes Pfeifer 84ab37fd7a Remove globals from forcst.m 2016-08-23 17:22:41 +02:00
Johannes Pfeifer 424050f380 Make sure IRFs only have full periods as xticks 2016-08-23 17:22:41 +02:00
Johannes Pfeifer 73afe7d02f Change fixed LaTeX figure width into \textwidth scaling
Improves readability
2016-08-23 17:22:41 +02:00
Johannes Pfeifer 9a3414f652 Add missing deblank to conditional_variance_decomposition_mc_analysis.m which crashes otherwise if variables have different name length 2016-08-23 17:22:41 +02:00
Johannes Pfeifer de383a263e Prevent TeX_binder from including itself 2016-08-23 17:22:41 +02:00
Stéphane Adjemian (Hermes) 5b60ffa0f7 Option fast_kalman_filter is also available with kalman_algo=0. 2016-08-22 23:31:02 +02:00
Johannes Pfeifer 73d0a82267 Add comment on logic of singularity testing in univariate_kalman_filter_d.m
See discussion on mailing list 18/06/2016
2016-08-22 19:24:35 +02:00
Johannes Pfeifer 8dc96cafa4 If F is identically 0 in Kalman filter, discard parameter draw instead of treating current observation as unobserved
See discussion on mailing list 18/06/2016
2016-08-22 19:24:35 +02:00
Johannes Pfeifer fa3a71bcae Make warning message in dynare_estimation_1.m more informative 2016-08-22 19:24:35 +02:00
Johannes Pfeifer 75e52ed71d Make sure fast_kalman_filter is only used with diffuse_periods=0
Closes #1234
2016-08-22 19:24:35 +02:00
Johannes Pfeifer af72c1bd22 Add missing comment sign in DsgeSmoother.m 2016-08-22 19:24:35 +02:00
Johannes Pfeifer 20e5d76d54 Fix missing negation in check for fast Kalman filter 2016-08-22 19:24:35 +02:00
Johannes Pfeifer 36ccec75ce Add missing constant 2*pi to missing_observations_kalman_filter_d.m 2016-08-22 19:24:35 +02:00
Johannes Pfeifer 63b8c4d2dd Fix smoother for univariate filter with (correlated) measurement error 2016-08-22 19:24:35 +02:00
Johannes Pfeifer f61453211c Correct header of missing_DiffuseKalmanSmootherH3_Z.m and make sure H is vector 2016-08-22 19:24:35 +02:00
Johannes Pfeifer 178bf4165c Make sure Zflag for augmented state space is correctly set when measurement error is correlated 2016-08-22 19:24:35 +02:00
Johannes Pfeifer f95619b46a Add header info to univariate_kalman_filter.m 2016-08-22 19:24:35 +02:00
Johannes Pfeifer 7c96e22985 Fix bug in dsge_likelihood.m where diagonal of measurement error covariance matrix was not correctly read out
This is a prerequisite for the univariate filter that operates along a vector for H instead of along the diagonal. Because of this, the likelihood in the presence of measurement error was wrong
2016-08-22 19:24:35 +02:00
Johannes Pfeifer 6368636ee0 Move Kalman filter options consistency checks to dynare_estimation_init.m 2016-08-22 19:24:35 +02:00
Johannes Pfeifer 8aaca040b3 Expand check of fast_kalman_filter for presence of block-option 2016-08-22 19:24:35 +02:00
Johannes Pfeifer bffea9b426 Fix error code for inf-likelihood 2016-08-22 19:24:35 +02:00
Johannes Pfeifer e939d51d58 display_problematic_vars_Jacobian.m: Fix bug where exogenous variables in dynamic Jacobian were not accounted for Prevents crashes in debug mode 2016-08-22 19:24:35 +02:00
Johannes Pfeifer ed22b6c4f8 Make datatomfile.m datafiles save name of creator and date 2016-08-22 19:24:35 +02:00
Johannes Pfeifer 15f95cec4a Add comments to Kalman filtering routines 2016-08-22 19:24:35 +02:00
Johannes Pfeifer 39e7c39243 Filter out infinite likelihoods 2016-08-22 19:24:35 +02:00
Johannes Pfeifer df8ad833fb Transform automatic loading of optimal_mh_scale_parameter.mat into option scale_file
Closes #503
2016-08-22 16:27:32 +02:00
Johannes Pfeifer 55e20aab1f Delete unused passing of file in posterior_sampler.m
Ports 919645d30e2361fb4c960ee78e42d401ad3d95ba to master
2016-08-22 16:27:32 +02:00
MichelJuillard 6a6ccfa966 Merge pull request #1257 from JohannesPfeifer/conf_sig
Conf sig
2016-08-21 16:14:28 +02:00
MichelJuillard d27bbe667f Merge pull request #1230 from JohannesPfeifer/load_mh_file
Save chain's proposal density and make load_mh_file and mh_recover load it
2016-08-21 16:12:12 +02:00
MichelJuillard 912409a71c Merge pull request #1268 from JohannesPfeifer/dynare_solve_error_message
Remove error-display from dynare_solve.m
2016-08-21 16:07:35 +02:00
Johannes Pfeifer e7b8222144 Updated header of dynare_solve.m 2016-08-21 11:47:52 +02:00
Johannes Pfeifer 14ab41e414 Move debugging information removed in 335ce74acb to evaluate_steady_state.m where it belongs 2016-08-21 11:45:11 +02:00
Johannes Pfeifer 335ce74acb Remove error-display from dynare_solve.m
Prevents estimation crashing when invalid starting values for steady state computation arise during e.g. mode-finding
2016-08-21 11:44:18 +02:00
Johannes Pfeifer 4d8295afdf Cosmetic fixes to display_problematic_vars_Jacobian.m 2016-08-21 11:28:47 +02:00
Johannes Pfeifer 9d9cb322c8 Make sure fields of estim_params are always properly initialized 2016-08-21 11:24:29 +02:00
MichelJuillard cc5cafdd15 Merge pull request #1254 from JohannesPfeifer/log_density_save
Save log_density at the mode and document oo_.posterior-fields
2016-08-21 11:13:19 +02:00
Michel Juillard 0ebef17df2 fix shocks_decomposition bug introduced in commit 75d699cbfa 2016-08-21 11:11:19 +02:00
MichelJuillard 4750eb64ff Merge pull request #1269 from JohannesPfeifer/eig_R2014a
Condition use of eig to compute left eigenvector on Matlab version
2016-08-21 09:54:47 +02:00
Johannes Pfeifer 72e84657a7 Condition use of eig to compute left eigenvector on Matlab version
Functionality is only supported in Matlab from 2014a/8.3 onwards. Closes #1266
2016-08-20 20:43:20 +02:00
MichelJuillard b5b9f46ff9 Merge pull request #1222 from JohannesPfeifer/paralleldelete
dynareParallelDelete.m: Condition delete-command on existence of file…
2016-08-20 18:37:01 +02:00
Johannes Pfeifer 4a723872eb dynareParallelDelete.m: Condition delete-command on existence of file to prevent warning
Closes #1195
2016-08-20 18:02:04 +02:00
MichelJuillard ee428ffb41 Merge pull request #1251 from JohannesPfeifer/resid_command
Check for complexity of steady state in resid.m
2016-08-20 17:41:22 +02:00
MichelJuillard 5c69c789f6 Merge pull request #1261 from JohannesPfeifer/bvar
BVAR: Save prior and posterior information in oo_
2016-08-20 17:39:34 +02:00
MichelJuillard 2e9725cfd0 Merge pull request #1267 from JohannesPfeifer/estimation_init
Fix two bugs in dynare_estimation_init.m
2016-08-20 17:36:48 +02:00
Michel Juillard 75d699cbfa fixing dates in shocks_decomposition.
Interface still missing
2016-08-20 16:31:25 +02:00
Johannes Pfeifer b1f1826d5f Fix two bugs in dynare_estimation_init.m
Makes sure that i) name field is always present and ii) that number fields of estim_params are only accessed after they have been set by set_prior
2016-08-17 21:47:46 +02:00
MichelJuillard 2b674b27d1 Merge pull request #1265 from JohannesPfeifer/dynare_solve_handle
dynare_solve.m: make sure str2func is only used on strings
2016-08-12 12:06:32 +02:00
Johannes Pfeifer 80049a6d09 dynare_solve.m: make sure str2func is only used on strings
Otherwise, code crashes
2016-08-12 11:59:57 +02:00
Johannes Pfeifer c156a5907c BVAR: Save prior and posterior information in oo_ 2016-08-01 10:41:04 +02:00