Commit Graph

77 Commits (25121bca4f9c97fed28599e9f9adeba2028e5bd0)

Author SHA1 Message Date
Johannes Pfeifer 7ebbc41d8a Get rid of eval statements by using indirect indexing of structures 2015-10-12 15:36:42 +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
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 200187a2c9 Fix TeX-loader of PosteriorIRF.m
It referred to the wrong files and always loaded only one figure, even if several were created.
2015-06-08 17:57:14 +02:00
Johannes Pfeifer fa1f7794d5 Delete stale files from previous MCMC runs
Closes #566. Also adds cosmetic changes to headers of affected routines
2015-05-09 15:13:59 +02:00
Stéphane Adjemian (Scylla) f6ce89260a Adapted posterior IRFs routines. 2014-06-23 11:08:48 +02: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
Stéphane Adjemian (Scylla) 63986a0ebf Closes #567. 2013-12-18 16:44:31 +01:00
Stéphane Adjemian (Scylla) 6efdfb5414 Use options_.prior_draws in posteriorIRF. 2013-12-18 16:44:31 +01:00
Stéphane Adjemian (Scylla) d52a0d2c89 Changed the logic for mh-history files (keep track of all the previous estimations if load_mh_file is used). Various bug fixes and cosmetic changes. 2013-11-20 18:03:12 +01:00
Stéphane Adjemian (Penelope) 0c00151092 Merge branch 'master' into remove-dynDate-class
Conflicts:
	preprocessor/DynareBison.yy
2013-11-14 16:41:08 +01:00
Stéphane Adjemian (Charybdis) ddd95361ba Cosmetic changes. Added isoctave function to replace exist('OCTAVE_VERSION'). 2013-11-04 10:54:45 +01: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
Stéphane Adjemian (Charybdis) 907e087ea9 Consider options_.varobs as a cell of strings. 2013-09-07 16:39:04 +02:00
Sébastien Villemot 61485ab809 Fix copyright notices 2013-06-12 17:04:46 +02:00
Johannes Pfeifer ed823c2ef6 Make PosteriorIRF obey irf_shocks
The matrices are still initialized to have the size M_.exo_nbr, but the computations (e.g. moments) are now only performed for the shocks in irf_shocks. PosteriorIRF_core2 still does not allow for a selection, but the check for IRFs>10^(-6) already effectively prevents the plotting.
2013-05-18 20:49:51 +02:00
Marco Ratto fe0054f370 allow posterior irf plots for octave 2013-04-05 17:17:47 +02:00
Johannes Pfeifer 195ed8baac Make storage of moments consistent with manual
The deciles of some posterior moments were erroneously saved in a field
Distribution, while the manual specifies they are name deciles.
2013-03-10 19:46:31 +01:00
Marco Ratto 99c35e22f1 - Added trap to avoid infinite loops when type is not 'prior';
- Recover value of nosaddle from _core routine (bug fix when type is 'prior');
2012-07-02 10:55:02 +02:00
Sébastien Villemot 1f9cea669a Update copyright notices 2012-06-08 18:22:34 +02:00
Marco Ratto a070f5cb26 Fixed initialization of matrices for posterior irfs. 2012-05-30 11:24:35 +02:00
Michel Juillard 7408714ea1 added dname as argument to CheckPath function and changed all calls to
this function. Suppressed use of globals in CheckPath.
2011-12-15 17:35:27 +01:00
Stéphane Adjemian (Charybdis) e0fa737cee Fixed bug in dynare_resolve (wrong calling sequence introduced in commit #013c599ec92f7d6e5fc3f351a58d9aa5ba401410).
Removed globals from DsgeVarLikelihood and changed the calling sequence. As in DsgeLikelihood, the penalty is now a
persistent variable.

Added a global structure for the data: dataset_.

Removed globals from dsgevar_posterior_density and mode_check.

Simplification of the clode, definition of the variable objective_function at the top of dynare_estimation_1 (equal
to 'DsgeLikelihood' or 'DsgeVarLikelihood').
2011-09-22 11:17:31 +02:00
Marco Ratto 4c6a01da2e under parallel execution do not do parallel plots when some slave is octave, irrespective to master being matlab. 2011-04-06 14:22:34 +02:00
Marco Ratto b7133ebeb5 Fixed bugs related to global sensitivity analysis. 2011-02-25 09:27:33 +01:00
Houtan Bastani 8a0dabd07d use || and && as opposed to | and & where appropriate 2011-02-16 15:14:38 +01:00
Sébastien Villemot 02652f6eb8 Updated copyright notices 2011-02-04 17:27:33 +01:00
Sébastien Villemot 757a9067c0 Global reindentation of MATLAB files 2011-02-04 17:17:48 +01:00
Marco Ratto d8121365dd 1) Renamed options according ti WiKi table;
2) get rid of MasterName and DyMo;
3) more comments;
2010-10-22 11:27:26 +02:00
Marco Ratto de490e9e4a delete remnants of previous Bayesian irf computations 2010-10-15 11:36:26 +02:00
Marco Ratto 25230060e5 Cosmetic changes plus small bug fixes. 2010-10-08 16:19:03 +02:00
Houtan Bastani a20bc07fdf replace deprecated Matlab function strvcat with char 2010-09-27 16:11:14 +02:00
Michel Juillard 8420d82dea bug correction in Posterior IRFs 2010-08-11 12:04:14 +02:00
Stéphane Adjemian (Scylla) 706b68e7ef Do not build plots of the posterior IRFs with Octave. 2010-06-24 18:11:08 +02:00
Stéphane Adjemian (Scylla) 2aba780744 Removed two empty lines. 2010-06-24 12:52:28 +02:00
Stéphane Adjemian (Scylla) cc4c63f4d0 Fixed bug introduced with the parallelization of PosteriorIRF.m.
Changes related to the new interface for dsge-var models.
2010-06-24 12:49:27 +02:00
Marco Ratto befe661f34 1) minor fix for number of runs == B (they were B+1);
2) changes to header/comments
2010-05-31 11:50:48 +02:00
Sébastien Villemot d6faa47807 Cosmetic changes: converted files to Unix end-of-line convention + fixed copyright notices and dates 2010-02-15 16:52:36 +01:00
Marco Ratto be510a4b93 bug fixes for use with octave for windows 2010-02-12 19:31:39 +01:00
Marco Ratto b9ae99d367 Several fixes:
1) moved all waitbar instances to core routines;
2) added IRUN argument for core1
3) added global variables for core2 and removed wrong definitions for local ones
2010-02-12 17:41:38 +01:00
Marco Ratto e2c38b4028 Parallel version of PosteriorIRF.m 2010-02-10 18:46:24 +01:00
sebastien 1be52aaa5f Beautification: removed tabulation characters which were left in previous beautification pass
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3300 ac1d8469-bf42-47a9-8791-bf33cf982152
2010-01-05 10:46:10 +00:00
sebastien 502e3e1df8 Beautified MATLAB code (Unix newline convention + Emacs indentation), except: AIM, swz, particle
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3250 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-16 17:17:34 +00:00
stepan a4d01dc31d dynare/trunk:: (dsge-var)
+ Added support for xls files.
+ Fixed a bug  appearing when the dafa file and the  mod files are not
in the same directory.


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2827 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-07-09 15:03:11 +00:00
sebastien 108030d2a6 trunk: merged 2105 changeset from 4.0 branch (Octave graphics compatibility issues)
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2108 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-09-24 19:59:28 +00:00
sebastien 47a4d91700 v4 matlab:
* fixed copyright headers of remaining files
* deleted old ChangeLog


git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1977 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-08-01 18:53:30 +00:00
sebastien e08cad8265 v4: merged Octave branch into trunk
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1899 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-06-24 18:20:48 +00:00
adjemian 8ba344b786 Cosmetic change in var_sample_moments + Removed one global.
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1880 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-06-17 21:44:00 +00:00
adjemian de48d0b3ee Changed posterior_moments (global variable options_ is not needed anymore, mh_conf_sig is a new input argument) + Cosmetic changes.
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1836 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-05-19 13:22:57 +00:00
assia 220d869142 header updated
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1635 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-01-21 17:06:21 +00:00