Michel Juillard
76407c97b5
corrected bug in computation of dr.ghs2 introduced in commit 84eaaaf759
2011-12-02 11:41:42 +01:00
Michel Juillard
84eaaaf759
fixed another bug with missing current value at 2nd order
2011-12-01 22:07:29 +01:00
Michel Juillard
8df1b5d1e8
fixed bug in 2nd order approximation introduced in commit 0303b1c02b
2011-12-01 22:07:29 +01:00
Michel Juillard
0303b1c02b
fixed bug at order 2, when a variable is absent at the current period;
...
cleaned code that is useless since we transform leads and lags on
period > 1
2011-11-26 19:29:57 +01:00
Michel Juillard
b58eaa8e2b
introducing new test for 0/0 case in mjdgges
2011-11-18 22:12:36 +01:00
Michel Juillard
1cd827b5ad
removed faulty test for small elements on the diagonal of ss and tt
2011-11-18 18:44:05 +01:00
Michel Juillard
e2dd3cb88f
fixing more problems with steady state refactoring
2011-10-13 17:14:41 +02:00
Michel Juillard
ee7078e56c
factoring out steady-state computations; steady_state_model now
...
generates <fname>_steadystate2.m returning parameters as well in case
they have been modified by the user. Added several test cases.
2011-10-12 21:51:14 +02:00
Stéphane Adjemian (Charybdis)
560800bcc5
Changed the order of the output arguments in kronecker product related mex routines.
2011-09-05 18:57:42 +02:00
Michel Juillard
044d19c5d2
fixed bug in detection of near 0/0 eigenvalues
2011-09-04 14:59:48 +02:00
Michel Juillard
3c0ebb4cc5
added error for near 0/0 on diagonal of Real Generalized Schur decomposition (info=7) and corrected error in test for singular w1 submatrix, introduced in Sept. 2010.
2011-09-01 11:37:40 +02:00
Houtan Bastani
d22b86c2d8
clarify error message
2011-08-30 16:11:59 +02:00
Michel Juillard
cee82819f3
changed test for NaN and Inf in Jacobian, changed info error number, changed error message
2011-08-18 22:22:23 +02:00
Michel Juillard
2de9113889
update to ramsey_policy
2011-07-24 20:56:30 +02:00
Michel Juillard
1617b6a410
improving Ramsey policy
2011-06-22 11:31:35 +02:00
Stéphane Adjemian (Gpm)
60c2211ce7
Added error message when options_.qz_criterium is empty.
2011-05-03 12:41:45 +02:00
Michel Juillard
554849a704
modifyimg *.m files for ramsey_policy when FOC are computed by the preprocessor
2011-03-27 16:54:49 +02:00
Ferhat Mihoubi
31b6c08347
Correct a bug when the model contains deterministic exogenous variables and bytecode option is used.
...
Note that stochastic simulations do not work for the moment with block option.
2011-03-18 01:09:20 +01:00
Ferhat Mihoubi
f48aa28e39
Corrections for steady_state operator bug with bytecode. bytecode is now fixed.
2011-03-14 17:46:00 +01:00
Michel Juillard
55bb27c5f6
new correction for steady_state operator bug. Steady_state vector is passed as argument to *_dynamic model function. As a result, bytecode is currently broken.
2011-03-13 17:06:57 +01: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
85332744d8
Ticket #59 : add cases for errors that were not being caught and convert AIM error codes so that they don't overlap with other error codes in print_info
2011-02-04 15:47:56 +01:00
Michel Juillard
f36247ceed
modifications to ramsey_policy code to allow for estimation
2011-01-26 21:24:47 +01:00
Michel Juillard
91e30d45f7
corrected bug related to ramsey_policy
2011-01-26 21:24:46 +01:00
Ferhat Mihoubi
2707965da1
- extends the compatibility of dr1 with bytecode
2010-12-31 15:56:49 +01:00
Ferhat Mihoubi
b356c5e58e
add_auxiliary_variables_to_steadystate is compatible with bytecode option
...
+ minor corrections in steady_.m
2010-11-25 16:00:54 +01:00
Stéphane Adjemian (Charybdis)
d60c32e6a2
Fixed bug in dealing with _steadystate functions that modify deep parameters. See trac ticket #103 .
2010-11-15 14:35:21 +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
Ferhat Mihoubi
1aceb504fd
Check command is now compatible with block and bytecode options
2010-10-27 15:34:48 +02:00
Sébastien Villemot
609293b398
dr1.m: move up error message for purely forward models, otherwise it is not displayed with k_order_perturbation
2010-10-14 11:36:13 +02:00
Sébastien Villemot
153f627dfe
Explicit error message for 2nd and 3rd order purely forward models
2010-10-13 18:52:13 +02:00
Pablo Winant
45ebd1b3fb
Compatibility fix for Octave. In dr1, line 384, if w1 is a scalar, condest(w1) raises an error in octave. It is equal to 1 in matlab.
2010-09-23 11:33:54 +02:00
Houtan Bastani
982b4d0491
gensylv: remove instances of mexErrMsgTxt
2010-09-23 10:45:27 +02:00
Houtan Bastani
e57056ad14
sparse_hessian_times_B_kronecker_C: remove instances of mexErrMsgTxt
2010-09-23 10:45:18 +02:00
Houtan Bastani
ca24c92ed7
A_times_B_kronecker_C: remove instances of mexErrMsgTxt
2010-09-23 10:45:08 +02:00
Houtan Bastani
7b0d6da920
mjdgges: remove instances of mexErrMsgTxt
2010-09-23 10:44:59 +02:00
Michel Juillard
3d0420d220
corrected bug in dr1 when used for check of eigenvalues in a deterministic setup (simul and not stoch_simul)
2010-07-23 10:52:33 +02:00
Michel Juillard
039611223b
Author: Michel Juillard <michel.juillard@ens.fr>
...
--- log message follows this line ---
ramsey_policy adding printing of steady state value of Lagrange multipliers
2010-06-01 20:35:27 +02:00
Michel Juillard
124a6c5c12
correct bug when <fname>_steadystate.m file changes the value of parameters + display steady state in Ramsey policy
2010-05-29 07:48:00 +02:00
Michel Juillard
7f74639cc1
ramsey_policy: dr1 returns with info(1)=20 and info(2) = resids'*resids if we can't find the steady state under Ramsey policy
2010-05-21 15:57:27 +02:00
michel
2b5e551ad2
trunk: added error message for 2nd or 3rd order approximation of purely backward models (to be merged in 4.1)
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3275 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-19 15:37:56 +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
michel
9f57f73d74
4.1: shortcircuit simplified code for backward models when order > 1
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3243 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-15 15:07:48 +00:00
michel
28f5c66f5d
4.1: fixing bug in estimating backward models with loglinear option
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3242 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-15 14:12:53 +00:00
michel
0cf6180bb8
4.1: removed commented out code
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3241 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-15 13:33:03 +00:00
sebastien
cf77c3f245
* Fix USE_DLL option at order 2 ( closes #64 )
...
* Added a corresponding test
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3236 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-14 11:06:29 +00:00
michel
74a8acc29c
4.1 adding instruments option to ramsey_policy; ramsey_policy can now use a *_steadystate.m file
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3219 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-10 14:59:32 +00:00
michel
48dad3e37a
4.1: add preprocessor interface for k_order_solver
...
rename use_k_order to k_order_solver in Matlab procedures
fix tests
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3179 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-11-30 19:54:45 +00:00
michel
a715408698
v4.1: Matlab routines for k_order_perturbation
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3171 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-11-29 21:01:40 +00:00