Johannes Pfeifer
709ef9230f
get_the_name.m: do not pass full options structure as input
2023-12-07 12:11:38 +01:00
Sébastien Villemot
72ac69eb97
Octave compatibility: mean(…, 'omitnan') implemented in Octave 8
2023-11-22 16:55:25 +01:00
Sébastien Villemot
7f58e819c6
Bump minimal required version of MATLAB to R2018b
...
Ref. #1907
2023-11-22 16:00:04 +01:00
Johannes Pfeifer
b3ce518433
Further naming consistency improvements
2023-10-25 11:22:50 +02:00
Johannes Pfeifer
cbf57b1af6
set_state_space.m: remove unused options_ input argument
2023-10-11 09:30:45 -04:00
Johannes Pfeifer
94207ab851
🐛 check_for_calibrated_covariances.m: correct logic of check
...
Did not properly distinguish between unset correlation and starting value of 0
2023-10-11 09:26:04 -04:00
Johannes Pfeifer
f34653b0f7
mom.objective_function.m: remove unused input
2023-10-02 09:22:36 +02:00
Johannes Pfeifer
fa29689b13
mom.get_data_moments.m: do not pass full oo_ structure
2023-10-02 09:19:29 +02:00
Johannes Pfeifer
acb9518dec
get_perturbation_params_derivs and friends: do not pass full oo_ structure
2023-10-02 09:18:58 +02:00
Sébastien Villemot
0e5bba7567
Testsuite: fix workaround for TeX option with MATLAB R2014a
...
MATLAB R2014a run with -nodisplay crashes with the TeX option. A workaround was
introduced in commit f946baf6c5
. The present
commit updates this workaround following the move to the Meson build system.
By the way, use consistent variable naming in tests/run_mod_file.m.
2023-09-28 15:17:00 +02:00
Johannes Pfeifer
6d8927775b
Remove unused steadystate_partial option and related inline function restricted_steadystate.m
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
Willi Mutschler
330b10ec85
cosmetical changes to headers and comments
2023-09-19 13:26:33 +02:00
Willi Mutschler
c8be1a3274
Refactor mode_check codes
2023-09-19 13:26:33 +02:00
Sébastien Villemot
43af789eda
Merge branch 'csminwel' of git.dynare.org:JohannesPfeifer/dynare
...
Ref. !2172
2023-09-13 11:31:56 +02:00
Johannes Pfeifer
2473b57782
Correct Johannes's old Cologne email
2023-09-12 21:07:57 +02:00
Johannes Pfeifer
ac0ecde1d9
mom: fix incorrect options-reference
2023-09-12 19:24:32 +02:00
Johannes Pfeifer
3895da48a1
🐛 Enable analytic_derivation for csminwel
...
Requires column vector output
2023-09-12 13:26:25 +02:00
Willi Mutschler
a0b443b9f8
Cosmetical changes to headers and message strings
2023-09-07 09:36:27 +02:00
Willi Mutschler
777ec76536
method_of_moments: cosmetical changes to cleanup
2023-09-07 09:36:27 +02:00
Willi Mutschler
55dc4a00d5
method_of_moments: refactor displaying of moments
2023-09-07 09:36:27 +02:00
Willi Mutschler
e025d56a59
method_of_moments: refactor J-Test
2023-09-07 09:36:27 +02:00
Willi Mutschler
07b62fe554
method_of_moments: refactor iterated GMM/SMM estimation
2023-09-07 09:36:27 +02:00
Willi Mutschler
9dc4878f9f
method_of_moments: refactor printing of info to a utility function
2023-09-07 09:36:27 +02:00
Willi Mutschler
e52c007d8b
method_of_moments: cosmetical changes to checks for objective function at initial parameters
2023-09-07 09:36:27 +02:00
Willi Mutschler
fb326638f9
method_of_moments: remove redundant noconstant option check
2023-09-07 09:36:27 +02:00
Willi Mutschler
e170b64713
method_of_moments: refactor steady-state check utility functions
...
Reuse same functions from full-information estimation command
2023-09-07 09:36:27 +02:00
Willi Mutschler
b737d46d61
method_of_moments: cosmetical changes to smm shock series
2023-09-07 09:36:27 +02:00
Willi Mutschler
9914d764c2
method_of_moments: refactor data moments computation
...
Also rename function to not confuse this with the variable stored in oo_.mom.datamoments.
2023-09-07 09:36:27 +02:00
Willi Mutschler
c0cae0ebaa
method_of_moments: cosmetical changes to mom.objective function
2023-09-07 09:36:27 +02:00
Willi Mutschler
0cd65df72a
method_of_moments: add warnings for problematic prior stderr/corr and value
...
Also moved oo_.prior to oo_.mom.prior
2023-09-07 09:36:27 +02:00
Willi Mutschler
017b4f05f6
method_of_moments: cosmetical changes on estimated params initializations
2023-09-07 09:36:27 +02:00
Willi Mutschler
1ef026dc9d
method_of_moments: factorize correct bounds for stderr and corr
2023-09-07 09:36:27 +02:00
Willi Mutschler
180b92cb1e
method_of_moments: refactor penalized estimation with laplace prior
2023-09-07 09:36:27 +02:00
Willi Mutschler
c3327e000c
method_of_moments: refactor matched moments block transformations
2023-09-07 09:36:27 +02:00
Willi Mutschler
0487dd4a77
method_of_moments: refactor and function for default options & initializations
...
Also changed:
- options_mom_.vector_output to options_mom_.mom.vector_output
- optimizer_vec to options_mom_.optimizer_vec
- oo_.dr.obs_var to oo_.mom.obs_var
2023-09-07 09:36:27 +02:00
Willi Mutschler
f25188cf2f
method_of_moments: improved header
2023-09-07 09:36:27 +02:00
Sébastien Villemot
37870e4a40
evaluate_steady_state: accept exogenous steady state as argument instead of whole oo_ structure
...
This is a move towards a more functional programming style.
2023-06-07 17:58:19 +02:00
Johannes Pfeifer
43978cada3
mom.optimal_weighting_matrix.m: assure symmetry of W_opt
2022-09-16 11:15:15 +02:00
Johannes Pfeifer
0bc9a163b2
mom.standard_errors.m: provide more informative error message when hitting bounds during finite difference step
2022-05-12 09:51:21 +02:00
Sébastien Villemot
ec5468c431
Octave 7 compatibility fix: suppress spurious warnings
...
In this version of Octave, “warning on” really enables all warnings (while this
was not the case in Octave 6, suprisingly; I think this used to be different
with even older Octave releases).
We therefore need to explicitly disable the Octave:array-as-logical warnings,
that is triggered by some internal Octave functions.
We also need to be careful to call “warning_config” instead of “warning on”
when restoring warnings to their default state.
2022-04-15 14:32:54 +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
176baa2215
MoM: fix reading of XLS-files by assigning sheet info to base workspace
...
Closes https://git.dynare.org/Dynare/dynare/-/issues/1840
2022-03-30 09:59:36 +02:00
Johannes Pfeifer
f3bf8fb814
MOM: add missing debug option
2022-03-24 15:28:03 +01:00
Johannes Pfeifer
b5dc90b311
mom: add missing trust_region_initial_step_bound_factor option
2022-02-18 00:50:08 +01:00
Johannes Pfeifer
05519aaaa1
mom: add missing verbosity option
2022-02-18 00:48:39 +01:00
Johannes Pfeifer
4ccc7c7262
mom.objective_function.m: fix field naming
2022-02-03 15:12:46 +01:00
Sébastien Villemot
adb4007bda
Merge branch 'smm_lsqnonlin' of git.dynare.org:JohannesPfeifer/dynare
...
Ref. !1998
2022-02-03 09:24:37 +01:00
Johannes Pfeifer
57eda3886d
SMM: fix logic for check of vector output
2022-02-02 13:27:46 +01:00
Johannes Pfeifer
4ef4b929d5
mom: fix error message if matched_moments-block is missing
2022-01-25 16:26:12 +01:00