Commit Graph

1212 Commits (d17b813c6bdbe9bac514117c1aa8afcf20731630)

Author SHA1 Message Date
sebastien d17b813c6b Removed wrong executable property
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3142 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-11-09 11:01:59 +00:00
stepan facc7311a8 Bug fix. Changed the call to the particle filter routine.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3139 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-11-08 13:47:12 +00:00
stepan 2063c0944f * Removed simult_ and added local_state_space_iteration_2 (a specialized version of simult_).
* Renamed gaussian_particle_filter.m. Changed the names of the variables in this file. The 
gaussian nodes are not stored anymore in a big matrix.
* Added a function to compute the cholesky decomposition of a symetric semidefinite positive
matrix.  



git-svn-id: https://www.dynare.org/svn/dynare/trunk@3138 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-11-08 13:46:05 +00:00
stepan 98ac3091c9 Added a vector of indices for the state variables in the restricted state vector (bayestopt_.mf0).
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3132 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-11-06 14:03:50 +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
ratto d9ea204fc5 File names should correspond to varlist and not to endo_names
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3122 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-11-03 15:21:30 +00:00
stepan 3a137c3eaa Added files for extended path simulations.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3120 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-11-03 13:45:52 +00:00
stepan b6d5369421 * Added files for extended path simulations.
* Removed seed from gaussian_particle_filter.


git-svn-id: https://www.dynare.org/svn/dynare/trunk@3118 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-11-03 12:27:22 +00:00
stepan 37144125fc Added simult_ and DsgeLikelihood routines specific to the particle filter.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3110 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-10-31 07:55:16 +00:00
stepan 11bb96f19b * Added subfolder for particle filters.
* Added a routine for gaussian particle filter. The likelihood is evaluated
by assuming that the state vector is normally distributed.

git-svn-id: https://www.dynare.org/svn/dynare/trunk@3109 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-10-31 07:55:13 +00:00
sebastien ffd9b2d405 preprocessor: clean-up workaround for acosh(), asinh(), atanh() on Win 64 platforms
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3101 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-10-29 17:16:10 +00:00
stepan ee74f38b11 Removed (or moved) initialization of options_'s fields from simul.m.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3079 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-10-23 12:52:16 +00:00
ratto e601d7bec1 Still some errors in dsgelikelihood are present that are not trapped: use try catch when evaluating target function;
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3078 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-10-23 12:01:34 +00:00
ratto 8a56ed35ad 1) Still some errors in dsgelikelihood are present that are not trapped: use try catch when evaluating target function;
2) proposal density should contain the jscale.

git-svn-id: https://www.dynare.org/svn/dynare/trunk@3077 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-10-23 12:01:15 +00:00
stepan f5037df3cd Cosmetic changes.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3073 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-10-23 10:03:03 +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 3a673134fe Added missing copyright notice
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3069 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-10-23 08:15:32 +00:00
stepan 21d58eac91 * Bug fix.
* Changed the conditional forecast section in the manual.
* Removed the calibration token from the preprocessor.

git-svn-id: https://www.dynare.org/svn/dynare/trunk@3067 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-10-22 15:56:32 +00:00
stepan a9f18121bd Changed the files performing conditional forecasts (to match the output of the preprocessor).
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3065 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-10-22 13:03:30 +00:00
ratto 98b3747312 Utility to check the definitions of the parallel cluster.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3064 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-10-22 09:20:37 +00:00
sebastien df7bc34379 Added a new option "partial_information" to stoch_simul, estimation, osr, ramsey_policy
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3063 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-10-20 16:55:31 +00:00
stepan c96d6767a1 Changed the place where priordens' persistent variables are saved (suite).
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3061 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-10-20 15:47:36 +00:00
stepan f13cf45741 Changed the place where priordens' persistent variables are cleared.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3060 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-10-20 15:47:33 +00:00
sebastien aa6ff983a9 AIM solver:
* added interface in the MOD file, with a new option "aim_solver" to stoch_simul and estimation
* documented the option in the reference manual


git-svn-id: https://www.dynare.org/svn/dynare/trunk@3059 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-10-20 15:44:56 +00:00
stepan 217462afe1 Fixed bug in the evaluation of the posterior kernel. The persistent variables declared in
priordens.m have to be cleared before calling evaluate_likelihood().

git-svn-id: https://www.dynare.org/svn/dynare/trunk@3058 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-10-20 15:33:54 +00:00
ratto b863a6d6fc Added new identification options introduced in the preprocessor.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3057 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-10-20 15:13:47 +00:00
ratto b8bc96c8e6 Adapted to follow preprocessor syntax.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3056 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-10-20 15:13:15 +00:00
sebastien 1e3115e759 Workaround for bug in Octave 3.2, numbered #550823 in Debian BTS, see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=550823
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3055 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-10-20 12:58:17 +00:00
sebastien 05773e5edf CheckPath: another fix
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3054 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-10-20 12:57:22 +00:00
sebastien 9540db6bf4 CheckPath: use a better technique to avoid a file with the same name than the dir we are creating
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3053 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-10-20 12:43:15 +00:00
ferhat e1f17fa9e5 - adds a new option in simul command when block and bytecode options are used : minimal_solving_periods. With bytecode option, the linear solver is applied only on the first periods. As soon as the set of operations remains the same from one period to another, they are repeated for the remaining periods. In some cases the linear solver could encounter exact or near singularities. To avoid these effects, this new option allows the user to extend the minimal number of periods where the model has to be solved.
- corrects some mod files.
- In steady command, get check argument from bytecode dll

git-svn-id: https://www.dynare.org/svn/dynare/trunk@3051 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-10-18 15:18:16 +00:00
stepan d87129ebf6 Added three functions used to evaluate the prior density, the posterior kernel and the likelihood.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3050 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-10-16 21:01:52 +00:00
ferhat 3c2d944cfc - use of classes to describe the bytecode tags
- use static option for bytecode instead of steady_state option

git-svn-id: https://www.dynare.org/svn/dynare/trunk@3048 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-10-16 16:34:27 +00:00
sebastien bab7c9236b Added some missing copyright headers
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3044 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-10-14 10:04:06 +00:00
sebastien 5f247b32c4 CheckPath.m: give more informative error message when trying to create a subdirectory, when a file with the same name already exists
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3037 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-10-12 16:32:10 +00:00
ratto afb0c75744 Avoid the use of inv.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3034 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-10-09 08:25:34 +00:00
ratto 6e25472ad9 1) save output plots;
2) modified burnin_iteraton for pdraw0 in input;
3) minor changes.

git-svn-id: https://www.dynare.org/svn/dynare/trunk@3033 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-10-09 08:22:01 +00:00
ratto 173ce64d7e 1) added H to numerical derivative switch;
2) added steady state derivatives in output;

git-svn-id: https://www.dynare.org/svn/dynare/trunk@3032 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-10-09 08:20:32 +00:00
ratto a2d9e2af1d Display message when rank condition on J and H is always OK.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3031 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-10-09 08:19:19 +00:00
ratto 33f0f84f89 1) Added steady state to moments;
2) use of oo_.dr.ys (always updated) in place of oo_.steady_state (not always updated).

git-svn-id: https://www.dynare.org/svn/dynare/trunk@3030 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-10-09 08:18:39 +00:00
ratto 54c6dbd708 Use of the JJ and H to compute condition number.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3029 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-10-09 08:17:34 +00:00
ratto 20a469cfcf Fixed to allow truncated priors.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3028 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-10-09 08:10:52 +00:00
michel fb7ae67d09 v4.1: added trends to imcforecast
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3024 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-10-06 14:41:56 +00:00
michel add652918e added possibility to call user defined optimizing routine with mode_compute option
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3023 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-10-06 14:40:49 +00:00
michel ce5c510d06 v4.1: add provision for <modfile>_steady_state.m and auxiliary variables for leads on more than 1 period
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3022 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-10-06 14:37:23 +00:00
michel 541129c1be v4.1: adding add_auxiliary_variables_to_steadystate.m and code to adjust output of <fname>_steadystate.m for additional auxiliary variables
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3014 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-10-02 12:10:50 +00:00
michel e1f4f5e924 4.1: added steady state to forecast
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3012 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-10-02 11:47:56 +00:00
michel 202be85f5f 4.1: added missing semi-colon
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3011 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-10-02 11:41:23 +00:00
ratto 081cdf3cb0 Cleaner comments of work in progress ...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3001 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-09-30 13:28:47 +00:00