Commit Graph

196 Commits (7dd2dd5e24a343fbeaf3522ea5e535c27d8b9f95)

Author SHA1 Message Date
Marco Ratto 2279529851 fixed bug in sampling in the neighborhood of a critical point 2022-05-24 15:08:50 +02:00
Johannes Pfeifer b037bc9438 GSA sampling from prior range: replace infinity by huge number to avoid NaN 2022-05-17 18:29:42 +02:00
Johannes Pfeifer 9f265c5b5b stab_map_.m: remove redundant and commented out code to make file readable 2022-05-17 18:29:05 +02:00
Sébastien Villemot 418a8ebb5f
Drop steady_.m which is only a thin wrapper around evaluate_steady_state
As a consequence, move the sanity checks inside evaluate_steady_state, where
they make more sense.
2022-04-29 15:14: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 e754ec158c
stab_map_.m: move saved file to subfolder´ 2021-09-21 17:25:35 +02:00
Johannes Pfeifer cba00755b1 stab_map_2.m: Only do skipline if actual printing happens 2021-08-31 11:13:37 +02:00
Johannes Pfeifer 440a0e460b
Storage of results: use subfolder
Ref. #1758
2021-07-23 14:12:17 +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
Sébastien Villemot 49dc997073
Global reindentation of MATLAB code (excluding submodules)
Also convert to Unix end-of-lines, and remove trailing whitespaces.
2019-12-20 16:30:27 +01: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
Marco Ratto 8713e46c4e fixed bug with non-increasing time declarations of moment restrictions. Modified example to get more sensible graph of ACF.
(cherry picked from commit b0e7c47a000a679420970f1d05e4f2ed7d60764c)
2019-01-17 09:26:37 +00:00
Johannes Pfeifer 30361ccb49 GSA scatter plots: Correctly pass LaTeX-names to figure 2018-11-14 18:37:54 +01:00
Johannes Pfeifer 022913579a map_calibration.m: Fix bug that prevented display of restrictions 2018-11-14 18:37:05 +01:00
Sébastien Villemot 7a75872f72
Modernization: use tilde (~) syntax for ignored output arguments 2018-11-13 18:02:09 +01:00
Marco Ratto ec35210e06 - bug fix for when NO parameter is detected below pvalue threshold
- fix to the case when no plot is done when there are too few behavioral/non-behavioral runs [as it already happens when one of the two sets is empty]
- added more explicit messages on screen
2018-01-12 10:04:57 +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 ce4d8c3544 Cosmetic fix to error message 2017-11-28 10:27:43 +01:00
Stéphane Adjemian (Charybdis) 1bf81c9f5a Fixed copyright notices. 2017-05-18 18:36:38 +02:00
Stéphane Adjemian (Charybdis) 5417b27ac7 Fixed indentation of matlab files. 2017-05-16 15:10:20 +02:00
Stéphane Adjemian (Charybdis) a53636e24e Fixed copyright notices. 2017-05-16 14:11:15 +02:00
Stéphane Adjemian (Charybdis) 88e1701289 Removed useless commas and semicolons. 2017-05-16 13:24:46 +02:00
Johannes Pfeifer 451646ff16 Remove redundant ksstat option
Closes #1431
2017-04-27 11:08:17 +02:00
Houtan Bastani 7315b5ae73 fix bug in merge commit e103462050 2017-03-24 18:11:45 +01:00
Houtan Bastani e103462050 Merge remote-tracking branch 'rattoma/gsa' 2017-03-24 16:19:44 +01: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
Marco Ratto c60379ae96 upgrade call to evaluate_smoother 2017-03-22 23:32:19 +01:00
Marco Ratto 1db86865f7 better trap missing input arguments 2017-03-22 23:24:41 +01:00
Stéphane Adjemian (Charybdis) 6c21d44968 Fixed encoding.
For a non identified an enconding issue was leading scatter_plots function to crash...
2017-03-18 16:28:30 +01:00
Marco Ratto d1550293bf bug fix for the rare case where r2 does not change for some observable 2017-03-18 10:27:36 +01:00
Marco Ratto 576b2d0f85 end-of-line fix 2017-03-18 10:27:36 +01:00
Marco Ratto 0845aa8430 Fixed header and license of GSA. 2017-03-18 10:27:36 +01:00
Marco Ratto a40a854a59 Set copyright for pick.m 2017-03-18 10:27:36 +01:00
Marco Ratto 0f07d17d8c Introduced scatter plot analysis of output results, borrowing from by GLUWIN toolbox. 2017-03-18 10:27:36 +01:00
Marco Ratto a47f6fc2ca - save also info on selected endo names
- bug fix for one single endo variable
- when nograph, no older plot is deleted
2017-03-18 10:27:36 +01:00
Marco Ratto a5a086040b Bug fixes for latex and to new smooth* files saved by posterior sampler 2017-03-18 10:27:36 +01:00
Johannes Pfeifer 2f717b5adc Eliminate global variables from shock_decomposition.m 2016-12-18 09:57:51 +01:00
Houtan Bastani f5a14cc537 octave: add .mat extension to save command 2016-09-28 16:33:46 +02:00
Houtan Bastani de13e98791 octave expects the first argument of strmatch to be a string 2016-09-27 16:49:16 +02:00
Houtan Bastani 2a6b3caa34 when saving, use .mat file extension because Octave doesn’t support it by default 2016-09-26 11:00:41 +02:00
Johannes Pfeifer 894090e6be Add missing 1 to min operator in TeX_loader 2016-08-23 17:22:41 +02:00
Johannes Pfeifer 68e32e8e25 map_calibration.m: Remove manual setting of xticks
Clutters x-axis too much
2016-08-23 17:22:41 +02:00
Johannes Pfeifer eaaa0e5045 Fix TeX-names in GSA when mapping is over all parameters, not just structural ones 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 73afe7d02f Change fixed LaTeX figure width into \textwidth scaling
Improves readability
2016-08-23 17:22:41 +02:00
Marco Ratto bf293396b6 Harmonize FilteredVariables with Updated and Smoothed ones, by adding steady state to stored values, both point estimate and MCMC
(cherry picked from commit fd0d7d6d27a7937b135521c4dd76d7fa242d89ab)
2016-07-01 20:40:17 +02:00
Stéphane Adjemian 3ae44efbea Merge pull request #1218 from rattoma/gsa
Allow Screening with neighborhood_width sampling.
2016-06-16 22:18:39 +02:00
Stéphane Adjemian (Hermes) 473d335851 Fixed bug (wrong structure names). 2016-06-15 00:35:40 +02:00