Michel Juillard
7c9ce9152d
fixing bug in error message for failed homotopy (steady)
2012-11-28 21:32:15 +01:00
Sébastien Villemot
1f9cea669a
Update copyright notices
2012-06-08 18:22:34 +02:00
Michel Juillard
c6fd17bc30
print residuals when steady fails. Printing steady state or residuals
...
is controlled by options_.noprint
2012-05-20 21:36:29 +02:00
Michel Juillard
d064db34ab
Cleaning homotopy1. Removing globals from homotopy3. Now it returns
...
last successful values when it fails
2012-05-20 08:47:54 +02:00
Michel Juillard
1316bd9555
fixed issues relative to homotopy (type I) when the user wants to
...
continue after homotopy fails. Option stop_on_error is removed. Option
homotopy_force_continue is added.
2012-05-17 17:27:07 +02:00
Michel Juillard
f7cf75a228
fixed problems with trying to make homotopy robust to problems in one run.
2012-04-23 16:57:46 +02:00
Michel Juillard
41e027aee3
added steady option stop_on_error. stop_on_error = 0 permits to
...
continue (for example, when chaining homotopy steps), even if the
steady state computation was not successful.
2012-04-16 22:40:50 +02:00
Sébastien Villemot
de337ad72e
Remove spurious initialization of oo_.endo_simul in steady
2011-12-28 10:52:16 +01:00
Stéphane Adjemian (Charybdis)
7aeb881e3a
Temporarily set the variance of the shocks to zero when computing or checking the deterministic steady
...
state. This is necessary if the model contains mean preverving spread terms.
2011-12-04 23:57:46 +01:00
Michel Juillard
130d9fca76
removed useless set_option() statement
2011-10-20 20:40:15 +02:00
Michel Juillard
36d5462328
options_.jacobian_flag is now set in global_initialization.m
2011-10-20 20:40:15 +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)
e614227c3f
Added warning message when some of the deep parameters are not initialized.
2010-11-17 17:09:39 +01: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
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
a2cef7009d
Fixes for ticket #57
...
preprocessor:
* add a field "M_.orig_endo_nbr" containing the nbr of endogenous before adding aux vars
* always provide "M_.aux_vars" (define it to "[]" when there is no aux var)
* rename "M_.aux_vars().orig_endo_index" to "M_.aux_vars().orig_index"
M-files:
* for commands which accept a list of variables (stoch_simul, osr, estimation, dynasave, dynatype, datatomfile), when no variable is given, use only the set of original endogenous (without aux vars) as the default
* when displaying the decision rule, when there is aux vars in the state variables, replace them by their original name (with the right lag)
* in "steady", don't display aux vars
* special exception for ramsey policy: all vars (including aux vars) are displayed, because the system of aux vars from ramsey policy is not compatible with the aux vars from the preprocessor
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3166 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-11-25 10:22:39 +00:00
sebastien
a03af050af
undoing r2110 and r2111 changesets
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2112 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-09-25 12:29:35 +00:00
michel
464e29706f
reverted r2010 because of problem with FILENAME token
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2111 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-09-25 12:10:12 +00:00
sebastien
0c23ac2b06
v4 matlab:
...
* fixed various copyright headers
* added URL pointer to C. Sims' original files
* removed obsolete dgamma.m
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2018 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-09-02 15:18:05 +00:00
adjemian
4580290dae
Bug correction related to initialization of deterministic simulations (i forgot to commit this file).
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2011 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-09-01 10:13:10 +00:00
sebastien
db50368418
v4 matlab: fixed some existing copyright headers (and some other minor header issues)
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1974 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-08-01 12:40:33 +00:00
michel
a148c0a3f1
undoing changes
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1919 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-07-02 11:38:44 +00:00
michel
36f264a1ca
put back DsgeLikelihood_hh.m that is used by option 5 of the optimizer
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1918 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-07-02 11:15:19 +00:00
sebastien
367948e4db
v4 matlab+preprocessor: the three homotopy modes should now work
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1769 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-03-31 16:19:16 +00:00
adjemian
48f23191fb
For deterministic simulations of a path between an arbitrary initial condition and the steady state, the path is initialized with the solution obtained from a first order approximation of the model => The number of iterations required for the convergence of the Newton is less important, and on a simple growth model with CES technology I observe also a reduction of the error size.
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1703 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-02-11 14:42:46 +00:00
assia
2b52d9240d
header updated
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1547 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-01-10 14:34:44 +00:00
assia
3132de3434
header updated
...
deleted useless 'linear' argument
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1545 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-01-10 14:27:28 +00:00
michel
4baff7fdd2
v4: changed oo_.y_simul in oo_.endo_simul
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@849 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-07-31 15:46:55 +00:00
ratto
9bb51ca940
Corrected name of steady state file
...
_ was missing before steadystate
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@839 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-07-26 08:32:05 +00:00
adjemian
6eac49b1d7
Correction of bugs related to the _steadystate file.
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@822 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-07-17 08:47:30 +00:00
michel
ac5a09a233
v4: cleanup unused function
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@780 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-06-02 07:42:00 +00:00
michel
8ef7347759
more functions adapred to v4
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@452 ac1d8469-bf42-47a9-8791-bf33cf982152
2005-09-11 14:20:10 +00:00
michel
9a9872fd33
dynare_v4 from CVS
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@8 ac1d8469-bf42-47a9-8791-bf33cf982152
2005-02-18 19:54:39 +00:00