Commit Graph

48 Commits (c3b9c499baeb4422da58868e625ee0d5c7a499d3)

Author SHA1 Message Date
Johannes Pfeifer c3b9c499ba
GSA: more fixes to LaTeX output 2023-12-07 12:18:00 +01:00
Johannes Pfeifer fca782f8e4
Correct LaTeX output by disentangling purpose of input arguments 2023-12-07 12:11:38 +01:00
Johannes Pfeifer 709ef9230f
get_the_name.m: do not pass full options structure as input 2023-12-07 12:11:38 +01:00
Johannes Pfeifer dce0967deb
GSA: replace deprecated hist() syntax under MATLAB 2023-12-07 12:11:38 +01:00
Johannes Pfeifer bf6d88a472
Remove globals from identification and GSA
Incidentally cleans up files and fixes LaTeX output
2023-12-07 12:11:36 +01:00
Johannes Pfeifer f218127220 GSA: remove globals from various routines 2023-12-04 12:07:46 +01: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 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
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
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
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
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 0845aa8430 Fixed header and license of GSA. 2017-03-18 10:27:36 +01: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
Johannes Pfeifer dc1c5f182c Make gsa function correctly extract parameter (TeX) names 2016-06-14 11:53:38 +02:00
Houtan Bastani b454c28096 fix latex compilation on linux. #1207 2016-06-14 11:37:16 +02:00
Johannes Pfeifer 161f674dd9 Fix two TeX loaders where apostrophe was missing 2016-05-20 12:43:52 +02:00
Houtan Bastani ccb197e74f fix copyright dates 2016-05-09 12:42:58 +02:00
Marco Ratto 0e402fa7e9 Filter out cases where too few samples are available for ANOVA estimation 2016-05-05 16:11:53 +02:00
Stéphane Adjemian 313ffb5f32 Merge pull request #1116 from JohannesPfeifer/Latex_cosmetics
Various improvements to LaTeX output
2015-12-15 17:22:00 +01:00
Johannes Pfeifer e5894c4157 Add eps-loaders to GSA output 2015-12-14 14:09:37 +01:00
Stéphane Adjemian (Charybdis) a1aa2bcd6e Changed second input of prior_bounds routine.
Do not pass options_ structure but only the required field (prior_trunc).
2015-12-11 18:50:54 +01:00
Marco Ratto 57e9b9fa8b Revived reduced form mapping routine:
1) use new mcf_analysis.m;
2) use generic filtering when threshold does not work;
3) make log-tranformed mapping meaningful and comparable to baseline;
3) harmonize names of files saved and reduced number of directories created;
2015-04-16 16:13:16 +02:00
Stéphane Adjemian (Karaba) f48566aeae Fixed prior bounds (according to the doc in master branch).
* Second  and  third  positional  arguments  after the  name  of  the
   estimated  parameter   in  the  estimated_params   block  are  only
   considered in the optimization stage (not in the MCMC)

 * Do not  store bounds  in bayestopt_, because  bounds do  not always
   reflect restrictions implied by prior shapes.

 * prior_bounds routine  returns a structure  (with fields lb  and ub)
   instead of a matrix.
2014-10-20 16:18:54 +02:00
Marco Ratto eb70ddfe66 threshold_redform must override detailed mapping also with log-transformation 2013-12-10 17:31:26 +01:00
Stéphane Adjemian (Charybdis) 4052d4ccaf Cosmetic changes. Use skipline() instead of disp(' '). 2013-07-10 17:12:34 +02:00
Sébastien Villemot 61485ab809 Fix copyright notices 2013-06-12 17:04:46 +02:00
Marco Ratto 1b2cf2a45b Fixed bug introduced in commit d541202. 2013-05-02 08:36:29 +02:00
Johannes Pfeifer dc8bc3ef65 Use filesep instead of '/' 2013-04-27 16:22:25 +02:00
Johannes Pfeifer 935f8eb025 Provide Redform Mapping with more expressive figure titles 2013-04-27 12:52:48 +02:00
Marco Ratto ad34f3dbf1 Fixed bugs related to the case where no shock standard deviation is estimated 2013-04-18 19:36:41 +02:00
Marco Ratto b77445e5f9 1) Allow threshold reduced form mapping also for posterior samples;
2) Improve the notation of info saved of  threshold reduced form mapping which was obscure.
2013-04-11 10:14:29 +02:00
Marco Ratto 543b4040c2 Fixed inconsistent behavior of GSA plots w.r.t. nodisplay option. 2013-03-27 17:38:18 +01:00
Marco Ratto 92e4e73765 Trap the cases where the state space matrices are not stored for memory allocation issues
[to be fixed later by breaking the big matrix stored ...]
2013-03-19 17:06:33 +01:00
Sébastien Villemot c121aa14b1 Remove oo_.dr.{nstatic,npred,nboth,nfwrd,nspred,nsfwrd}
Replace them by equivalents in M_ (and an extra one: M_.dynamic).

IMPORTANT POINT: oo_.dr.npred used to count both purely backward and mixed/both
variables. This was the cause of lots of confusion. The new M_.npred only
counts purely backward variables.

We now have the following indentities:

M_.npred + M_.nboth + M_.nfwrd + M_.nstatic = M_.endo_nbr
M_.nspred = M_.npred + M_.nboth
M_.nsfwrd = M_.nfwrd + M_.nboth
M_.ndynamic = M_.npred + M_.nboth + M_.nfwrd
2012-11-16 20:05:13 +01:00
Marco Ratto 2510454bd1 Add missing figures when filtering is applied 2012-06-29 00:36:22 +02:00
Marco Ratto 0494b92ed3 Proper handling of nograph option in gsa routines. Accordingly some more printed output on command window is allowed. 2012-06-15 12:29:22 +02:00
Marco Ratto 2aaa88caa7 Merge from the latest gsa routines for 4.2.5.
1) options_gsa passed as function argument
2) use pvalues always to trigger Smirnov plots and correlation plots;
3) eliminated density plots in rmse analysis;
4) updated tex documentation
2012-06-11 01:33:01 +02:00
JohannesPfeifer 4affab31fd Fixed bugs introduced in 4c255cf2ae 2012-04-27 08:45:22 +02:00
Johannes Pfeifer 4c255cf2ae Starts implementing Ticket 216. Most plotting and figure is now controlled by the functions dyn_figure and dyn_saveas, allowing for option_.nodisplay to suppress the displaying of figures and using options_.graph_format to control the format of saved figures. 2012-04-25 11:47:40 +02:00
Sébastien Villemot f13615c922 Put all GSA files under Copyright Dynare Team and GPL-3, and GSA manual under
Copyright Dynare Team and GFDL-1.3, with the consent of Marco Ratto

Closes: #173
2012-01-09 13:12:31 +01:00
Michel Juillard bc8d4d8f08 gsa: converted DOS end of lines in Unix end of lines 2011-12-09 21:13:16 +01:00
Sébastien Villemot ebe28543fe GSA: move stuff to the right place 2011-03-17 15:34:40 +01:00