Commit Graph

9807 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
Johannes Pfeifer 425ada90bb Fix traceplot command in TeX unit test 2016-08-23 17:22:41 +02:00
Houtan Bastani ab35020e97 Merge pull request #1224 from JohannesPfeifer/ms_doc
Document options of MS code after interface change
2016-08-23 16:57:06 +02:00
Stéphane Adjemian 9653568fb6 Merge pull request #1247 from JohannesPfeifer/dyn++timing
Clarify the timing convention in dynare++
2016-08-23 16:45:26 +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 960aeb0d8d Add fast Kalman filter to stationary unit tests 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 a7e3ecea63 Add diffuse Kalman filter unit tests 2016-08-22 19:24:35 +02:00
Johannes Pfeifer 06ff0c7bb6 Factorize Kalman filter unit tests 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 69c5575e19 Add smoother checks to Kalman unit tests 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 915b437efc Add correctness check for Kalman filter unit tests 2016-08-22 19:24:35 +02:00
Johannes Pfeifer 077b725a52 Correct comment in _dynamic files that misstated columns of derivative matrices 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 b201ca4e4b Add proper measurement error to Kalman filter test files 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 818befd4eb Document mh_init_scale 2016-08-22 16:27:32 +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
MichelJuillard cb861e2007 Merge pull request #1270 from JohannesPfeifer/estim_fields
Make sure fields of estim_params are always properly initialized
2016-08-21 11:29:20 +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