Commit Graph

114 Commits (beb7d42d748f9f0f5216ed7aca93dceb4f73df2c)

Author SHA1 Message Date
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
Johannes Pfeifer 781e280610 Prevent crash if steady state cannot be computed
If e.g. the log of the steady state cannot be computed, the field oo_.dr.ys does not exist
2015-03-25 09:42:59 +01:00
Houtan Bastani bdb6a2602e preprocessor: ensure that options_.k_order_solver = 1 when order >= 3, closes #844 2015-02-10 03:39:18 +01:00
Stéphane Adjemian (Scylla) 66d08ac3bf Merge branch 'master' into use-dynSeries
Conflicts:
	matlab/dynare_estimation_init.m
	matlab/global_initialization.m
	matlab/prior_posterior_statistics.m
	matlab/read_variables.m
	matlab/set_prior.m
	matlab/utilities/dataset/initialize_dataset.m
	preprocessor/ComputingTasks.cc
2014-04-30 10:10:30 +02:00
Johannes Pfeifer 13df4979d8 Make error message for insufficient simulation length more informative. 2014-03-03 19:50:25 +01:00
Johannes Pfeifer 8ef4e45eaf More explicit commenting of stoch_simul.m related to loglinear option 2014-01-30 09:09:25 +01:00
Johannes Pfeifer 15f0353d02 Make sure repeated runs of stoch_simul.m with loglinear option do not crash due to logged steady state 2014-01-29 19:52:20 +01:00
Johannes Pfeifer 3da8e92aa5 Fix option loglinear for stoch_simul.m by also logging steady state.
Must be done to assure correct simulations and output of moments. Cannot be done in the solver itself as estimation performs logging of steady state also outside of solver
2014-01-29 19:39:00 +01:00
Johannes Pfeifer dfd9e3819b Filter out use of loglinear with simulated moments
Does not work because steady state is not logged
2014-01-29 19:20:52 +01:00
Johannes Pfeifer c9ebe21faf Harmonize plotting of IRFS
In stoch_simul.m IRFs were only printed if they were not flat instead of checking whether the IRF is different from 0. Unit root responses were thus filtered out, e.g. C=0.2 for all t was not displayed.
2013-12-05 17:46:38 +01:00
Sébastien Villemot d8d0f2b8cc Revert cosmetic change of 4fa2d5b 2013-11-29 23:09:51 +01:00
Stéphane Adjemian (Scylla) 4fa2d5b8e9 Added comments and cosmetics. 2013-11-28 10:57:54 +01:00
Stéphane Adjemian (Scylla) ee91c7654f Return a human readable message error if order=0 (stoch_simul). 2013-11-28 10:51:20 +01:00
Johannes Pfeifer fe24f80066 Add debugging information for not displayed IRFs due to size 2013-10-12 10:42:16 +02:00
Johannes Pfeifer 65a16fd293 Allow users to determine the threshold below which IRFs are suppressed.
- Prepares moving future IRF options to a substructure
- Adds new option for determining threshold
- Harmonizes threshold values across estimation and stoch_simul
- Fixes some header typos
2013-10-12 10:38:47 +02:00
Johannes Pfeifer 4b060c47d2 Add more information when IRFs are not displayed due to explosive simulations 2013-10-02 09:50:31 +02:00
Stéphane Adjemian (Charybdis) ddce110bf2 Merge branch 'master' into use-dynSeries 2013-09-10 22:26:12 +02:00
Johannes Pfeifer ea5ee4722b Reintroduces nofunctions option mentioned in the manual that got somehow lost 2013-09-10 16:35:50 +02:00
Stéphane Adjemian (Charybdis) 907e087ea9 Consider options_.varobs as a cell of strings. 2013-09-07 16:39:04 +02:00
Stéphane Adjemian (Charybdis) 4052d4ccaf Cosmetic changes. Use skipline() instead of disp(' '). 2013-07-10 17:12:34 +02:00
Stéphane Adjemian (Charybdis) cb2228acad Merge branch 'master' into experimental-mjdgges-threshold 2013-06-12 17:27:25 +02:00