Commit Graph

32 Commits (beb7d42d748f9f0f5216ed7aca93dceb4f73df2c)

Author SHA1 Message Date
Sébastien Villemot 7a75872f72
Modernization: use tilde (~) syntax for ignored output arguments 2018-11-13 18:02:09 +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) 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
Stéphane Adjemian (Charybdis) 4052d4ccaf Cosmetic changes. Use skipline() instead of disp(' '). 2013-07-10 17:12:34 +02:00
Sébastien Villemot 6a23afdd48 RandStream: compatibility fix for MATLAB >= 7.12
setDefaultStream has been renamed setGlobalStream
getDefaultStream has been renamed getGlobalStream

Closes: #198
2012-04-20 14:42:30 +02:00
Marco Ratto a016d3c521 explicit mat extension with save (octave compatibility) 2011-04-06 13:08:22 +02: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
Houtan Bastani a20bc07fdf replace deprecated Matlab function strvcat with char 2010-09-27 16:11:14 +02:00
Michel Juillard 61aca0c915 renamed csminwel() to csminwel1() to avoid name clash with a different version used in SWZ 2010-07-28 15:26:56 +02:00
Stéphane Adjemian (Gpm 07bbc15824 Changes related to SMM estimation.
(1) Bug fixes.
(2) SMM estimation use the estimated_params block (same usage as for ML estimator).
2010-03-04 17:24:01 +01:00
Stéphane Adjemian (Gpm) de1ba423b5 Bug fixes. 2010-02-17 18:27:20 +01:00
Stéphane Adjemian (Gpm) cbfd0fd562 Added estimation of the variance of the SMM estimator. 2010-02-17 17:48:43 +01:00
Stéphane Adjemian (Gpm) 77570f40c7 Added mode options.optimization_routine==0 (no optimization, just read the optimization_path.mat file). 2010-02-17 16:20:37 +01:00
stepan 29fc9354ef Adapted SMM for the estimation of variances.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3370 ac1d8469-bf42-47a9-8791-bf33cf982152
2010-01-21 10:56:32 +00:00
stepan 397d531990 Bug fix. Variable use_dll_flag is not defined if remote computers are not used. Don't need to compile the
(dynamic model) mex file in this case.



git-svn-id: https://www.dynare.org/svn/dynare/trunk@3366 ac1d8469-bf42-47a9-8791-bf33cf982152
2010-01-16 10:28:09 +00:00
stepan 1b37985435 Added a generated mat file keeping track of the estimated parameters' values.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3347 ac1d8469-bf42-47a9-8791-bf33cf982152
2010-01-11 16:36:36 +00:00
stepan 77eec32811 Replaced disp() by error(). This condition (master running a job) is mandatory.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3345 ac1d8469-bf42-47a9-8791-bf33cf982152
2010-01-11 13:58:45 +00:00
stepan 3ad3372f76 Correction of a bug introduced in the previous commit (3343).
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3344 ac1d8469-bf42-47a9-8791-bf33cf982152
2010-01-11 13:53:57 +00:00
stepan 868ef77d89 Tests if master is running a job. Master has to run a job, otherwise we
cannot define a time limit for the evaluation of the objective function. 




git-svn-id: https://www.dynare.org/svn/dynare/trunk@3343 ac1d8469-bf42-47a9-8791-bf33cf982152
2010-01-11 13:49:31 +00:00
stepan da8638ccc7 * Added the possibility to use the matlab's simplex routine for
minimizing the objective function.
* Added a test for the platform (parellelized version of SMM is 
only implemented for linux).
* Added upper and lower bounds for the estimated parameters. A 
penalty is defined when a vector of parameters does not satisfy 
the upper and lower bounds.
* Cosmetic changes.



git-svn-id: https://www.dynare.org/svn/dynare/trunk@3342 ac1d8469-bf42-47a9-8791-bf33cf982152
2010-01-11 13:33:23 +00:00
stepan 696e8ee140 Added a new input argument (epsilon) in gradient routines and csminwel.m. This parameter defines the length of the steps considered
by numgrad routines to compute the gradient. The default value (defined in global_initialization.m) for this parameter is 1e-6. The
value of epsilon is stored in options_.gradient_epsilon.




git-svn-id: https://www.dynare.org/svn/dynare/trunk@3335 ac1d8469-bf42-47a9-8791-bf33cf982152
2010-01-10 16:51:33 +00:00
stepan 139491219b * Bug fixes.
* Simulated moments (computed by the slaves) are saved in ascii files instead of mat files.



git-svn-id: https://www.dynare.org/svn/dynare/trunk@3333 ac1d8469-bf42-47a9-8791-bf33cf982152
2010-01-10 13:49:18 +00:00
stepan 8c89170cf6 Bug fixes and cosmmetic changes.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3330 ac1d8469-bf42-47a9-8791-bf33cf982152
2010-01-09 15:46:55 +00:00
stepan 4beedc8f85 * Replaced file system matlab commands by unix commands.
* Added (missing) call to dynare_config for each slave.
* Other bug fixes.
* Cosmetic changes.



git-svn-id: https://www.dynare.org/svn/dynare/trunk@3329 ac1d8469-bf42-47a9-8791-bf33cf982152
2010-01-09 00:40:10 +00:00
stepan 0787ea0201 Fixed bug related to the default seed on the slaves.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3325 ac1d8469-bf42-47a9-8791-bf33cf982152
2010-01-08 17:30:44 +00:00
stepan 7c17ab9cca Added parallelized Simulated Moments Method (to be tested).
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3323 ac1d8469-bf42-47a9-8791-bf33cf982152
2010-01-08 17:14:50 +00:00
sebastien e7adf28fbd A few more copyright fixes
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3316 ac1d8469-bf42-47a9-8791-bf33cf982152
2010-01-08 09:54:43 +00:00
stepan 301c840ace Adapted csminwel calling sequence to match the previous commit.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3311 ac1d8469-bf42-47a9-8791-bf33cf982152
2010-01-06 14:54:27 +00:00
stepan 1b3dce7d1b Added files for SMM estimation.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3309 ac1d8469-bf42-47a9-8791-bf33cf982152
2010-01-06 14:38:32 +00:00