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
Johannes Pfeifer
94ef60556e
Account for loglinear option when reading in M_.endo_histval
...
(cherry picked from commit d088420c21eba397459015b6a957c7eff7eafc36)
2017-03-20 09:37:58 +01:00
Johannes Pfeifer
9543f3b3ae
Add missing line break in stoch_simul.m
2016-11-03 18:02:03 +01:00
Johannes Pfeifer
0d7d63fe9b
Fix duplicate TeX-label for IRFs
2016-08-23 17:22:41 +02:00
Johannes Pfeifer
46450c6f1f
Change textwidth depending on number of subplots
...
Prevents overblown figures
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
9b82c72e4f
Remove global options structure from dyntable
2016-06-14 11:52:17 +02:00
Johannes Pfeifer
f851252b25
Pass options_ to dyn_latex_table.m to make it honor noprint option
2016-06-14 11:52:17 +02:00
Houtan Bastani
b454c28096
fix latex compilation on linux. #1207
2016-06-14 11:37:16 +02:00
Houtan Bastani
ccb197e74f
fix copyright dates
2016-05-09 12:42:58 +02:00
Michel Juillard
7e13fe5ef7
fix loglinear option with leaded or lagged exogenous variables
2016-05-05 20:41:02 +02:00
Johannes Pfeifer
94fe1de08a
Make sure loglinear option correctly set logged_steady_state option for use in stoch_simul.m
2016-03-23 10:48:27 +01:00
Johannes Pfeifer
14a15ec68b
Make sure options_-field logged_steady_state is correctly set in stoch_simul.m
2016-03-23 10:48:24 +01:00
Johannes Pfeifer
de4d90f88e
Make sure oo_.logged_steady_state is always correctly set
2016-03-23 10:35:59 +01:00