Commit Graph

155 Commits (e32b87d4b3143772889240ce963f33db25487e92)

Author SHA1 Message Date
Sébastien Villemot ce49cd95df
Add missing iscolumn and ismatrix for MATLAB < R2010b
Also fix a bug in isrow (it was not checking the rank of the array).
2018-11-13 16:59:27 +01:00
Sébastien Villemot 57f6183d2f Move some functions out of missing/stats/, since they are only needed for MATLAB 2018-06-06 13:02:42 +02:00
Sébastien Villemot 933ed45ead Octave 4.4 no longer includes statistics functions
Those have been moved to the statistics package. If that package is not there,
use a fallback.
2018-06-05 19:53:06 +02:00
Sébastien Villemot c7a57e5906 corrcoef is included in Octave 4.4 2018-06-05 17:14:41 +02:00
Sébastien Villemot 7b546ba696 Compatibility fix for MATLAB < R2010b (7.11) 2018-05-30 17:44:46 +02:00
Sébastien Villemot c180777818 Move check about Octave version to the same place as check for MATLAB 2018-05-16 17:12:48 +02:00
Stéphane Adjemian(Charybdis) afbac2e8eb Added strsplit routine in missing. 2018-05-16 16:41:43 +02:00
Sébastien Villemot e2c2f2d966 Remove fallbacks for ilu, linsolve and ordschur under Octave
These functions are all included in Octave 4.2.
2018-05-16 10:48:44 +02:00
Stéphane Adjemian(Charybdis) cee6dda44d Fixed check for octave version.
We should not issue a warning if version() is greater than supported_octave_version().
2018-03-24 22:48:45 +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 (Scylla) 560a047a53 Moved isfile routine in missing.
This routine has been introduced in R2017b. Closes #1523.
2017-10-10 13:33:32 +02:00
houtanb 54d28d65da add new submodule: jsonlab 2017-06-22 16:34:52 +02:00
Stéphane Adjemian (Charybdis) ca7f734561 Updated dynare_config (wrt 214b534b25)
(cherry picked from commit 12733e94f3)
2017-06-14 00:04:28 +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) 76097a799f Added missing struct2array routine. 2017-03-22 15:20:13 +01:00
Marco Ratto a6f7e02d17 added utilities for optimal distinguishable colors. 2017-03-17 12:41:59 +01:00
Stéphane Adjemian (Charybdis) e71e89bb38 Added check on Octave version. 2017-02-08 13:07:24 +00:00
Johannes Pfeifer d6d517c4c9 Move MCMC diagnostics files to separated folder 2016-12-17 17:22:04 +01:00
Stéphane Adjemian (Hermes) 25243712ba Fixed bug on non linux platforms + Cosmetic changes.
The paths to mex files was wrong.
2016-06-17 22:02:34 +02:00
Stéphane Adjemian (Hermes) 1dea10d478 Updated dynare_config wrt #c7e848948156fe8febca22276a77c9586c565d87 2016-06-17 00:16:06 +02:00
Stéphane Adjemian (Hermes) d80f6d9a99 Minimize the number of calls to addpath.
These calls have a prohibitive cost...
2016-06-16 23:55:07 +02:00
Marco Ratto 22f51d1e75 moved autocorr to missing matlab econometrics toolbox [it is not in stats toolbox] 2016-05-19 14:34:09 +02:00
Houtan Bastani c386be3fb7 submodule update: reporting (remove strjoin) 2016-02-24 14:41:22 +01:00
Houtan Bastani f5043e11b0 update reporting path 2015-10-16 15:37:39 +02:00
Stéphane Adjemian (Charybdis) 23ff65d15a Updated dynare_config routine (initialization of the dseries and dates classes). 2015-06-24 19:02:42 +02:00
Stéphane Adjemian (Hermes) ccd4e40b49 Merge branch 'master' into rewrite-nonlinear-filters
Conflicts:
	.gitmodules
	tests/particle/dsge_base2.mod
2015-05-27 12:18:33 +02:00
Stéphane Adjemian (Charybdis) 0e1dd779b9 Check that Dynare's routines are not overridden by other routines.
By default Dynare will temporarly change Matlab/Octave's path. Added an
option to force Dynare to keep the current path. Also check that the user
did not put dynare/matlab directory with all the subfolders in the path.

With this patch, we do not need to prefix Dynare routines with dyn_ or
dynare_ anymore.
2015-03-30 15:04:59 +02:00
Sébastien Villemot 80f512b90b ilu function has been implemented in Octave 4.0. 2015-03-18 16:03:41 +01:00
Houtan Bastani 1a3d8d0b26 Provisions for MATLAB 8.5 (R2015a) 2015-03-16 14:44:06 +01:00
Stéphane Adjemian (Charybdis) 73cdaa3091 Replaced get_prior_info routine by prior routine.
This new routine gives the possibility to obtain a description of the
prior from the command line.

>> prior table

will display a table with the prior mean, prior mode, prior std, prior
bounds and prior HPD interval.

>> prior plot

will plot the prior densities.

>> prior optimize

will trigger the maximization of the prior density and display the
results (often, because of BK conditions or other issues, Dynare is even
not able to get the prior mode).

>> prior moments

will display the moments of the endogenous variables at the prior mode.

>> prior simulate

will run a Monte-Carlo, by sampling from the prior and discarding vector
of parameters such that the steady state does not exist or the BK
conditions are not met, and return an estimate of the effective prior
mass.
2015-02-27 17:12:04 +01:00
Stéphane Adjemian (Charybdis) 0bb413e8fa Merge branch 'experimental-optimizers' 2015-02-24 20:44:39 +01:00
Houtan Bastani e19f03b420 replace reporting code with submodule. closes #811 2015-02-24 16:38:36 +01:00
Stéphane Adjemian (Charybdis) beb7826376 Moved optimization related routines in a common subfolder. 2015-02-23 14:26:07 +01:00
Houtan Bastani ca83397d95 update copyright dates for files changed in 2015 2015-02-16 09:08:02 +01:00
Stéphane Adjemian (Charybdis) bcc68ff15c Updated dseries submodule and dynare_config().
Routines used for loading data are now located in the dseries submodule.
2015-02-12 15:30:27 +01:00
Stéphane Adjemian (Charybdis) df4ee4b983 Moved files related to perfect foresight models in a subfolder. 2015-02-12 15:30:26 +01:00
Stéphane Adjemian (Charybdis) 092455419b Merge branch 'master' into rewrite-nonlinear-filters
Conflicts:
	.gitmodules
	matlab/particle/online_auxiliary_filter.m
	matlab/particle/solve_model_for_online_filter.m
2014-12-12 16:22:06 +01:00
Stéphane Adjemian (Charybdis) 7764d07343 Updated date submodule. 2014-12-01 17:35:09 +01:00
Stéphane Adjemian (Charybdis) a3c139cb38 Updated dynare_config routine. 2014-11-28 18:35:19 +01:00
Stéphane Adjemian (Charybdis) 686289cd01 Updated dynare_config routine. 2014-11-28 18:26:42 +01:00
Stéphane Adjemian (Charybdis) 593adcd5e9 Updated dynare_config routine (new path for the dates class and related routines). 2014-11-27 23:19:53 +01:00
Stéphane Adjemian (Charybdis) a00f026f54 Removed matlab/@dates (class for dates) and matlab/utilities/dates folders. 2014-11-27 22:52:10 +01:00
Houtan Bastani 103788bb5b gsa: add corrcoef from octave forge nan package. closes #796 2014-11-24 17:28:38 +01:00
Stéphane Adjemian (Telemachus) 5699a4899c Removed local_state_space_iterations_2 routine from particles module. 2014-11-13 15:53:26 +01:00
Stéphane Adjemian (Telemachus) e143f8ef2e Replaced particle folder by a Git submodule (particles). Adapted path in dynare_config. 2014-11-12 17:55:18 +01:00
Stéphane Adjemian (Telemachus) 479189ef47 Updated path in dynare_config.
For m-unit-tests module.
2014-11-07 22:41:25 +01:00
Houtan Bastani f4f7a02fd7 Provisions for MATLAB 8.4 (R2014b) 2014-10-10 10:41:04 +02:00
Stéphane Adjemian (Charybdis) 6aee567382 Save empty dates and dseries objects in memory (base workspace) instead of disk (faster). Added an initialization mode for dates and dseries constructor. The following commands:
dates('initialization');
dseries('initialization');

create variables emptydatesobject and emptydseriesobject in base workspace.
2014-06-11 12:22:31 +02:00
Stéphane Adjemian (Charybdis) 0206792c12 Save empty dates and dseries objects on disk (in dynareroot), to reduce the time needed to instantiate new objects. 2014-06-11 12:22:31 +02:00