Commit Graph

3046 Commits (f7eb39f7bbcc504b68c80c5e84be9d08627e4bcf)

Author SHA1 Message Date
Michel Juillard f7eb39f7bb bug correction related to smoother 2011-01-13 21:45:09 +01:00
Michel Juillard 6ea053e47d correcting bugs in diffuse Kalman smoother 2011-01-13 21:10:06 +01:00
Michel Juillard 2e0a36ae9f Initialize estim_params_ in global_estimation.m. Necessary for smoothing models with no estimated parameters. 2011-01-13 21:10:06 +01:00
Sébastien Villemot ffc53ca910 Fix integer types in Kronecker DLLs 2011-01-13 19:34:49 +01:00
Sébastien Villemot 23d797d214 Preprocessor: minor refactoring of ParsingDriver::add_model_var_or_external_function 2011-01-13 19:10:16 +01:00
Sébastien Villemot e39cb94954 Build system: remove warning about parentheses (we know the priority rules of C++, no need to be reminded) 2011-01-13 19:05:58 +01:00
Sébastien Villemot 572f71881a Preprocessor: add "noreturn" attribute to ParsingDriver::error, to remove some warnings about unitialized variables 2011-01-13 19:04:40 +01:00
Sébastien Villemot 044e3a963b Preprocessor: remove some warnings about comparison of signed with unsigned integers 2011-01-13 19:03:55 +01:00
Sébastien Villemot 6f93b18802 Fix bug in histval with exogenous variables in a stochastic setup 2011-01-13 18:18:57 +01:00
Sébastien Villemot 9c6d65bc0a Fix derivatives of STEADY_STATE operator w.r.t. parameters (ticket #128) 2011-01-13 18:08:26 +01:00
Sébastien Villemot a6a4b3bc28 Preprocessor: no longer use assert(false) as a way of marking impossible cases 2011-01-13 15:52:44 +01:00
Sébastien Villemot 02fd6e668c Add error message for non-implemented features of gamrnd.m 2011-01-13 12:28:44 +01:00
Sébastien Villemot 9e38d85053 Change the formula for empirical autocorrelations, so that the result always lies in [-1,1] (thanks to Johannes Pfeifer for pointing this) 2011-01-12 11:26:02 +01:00
George Perendia 17bc655159 Partial Information: Update with improved, generalised recursive PCL solution method 2011-01-11 21:57:57 +00:00
Sébastien Villemot 284e4c2e46 Bump to year 2011 in license file and manual 2011-01-10 16:39:13 +01:00
Sébastien Villemot 503b055df2 Fixed bugs in varlist_indices.m (thanks to Johannes Pfeifer for pointing them) 2011-01-10 13:11:25 +01:00
Sébastien Villemot 92b1451c70 Removed remnants of calib commands 2011-01-10 12:25:42 +01:00
Sébastien Villemot a9d89821b7 Added new test to testsuite's Makefile 2011-01-10 12:21:18 +01:00
Michel Juillard 05b9c70ae8 removing command CALIB: it has not been working for a long time. Calibration is in fact a special case of method of moments and should be replaced by such a method. 2011-01-04 10:16:38 +01:00
Michel Juillard 256ff761e8 stochastic simulations: fix the number of generated data to be exactly options_.periods
added ./tests/simul
2011-01-02 16:55:15 +01:00
Ferhat Mihoubi 35765ee01c - Matlab wrappers for the "print" option of bytecode 2010-12-31 17:03:19 +01:00
Ferhat Mihoubi ca05db33db - For static model considers two different management cases for temporary terms: one for an evaluated model and another for a simulated model 2010-12-31 16:46:09 +01:00
Ferhat Mihoubi 20f414e0d2 - Extends the error messages in bytecode
- Implements the print option in bytecode
- Minor modifications to manage the global temporary terms
2010-12-31 16:41:50 +01:00
Ferhat Mihoubi 313f64e153 - Adds option 'print' to bytecode
- Manages global temporary terms when the model is evaluated block by block
- Stores the result of a first order derivative only in case of numerical approximation. Do nothing if an external function is called to compute the first order derivatives (it has already been done during the function call)
- Cleans the code
2010-12-31 16:37:34 +01:00
Ferhat Mihoubi 816dbefa28 - Corrections in the debugging conditional preprocessor expressions 2010-12-31 16:29:39 +01:00
Ferhat Mihoubi f46f1831f6 Stores the first order derivatives in the TEFD matrix, when derivatives are computed with a different external function (useful only for printing the model equations) 2010-12-31 16:26:25 +01:00
Ferhat Mihoubi aab5b2a488 - Manages the temporary terms when the model is evaluated block by block 2010-12-31 16:22:24 +01:00
Ferhat Mihoubi 129303430e The direction is not computed in same way in the dynamic case and in the static case 2010-12-31 16:20:35 +01:00
Ferhat Mihoubi a882a25760 - length(args) is used instead of size(args, 2) to avoid to transpose column vectors 2010-12-31 16:16:29 +01:00
Ferhat Mihoubi 2dbeddd1a9 - Manages the temporary terms when the model is evaluated block by block 2010-12-31 16:00:49 +01:00
Ferhat Mihoubi 2707965da1 - extends the compatibility of dr1 with bytecode 2010-12-31 15:56:49 +01:00
Ferhat Mihoubi 7209f3638a - consider a non sparse matrix for the Jacobian for compatibility reasons with dynare_solve 2010-12-31 15:53:28 +01:00
Michel Juillard dfab8d0e6b internal documentation: updating th_autocovariances.m 2010-12-29 15:38:57 +01:00
Sébastien Villemot 9aa79c6140 Another build system fix 2010-12-28 10:50:51 +01:00
Sébastien Villemot 3680d71fe6 Adapted build system for the previous commit 2010-12-27 10:45:42 +01:00
George Perendia 887209208f Estimation C++ DLL: Adding the new Proposal class with common, adjustable seed for both normal and uniform rng and the associated changes including the removal of now obsolete RandSampler class. 2010-12-24 09:49:59 +00:00
Sébastien Villemot 34454ffa8d Reference manual: add a stub for lik_init=3 2010-12-23 11:08:51 +01:00
Sébastien Villemot 88dea171cc Reference manual: update the default value of qz_criterium (see dcc46959b4) 2010-12-23 11:08:22 +01:00
Michel Juillard ba502e66a6 tests: fixing syntax for diffuse_filter, modifying mh_jscale 2010-12-23 08:40:58 +01:00
Michel Juillard dcc46959b4 The default for options_.qz_criterium is now different for different contexts:
qz_criterium = 1+1e-6
- stoch_simul
- osr
- check
- dynare_estimation_1 with lik_init =2 or 3
qz_criterium = 1+1e-6 for dynare_estimation_1 with lik_init = 1

This correct a bug in estimation and computation of the posterior distribution of moments of endogenous variables when the priors permit roots too close to 1.
2010-12-23 08:34:13 +01:00
Sébastien Villemot fa37a6c0a2 getPowerDeriv: workaround for MS Visual Studio 2010-12-22 13:50:13 +01:00
Houtan Bastani a11817cfa4 k-order: added support for m-files, added tests and modified manual 2010-12-22 09:48:05 +01:00
Houtan Bastani d0853e1658 k-order: removed unnecessary check 2010-12-22 09:48:05 +01:00
Houtan Bastani 1a9d6eece5 fixed bug: end _dynamic and _static and getPowerDeriv functions with "end" tags to comply with commit d8dbc68e84 2010-12-22 09:48:05 +01:00
Michel Juillard 6bb8d41909 Revert "- added a test an a penalty in estimation (DsgeLikelihood.m) if, in a stationary model (lik_init==1), a particular parameter set generates unit roots."
There is a better way of dealing with occasional non-stationary models in estimation

This reverts commit 8c0fb55206.
2010-12-22 09:40:39 +01:00
Michel Juillard 8c0fb55206 - added a test an a penalty in estimation (DsgeLikelihood.m) if, in a stationary model (lik_init==1), a particular parameter set generates unit roots.
- modified lyapunov_symm to return absolute value of unit roots in a third argument
2010-12-21 21:26:57 +01:00
Michel Juillard e6da2849c8 preprocessor: Matlab function getPowerDeriv should not be terminated by 'end' because neither _static nor _dynamic are 2010-12-21 20:42:35 +01:00
Marco Ratto ef56f87796 - fix for Octave printf
- missing semicolon
2010-12-20 15:55:46 +01:00
Marco Ratto 55e553f6dc Missing semi-colons 2010-12-20 15:49:55 +01:00
Ferhat Mihoubi 7a58637932 - Displays an error message and interrupts the execution of bytecode in case of unknown function 2010-12-17 18:54:03 +01:00