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
Johannes Pfeifer
40877685f2
Add LaTeX-output option to table from stoch_simul.m
2015-10-12 20:42:04 +02:00
Johannes Pfeifer
38d293b864
Replace globals in disp_th_moments.m by function arguments
2015-10-12 20:42:03 +02:00
Johannes Pfeifer
a524681e40
Replace globals in disp_moments.m by function arguments
2015-10-12 20:42:00 +02:00
Johannes Pfeifer
a4b04ca9b4
Fix UnivariateSpectralDensity.m for filtered variables
...
- Adds bandpass filter
- Writes results to oo_
2015-10-12 20:41:59 +02:00
Johannes Pfeifer
9b6d7dc68a
Make irf_plot_threshold consistent with manual
...
IRFs smaller and not smaller equal should not be displayed
2015-08-14 12:36:08 +02:00
MichelJuillard
f94910173d
Merge pull request #937 from JohannesPfeifer/graph_fix
...
Various fixes related to graphs and eps-TeX-loaders
2015-07-20 14:36:20 +02:00
Johannes Pfeifer
bcc1008d3d
Only create eps-loaders if eps-figures have been created (leaves table TeX-output unaffected)
2015-06-08 17:57:15 +02:00
Johannes Pfeifer
ccbb5fa7fb
Fix relative_irf option for higher order
...
Ex-post scaling is only allowed if linearity holds
2015-06-08 16:39:07 +02:00
Houtan Bastani
60b3577a09
avoid call to dyn2vec in stoch_simul when the minimal_workspace option is passed, closes #946
2015-05-28 11:53:50 +02:00