Sébastien Villemot
1d5a442fe5
Bump minimal required version of Octave to 7.1.0
...
Incidentally, this means that the JSONlab submodule is no longer needed, so it
is removed in the present commit.
Closes : #1907
2023-11-22 17:46:13 +01:00
Johannes Pfeifer
3a115d4fcc
Remove full oo_ input from likelihood functions
2023-10-02 09:48:34 +02:00
Johannes Pfeifer
dc9560e610
selec_posterior_draws.m: remove global variables
2023-09-25 17:17:37 +02:00
Johannes Pfeifer
8da98057b9
Have computation of decision rules and smoother only input and output required arguments instead of full oo_ and M_
2023-09-25 17:17:34 +02:00
Johannes Pfeifer
5231fc04c1
Remove global variables from prior_posterior_statistics.m and PosteriorIRF.m
2023-09-25 12:08:41 +02:00
Johannes Pfeifer
782a2e8d69
dynare_estimation_1.m: move display and storing of classical smoother to separate function
2023-09-25 12:08:40 +02:00
Sébastien Villemot
6f5e346bf6
Merge branch 'preparations_irf_matching' of git.dynare.org:wmutschl/dynare
...
Ref. !2181
2023-09-20 10:17:14 +02:00
Johannes Pfeifer
f6a8473144
estimation: support additional_optimizer_steps
...
Closes https://git.dynare.org/Dynare/dynare/-/issues/1573
2023-09-19 18:14:24 +02:00
Willi Mutschler
c8be1a3274
Refactor mode_check codes
2023-09-19 13:26:33 +02:00
Willi Mutschler
a41fbdefbc
estimation: more flexible handling of displayed string in command window
...
Also removed estim_params_ as unused input argutment to CutSample
2023-09-19 13:26:33 +02:00
Willi Mutschler
2e742462b3
Rename McMCDiagnostics and McMCDiagnostics_core
2023-09-08 09:44:43 +02:00
Willi Mutschler
6941bd5516
Factorize estimation: wrapper for tune_mh_jscale
2023-09-07 09:36:27 +02:00
Willi Mutschler
c356db4531
Factorize estimation: set_mcmc_jumping_covariance
2023-09-07 09:36:27 +02:00
Willi Mutschler
aa99eff81d
Factorize estimation: set_mcmc_prior_bounds
2023-09-07 09:36:27 +02:00
Willi Mutschler
c21f75887d
Factorize estimation: check_hessian_at_the_mode
2023-09-07 09:36:27 +02:00
Willi Mutschler
dd2c816df0
compute_mh_covariance_matrix: remove globals
2023-09-07 09:36:27 +02:00
Willi Mutschler
960c075420
Replace "Estimation::mcmc::" by a variable
...
This enables re-using estimation functions for other Bayesian estimation routines such as Bayesian method_of_moments and printing it nicer to the console.
2023-09-07 09:36:27 +02:00
Marco Ratto
63a299f64e
new error codes introduced and applied for occbin smoother.
...
- 321 when simulation within occbin smoother fails
- 322 when occbin smoother does not converge.
2023-02-06 14:58:42 +01:00
Stéphane Adjemian (Ryûk)
b7693c3273
Add routine for conditional likelihood (first order).
2023-01-06 14:57:45 +01:00
Johannes Pfeifer
26fbc6c56d
IVF: improve error handling
2022-11-23 16:46:40 +01:00
Johannes Pfeifer
4d603fb335
OccBin Smoother: do not write non-converged results to oo_
...
Closes https://git.dynare.org/Dynare/dynare/-/issues/1863
2022-11-16 17:13:08 +01:00
Johannes Pfeifer
6872d8b0d1
Various cosmetic fixes
2022-08-31 14:58:00 +02:00
Johannes Pfeifer
9bc71dffde
dynare_estimation_1.m: fix typo
2022-07-26 14:36:25 +02:00
Sébastien Villemot
c06be7fefd
Octave 7 fixes bug in mkdir which now creates parent directory
2022-04-20 10:36:56 +02:00
Sébastien Villemot
10af04c6d8
Use Unicode copyright symbol (in UTF-8 encoding) in all source files
...
It is now supported by the MATLAB editor (as of R2022a).
The old ASCII notation is left in some files that we copy as-is from other
sources (e.g. in the contrib/ and m4/ subdirectories).
The particles submodule is not updated at this point, because it is in an
inconsistent state.
[skip ci]
2022-04-13 14:54:25 +02:00
Johannes Pfeifer
217de5084c
check_posterior_sampler_options: make global variable an input
...
Does not properly work for scale_file-option as caller has variable not global
2022-02-02 16:20:12 +01:00
Johannes Pfeifer
3dc398f590
dynare_estimation_1.m: improve comment on Hessian recomputation
2021-12-14 11:22:41 +01:00
Johannes Pfeifer
5f732803d8
dsge_var: pass data moments as function inputs instead of via base workspace
...
going via base prevents parallel execution
2021-12-10 12:01:07 +01:00
Johannes Pfeifer
c1483b4c61
Restore backward-compatibility when using load_mh_file
...
estim_params_ needs to be saved following 6e06acc7
2021-10-13 18:01:15 +02:00
Johannes Pfeifer
6abc984d5e
Fix mh_posterior_mode_estimation option
...
Closes https://git.dynare.org/Dynare/dynare/-/issues/1044
2021-09-22 10:00:47 +02:00
Sébastien Villemot
ff06b9ad10
More Octave compatibility fixes
2021-09-15 18:35:30 +02:00
Johannes Pfeifer
440a0e460b
Storage of results: use subfolder
...
Ref. #1758
2021-07-23 14:12:17 +02:00
Johannes Pfeifer
80cad32068
Particle filter: enable passing of option values and prepare for other samplers
2021-07-21 23:00:32 +02:00
Marco Ratto
02072dde39
Add Occbin routines
...
Syntax is not yet finalized (see preprocessor#68).
Documentation still to be done.
Ref. #569
2021-07-16 17:20:11 +02:00
Johannes Pfeifer
f7a232061a
Remove unused options_-output
...
Prevents accidentally changing something
2021-06-22 18:17:11 +02:00
Sébastien Villemot
766fff88f6
Use secure URL for link to GNU licenses
2021-06-09 17:35:05 +02:00
Marco Ratto
5c3b0ebc95
better handle newrat options, avoiding to treat newratflag in two places
2021-02-13 16:44:50 +01:00
Marco Ratto
b9a6462462
bug fix in trapping option newratflag
2021-02-12 18:54:07 +01:00
Johannes Pfeifer
96b1ca3bee
mr_hessian.m: honor Save_files option
2021-01-27 21:38:03 +01:00
Sébastien Villemot
09f992d584
Merge branch 'moments_varendo' of git.dynare.org:JohannesPfeifer/dynare
2021-01-25 18:18:46 +01:00
Sébastien Villemot
992e375bfa
Merge branch 'use_mh_covariance' of git.dynare.org:JohannesPfeifer/dynare
2021-01-25 18:16:23 +01:00
Johannes Pfeifer
c27c4fd932
moments_varendo: delete stale files from previous runs
2021-01-25 15:55:10 +01:00
Johannes Pfeifer
de16e9c00a
dynare_estimation_1: restore exiting with mode_compute=0 and order=1
2021-01-22 21:19:07 +01:00
Johannes Pfeifer
417f038cc5
Particle filters: do not compute Kalman smoother
...
Related to https://git.dynare.org/Dynare/dynare/-/issues/1757
2021-01-22 21:19:07 +01:00
Johannes Pfeifer
731a168f69
Make mh_tune_jscale work with use_mh_covariance_matrix
2021-01-22 15:01:23 +01:00
Johannes Pfeifer
ea03868a6b
mode_compute=0: run dyn_forecast after smoother when forecast > 0
2021-01-10 19:46:18 +01:00
Johannes Pfeifer
da3943beba
Make sure output is saved in dname-folder
...
That's where other functions are looking for them
2020-12-16 22:41:55 +01:00
Sébastien Villemot
6a6271225c
Merge branch 'minimize_objective' into 'master'
...
Minimize objective
See merge request Dynare/dynare!1737
2020-07-07 09:35:39 +00:00
Johannes Pfeifer
e92054e16b
Move definition of prior distribution names to separate function to make it useable in other contexts.
2020-06-26 12:07:16 +02:00
Johannes Pfeifer
4a9f9263df
Make newrat and gmhmaxlik independent of varargin inputs
...
Makes the optimizers useable in other contexts where varargin is different
2020-06-23 15:04:11 +02:00