Commit Graph

175 Commits (2f13d6610d6842adc4a4b448eb45ebd4223967e6)

Author SHA1 Message Date
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
Stéphane Adjemian (Scylla) 4dad18b222 Added new function from.
Allows the follwing syntax

FROM d1 TO d2 DO y(t)=f(y(t-1),e(t),e(t+1),e(t-1))

where d1 and d2 are @dates objects (d1<d2), y is a @dseries object
defined over d1-1:d2, and e is a @dseries object defined over
d1-1:d2+1.
2014-06-11 12:22:30 +02:00
Michel Juillard 653e275de3 updating dynare_config 2014-05-18 21:49:52 +02:00
Sébastien Villemot a459a3440b Provisions for MATLAB 8.3 (R2014a). 2014-03-18 14:59:08 +01:00
Houtan Bastani 24df481dc7 remove matlab2tikz requirement 2014-02-13 18:20:01 +01:00
Sébastien Villemot 5308da2cad Upgrade the minimum requirement to MATLAB 7.5 (R2007b). 2014-02-03 15:52:54 +01:00
Sébastien Villemot 66d48f5917 Compatibility fixes for Octave 3.8.
- no longer use OCTAVE_QUIT in MEX files; this seems now only possible in
  oct-files. (Ref #304)
- do not build linsolve.oct on Octave >= 3.8, it is available natively.
- do not add strjoin.m to the patch on Octave >= 3.8, it is available natively.
- default_save_options has been renamed save_default_options.
2014-01-03 11:05:39 +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
Sébastien Villemot b3d835bd48 Provisions for MATLAB 8.2 (R2013b) 2013-09-25 16:00:07 +02:00
Stéphane Adjemian (Charybdis) 4052d4ccaf Cosmetic changes. Use skipline() instead of disp(' '). 2013-07-10 17:12:34 +02:00
Houtan Bastani d4891ba0b5 bug fix: matlab2tikz path 2013-06-25 12:27:44 +02:00
Sébastien Villemot fa4ad71185 Under Debian/Octave, matlab2tikz.m is already in the path, so don't add it twice 2013-06-24 12:23:46 +02:00
Houtan Bastani 0b50587f9c matlab2tikz: linux: add directory for package installation; os x and windows add dynare/contrib/matlab2tikz if it exists; (only on os x) if it doesn't add package installation dir 2013-06-24 12:07:11 +02:00
Houtan Bastani e786fa8627 the last 32bit release of matlab for osx was 7.11 (R2010b) 2013-04-18 11:12:33 +02:00
Houtan Bastani 1f9e6dea8d add strjoin to missing 2013-04-04 11:35:45 +02:00
Sébastien Villemot 3025a14ed9 Adapt for removal of luinc in MATLAB R2013a 2013-03-25 12:05:56 +01:00
Sébastien Villemot 3bbdbf8387 Provisions for MATLAB 8.1 (R2013a) 2013-03-21 18:26:04 +01:00
Houtan Bastani fe5f61db61 reporting (WIP) 2013-02-12 14:53:36 +01:00
Stéphane Adjemian (Charybdis) 7f10bccf4a Moved isweekly, ismonthly, isquaterly and isyearly routines from matlab/@dynSeries/private to matlab/utilities/dates. Adapted dynare_config conformably to these changes. 2012-12-03 16:15:36 +01:00
Sébastien Villemot 7de6be31e6 Upgrade the minimum requirement to MATLAB 7.3 (R2006b) 2012-09-18 11:54:40 +02:00
Sébastien Villemot c74b1d1bdc Provisions for MATLAB 8.0 (R2012b) 2012-09-14 11:10:47 +02:00
Sébastien Villemot c65ff9d988 Fix crash with MATLAB 7.1 and 7.2 under Windows
Closes: #277
2012-09-11 12:32:27 +02:00
Sébastien Villemot db62e3d7a0 issquare exists under Octave and returns the matrix dim if it is square 2012-08-06 18:26:16 +02:00
Sébastien Villemot 2e65a9ab96 Provide a better implementation of linsolve for Octave
Closes: #273
2012-08-06 18:26:16 +02:00
Michel Juillard d32e076b77 adding missing function linsolve for Octave (inefficient and minimal implementation
for current needs)
2012-07-22 22:18:32 +02:00
Houtan Bastani 328cc78d76 ms-sbvar: check for existence of mex file in dynare_config 2012-06-15 16:37:04 +02:00
Sébastien Villemot 9187e8ad4d Typos 2012-06-15 15:09:39 +02:00
Sébastien Villemot 4e537fcdcc New function for testing an Octave Forge package 2012-04-20 21:36:49 +02:00
Houtan Bastani 6180bc2212 Add TZcode submodule to repository 2012-04-19 12:27:39 +02:00
Sébastien Villemot 2057365143 Require at least Octave 3.2.2 (and therefore drop rcond.m and bicgstab.m)
Octave 3.2 has been around for a long time, and is included in most
distributions.
2012-04-03 17:57:38 +02:00
Sébastien Villemot ebfeae2ccf Provisions for MATLAB 7.14 (R2012a) 2012-03-13 17:43:30 +01:00
Stéphane Adjemian (Charybdis) 40329e3e29 Added routine to compute one step ahead state space iteration (mex and m). The state space
equations are approximated at order two around the deterministic steady state.
2012-03-04 22:07:27 +01:00
Sébastien Villemot a66594caed Add MEXEXT define to build system, adapt relevant DLL and Windows packaging
Closes: #235
2012-01-09 12:39:09 +01:00
Houtan Bastani dcaed91f66 fix to license call (checkout only works for Matlab version >= 2011a) 2012-01-09 11:57:47 +01:00
Houtan Bastani 9be84bdf65 make check: fix bug in check for license 2011-12-23 18:22:41 +01:00
Stéphane Adjemian (Charybdis) 3815daada3 Fixed bug: dynare_config is now able to find a mex file even if dynare_config is called from
<DYNARE_PATH>/matlab directory and if a matlab script with same name than the mex exists in
this directory.
2011-12-21 18:31:29 +01:00
Stéphane Adjemian (Charybdis) 4869fff243 Added new mex file for computing Quasi Monte-Carlo sequences (Sobol), texinfo headers and unitary tests are available in <DYNARE_PATH>/matlab/qmc_sequence.m. 2011-12-21 18:23:15 +01:00
Stéphane Adjemian (Charybdis) 6d9983df0c New version of the extended path routines. 2011-12-09 18:03:30 +01:00
Marco Ratto dde9d2bfee license('test',' ... ') gives 1 even if the license exists but it is not active, implying a crash of the dynare matlab session. 2011-10-26 16:27:09 +02:00
Houtan Bastani 5e5efc816a modify addpath statements for precompiled Mac binaries 2011-10-13 11:18:44 +02:00
Sébastien Villemot f9ecc164ce Move 'nanmean' under 'matlab/missing' and add the necessary logic 2011-09-27 16:59:21 +02:00
Sébastien Villemot 21ceaa5cb4 Provisions for MATLAB 7.13 (R2011b) 2011-09-22 18:05:06 +02:00
Sébastien Villemot c07a915d6e Improve the way we test for existence of toolboxes (more reliable in the case where the toolbox is installed but not activated) 2011-09-19 16:41:53 +02:00
Stéphane Adjemian (Scylla) e9764d0538 Use a structure for the dataset. Bug fixes. 2011-09-17 15:38:49 +02:00
Houtan Bastani 381a2f8977 aesthetic fix 2011-09-13 11:44:31 -04:00
Houtan Bastani 1fa54aef27 remove outdated addpath directives 2011-09-13 11:44:28 -04:00
Stéphane Adjemian (Charybdis) 3545be0226 Added particle subfolder. 2011-09-05 18:57:42 +02:00
Stéphane Adjemian (Charybdis) 467c60c51e Removed trailing spaces. 2011-09-05 18:57:42 +02:00
Stéphane Adjemian (Charybdis) 5efcf7527d Added matlab/utilities/tests subfolder. 2011-09-05 18:57:42 +02:00
Stéphane Adjemian (Charybdis) 948594c35f Changed path according to last change in 9ccd794b637309e6f0548228b513689d8543f5c2. 2011-09-05 18:57:41 +02:00
Stéphane Adjemian (Charybdis) 316e16edc2 Changed path for internal documentation routines. Added verbose option (default is verbose==1). 2011-09-05 18:57:41 +02:00
Stéphane Adjemian (Charybdis) 9b00852e25 Added routines for generating internal documentation. 2011-09-05 18:57:41 +02:00
Houtan Bastani e3a3cebff8 set ms-sbvar paths in dynare_config 2011-05-30 17:46:31 +02:00
Sébastien Villemot 896a80928b Cosmetic change 2011-04-27 11:57:49 +02:00
Sébastien Villemot 7b67f40a11 Bump MATLAB version requirement to 7.0 2011-04-27 11:57:43 +02:00
Sébastien Villemot f978ebeff7 Provisions for MATLAB 7.12 (R2011a) 2011-04-08 11:07:03 +02:00
Sébastien Villemot da867f1c93 GSA: add to MATLAB/Octave path 2011-03-17 16:29:18 +01:00
Sébastien Villemot 8001239118 Remove nonexistent smoother directory from addpath 2011-02-23 12:25:23 +01:00
Sébastien Villemot 314c411d17 Fix matlab path of MS-SBVAR in config file 2011-02-04 11:55:31 +01:00
Stéphane Adjemian (Charybdis) 5c709e4733 Changed set_dynare_threads.m. The number of threads in parallelized mex files to be used if dynare is built with the openmp flag
(--with-openmp) is not passed by an environment variable anymore. The function set_dynare_threads changes the default value of the
number of threads (default is 1) in the options_.threads structure. Changed calls to sparse_hessian_times_B_kronecker_C and
A_times_B_kronecker_C dlls accordingly.
2010-11-15 13:06:39 +01:00
Sébastien Villemot 81823ad035 New oct-file for "ordschur": the diffuse filter now works under Octave 2010-10-21 15:43:13 +02:00
Marco Ratto f587e0f1d2 Added new parallel utilities in parallel subfolder;
Add parallel to dynare path;
2010-10-08 16:10:59 +02:00
Sébastien Villemot 1a27ed9f38 OpenMP support:
- removed build_matlab_multithread.m and isopenmp MEX file
- introduced a new option "--enable-openmp" in configure script
- when openmp support is compiled in, the default is still one thread; the user can set the number of threads with "set_dynare_threads(n)"
- closes #68
2010-09-27 15:56:19 +02:00
Sébastien Villemot c47b177577 Provisions for MATLAB R2010b (7.11) 2010-09-10 13:08:32 +02:00
Michel Juillard 49daa411f4 dynare_config.m: added path for SWZ 2010-09-08 21:08:20 +02:00
Michel Juillard 7668bc4a11 -new smoother function kalman/smoother/kalman_smoother.m
-fixing bugs in dynare_estimation_1.m
2010-03-23 18:17:15 +01:00
Michel Juillard b261eb0ba2 integration of partial information in stoch_simul (thanks to George, Joe and Paul) 2010-03-23 11:09:59 +01:00
Sébastien Villemot afc94953e9 Add provisions for MATLAB 7.10 (R2010a) 2010-03-10 18:44:46 +01:00
Stéphane Adjemian (Charybdis) e1db53caa0 dynare_config adds matlab/missing/bsxfun in the path if needed. bsxfun.m is a replacement for matlab's
built-in bsxfun function (missing in versions older than 7.4).
2010-02-19 00:31:43 +01:00
Sébastien Villemot 1ae1b5ff20 Backporting bicgstab function from Octave 3.2 to Octave 3.0 (closes #81) 2010-02-17 18:40:52 +01:00
sebastien 982ffa4996 Detection of MEX files: avoid confusion with directories of the same name than MEX files
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3263 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-17 14:20:14 +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
sebastien dbff434fc1 dynare_config.m: reflect the fact that 64-bit DLLs need to be recompiled between 7.2 and 7.3
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3163 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-11-23 15:16:43 +00:00
sebastien 9262cf34d5 Fixed name of MEX for MATLAB directory (goes back to 6.5)
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3156 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-11-17 19:01:59 +00:00
sebastien 04d5c56b20 dynare_config.m: test presence of dynare_simul_ DLL and display the result
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3131 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-11-06 12:03:19 +00:00
sebastien 30d2f00cc2 Reorganized the directory hierarchy for storing MEX files for MATLAB:
* mex/matlab/ is now the default location
* removed mex/2007a, mex/2007b and mex/2009a-64bit
* on Windows platforms, use version specific subdirs of mex/matlab if present (called win32-6.5.1-7.4, win32-7.4-7.9, win64-7.2-7.4, win64-7.5-7.7, win64-7.8-7.9)


git-svn-id: https://www.dynare.org/svn/dynare/trunk@3123 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-11-04 10:56:37 +00:00
sebastien 9ab04f3323 Renamed kordepert to k_order_perturbation
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3070 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-10-23 09:07:47 +00:00
sebastien a3f639aba5 Moved vec.m under matlab/missing/vec, and add it into the path only under MATLAB (vec exists under Octave)
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2967 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-09-24 08:34:57 +00:00
sebastien 02640c3e43 k-order perturbation DLL:
* removed existing build system
* reorganized source: separated test files from the rest, removed obsolete test files
* incorporated the DLL and the standalone test executable to the new build system
* minor fixes to ensure compilation


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2959 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-09-23 13:14:05 +00:00
sebastien 85ac76b9ae Add isempty to regexp to get a boolean answer for a 32-bit systems
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2894 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-09-03 16:10:41 +00:00
sebastien e426a0214e Added new directory "mex/2009a-64bit" for 64-bit platforms using MATLAB 7.8 (R2009a) (MEX binary compatibility has been broken in R2009a for 64-bit platforms)
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2891 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-09-03 13:09:34 +00:00