Johannes Pfeifer
a00eb5e1de
stoch_simul.m: add nomodelsummary option
2023-10-11 09:31:40 -04:00
Johannes Pfeifer
cbf57b1af6
set_state_space.m: remove unused options_ input argument
2023-10-11 09:30:45 -04: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
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
4fa5df0c24
simult.m: remove oo_ as input and output
2023-09-25 12:08:47 +02:00
Willi Mutschler
649f668dd1
cosmetical: don't use hh for figure/plot/table handles
...
We use it to denote the hessian and even store it in many mat files.
2023-09-19 13:26:33 +02:00
Sébastien Villemot
a0ea6005e8
Merge branch 'dynare-globals'
...
Ref. !2167
2023-09-11 16:43:36 +02:00
Johannes Pfeifer
3a851dd8f3
disp_dr.m: remove globals
2023-09-08 14:42:38 +02:00
Johannes Pfeifer
290f19c705
resol + stoch_simul.m: header fixes
...
Also makes global naming consistent
2023-09-08 11:59:37 +02:00
Johannes Pfeifer
d386bb9f76
Cholesky decomposition: only add to diagonal if really necessary
...
Closes #1891
2023-06-23 11:26:14 -04:00
Johannes Pfeifer
ed7fe89bfa
Remove unused exo_names_orig_ord
2023-06-23 08:41:12 -04:00
Johannes Pfeifer
be2dd4456d
getIrfShocksIndx.m: replace global variables by inputs
2022-09-21 09:27:43 +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
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
Johannes Pfeifer
c304dea35f
stoch_simul.m: filter out mcp-tag solvers
2021-01-26 11:40:46 +01:00
Sébastien Villemot
f946baf6c5
Testsuite: add workaround for crash of MATLAB R2014a with TeX option
...
The TeX option crashes MATLAB R2014a run with "-nodisplay" option
(as is done from the testsuite). We disable the TeX option in that case.
Since we can’t directly test whether "-nodisplay" has been passed, we test for
the "TOP_TEST_DIR" environment variable, which is set by the testsuite.
Note that it was not tested whether the crash happens with more recent MATLAB
versions, so when OLD_MATLAB_VERSION is increased, one should make a test
before removing this workaround.
2021-01-19 15:50:11 +01:00
Sébastien Villemot
5deaca993b
Merge branch 'discretion' of git.dynare.org:JohannesPfeifer/dynare
2020-12-22 12:29:38 +01:00
Johannes Pfeifer
4b793da2c3
discretionary_policy: allow for non-linear model to be used
2020-12-18 18:22:39 +01:00
Sébastien Villemot
ec8ea32b3e
Merge branch 'dname' of git.dynare.org:JohannesPfeifer/dynare
2020-12-18 15:43:30 +01:00
Johannes Pfeifer
4cf9f7d1a7
stoch_simul.m: reports second moments based on pruned state space at order=2 when pruning is specified
...
Related to https://git.dynare.org/Dynare/dynare/-/merge_requests/1744
2020-12-17 09:45:28 +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
4913cfb3f0
Merge branch 'third_order_moments' into 'master'
...
Add display of theoretical moments at order=3 with pruning
See merge request Dynare/dynare!1744
2020-06-30 14:38:22 +00:00
Johannes Pfeifer
dfc7357636
Add display of theoretical moments at order=3 with pruning
2020-06-30 13:46:54 +02:00
Johannes Pfeifer
6e06acc7f4
Fix moment computation with Measurement errors
...
- check logic for M_.H was faulty
- M_.H was not updated in posterior sampling
2020-06-29 13:20:02 +02:00
Johannes Pfeifer
312d053ae1
Use LaTeX labels in figures
2020-06-17 21:48:25 +02:00
Houtan Bastani
eb6ab0696a
gui: added fields to `oo_` to indicate which commands have been run
2020-03-03 11:45:46 +01:00
Sébastien Villemot
3c30d9f658
Merge branch 'M_output' of git.dynare.org:JohannesPfeifer/dynare
2020-02-25 16:37:02 +01:00
Johannes Pfeifer
97f7b773e5
stoch_simul.m: Make sure graphs folder exists before creating eps-loader
2020-02-24 16:13:44 +01:00
Johannes Pfeifer
3cf622cdc1
Output M_ in stoch_simul.m and discretionary_policy.m
...
Fixes https://git.dynare.org/Dynare/dynare/issues/1711 together with https://git.dynare.org/Dynare/preprocessor/-/merge_requests/15
2020-02-24 14:14:41 +01:00
Sébastien Villemot
59e11615a0
Discretionary policy: preparatory work for estimation
...
This removes global variables from discretionary_policy_1.m, and also adapts
the behaviour and interface of the function so that it is similar to
resol.m (in particular, it no longer returns an empty “dr” in case of failure,
and it sets “oo_.dr”).
Ref. #1173
2020-02-03 18:05:29 +01:00
Sébastien Villemot
ce4aa9a8e1
Preprocessor update
...
— deprecation warning for “simul” (#1683 )
— Ramsey: use information from transformed model for filling
M_.nonzero_hessian_eqs. (Closes : #1681 )
Also, M_.hessian_eq_zero is not generated if order = 1
— New field M_.endo_trends (#1648 )
2019-12-13 18:22:12 +01:00
Johannes Pfeifer
8e5fd8dc4e
Move creation of subfolder outside of TeX-check
...
Required if we only want the figure
2019-11-21 11:58:16 +01:00
Johannes Pfeifer
a59534a284
Move remaining figures and related TeX output from main folder to graphs
2019-11-21 10:14:48 +01:00
Houtan Bastani
6ddf87aa92
stoch_simul: save var_list in oo_. closes #1646
2019-09-12 15:02:18 +02:00
Houtan Bastani
e043c60903
pass M_, options_, oo_ as arguments to stoch_simul, simult_, discretionary_policy. closes dynare#1197
2019-09-12 11:57:01 +02:00
Houtan Bastani
f118970736
remove unnecessary eval statements
2019-09-12 11:55:05 +02:00
Johannes Pfeifer
031632edd3
stoch_simul.m: provide informative error message if no varexo have been defined
2019-09-10 09:23:49 +02:00
Sébastien Villemot
89a3e94cbf
Use true/false instead of 1/0 for boolean options
...
This is more elegant, and makes it easier to distinguish them from integer
options.
Also simplify test expressions for these boolean options.
2019-03-19 15:21:16 +01:00
Stéphane Adjemian (Charybdis)
d81545941e
Cosmetic changes.
2019-02-25 14:54:57 +01:00
Stéphane Adjemian (Charybdis)
d6e6b29620
Removed unused global it_.
2019-02-25 14:54:57 +01:00
Stéphane Adjemian (Charybdis)
84cdf6d142
Removed unnecessary square brackets.
2019-02-25 14:54:56 +01:00
Stéphane Adjemian (Scylla)
7be8f10e0e
Use cells of strings instead of char arrays.
2018-01-09 22:30:01 +01:00
Johannes Pfeifer
a1222a1d1b
Implement variance decomposition with measurement error
2017-10-05 11:33:17 +02:00
Johannes Pfeifer
0f84dadb9a
Reset order=1 for all of stoch_simul.m if the Hessian is 0
...
Prevents various crashes where functions called rely on fields existing at order>1
2017-10-04 11:34:31 +02:00
Stéphane Adjemian (Charybdis)
5417b27ac7
Fixed indentation of matlab files.
2017-05-16 15:10:20 +02:00
Stéphane Adjemian (Charybdis)
88e1701289
Removed useless commas and semicolons.
2017-05-16 13:24:46 +02:00
Johannes Pfeifer
c373ed3897
Make sure varlists are correctly updated after removal of doubly defined variables via varlist_indices.m
...
Otherwise the mapping between i_var and varlist does not match anymore (results in e.g. wrong display of IRFs)
2017-05-14 11:03:05 +02:00
Houtan Bastani
e5f1d20221
change dyn_figure to take a nodisplay and graph_format arguments as opposed to options_. closes #1415
2017-03-23 17:59:05 +01:00
Houtan Bastani
2aa85f978a
change dyn_figure to take a nodisplay argument as opposed to options_. #1415
2017-03-23 14:30:16 +01:00