Stéphane Adjemian(Charybdis)
3fe758c2b2
Cosmetic change in doc headers.
2018-05-05 21:58:52 +02:00
Stéphane Adjemian(Charybdis)
8f53be2a6f
Impose the consistency of the count of unstable eigenvalues...
...
... Between stoch_simul and check. Added sdim (the number of stable
eigenvalues) and edim (the complementary number of explosive eigenvalues) in dr
structure. The test is always done with sdim (or edim) returned by mjdgges.
2018-05-05 19:53:13 +02:00
Stéphane Adjemian (Scylla)
7be8f10e0e
Use cells of strings instead of char arrays.
2018-01-09 22:30:01 +01:00
Johannes Pfeifer
ce4d8c3544
Cosmetic fix to error message
2017-11-28 10:27:43 +01: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
Johannes Pfeifer
fa1563370c
Make resol.m honor nocheck flag
...
Before, we never tested for correctness, allowing for wrong steady state files in the check command. Fixes bug introduced in 616efb53a448cfa59149951395838627fd1bf719 and restores behavior in 4.4.3
2017-04-21 10:10:03 +02:00
Stéphane Adjemian (Charybdis)
5f5c093b2e
Renamed isestimation function + Cosmetic changes.
2017-03-16 15:00:02 +01:00
Stéphane Adjemian (Charybdis)
927b813ed8
Removed printing of debugging info.
...
Introduced in ffebf6b262
.
2017-02-15 13:35:33 +01:00
Stéphane Adjemian (Charybdis)
ffebf6b262
Check positive steady state for loglinear option...
...
1e-9 is too far from zero. Set 1e-16 as a threshold value for the positivity test.
2017-02-15 12:41:56 +01:00
Johannes Pfeifer
7b03b8aef4
resol.m: make sure oo.dr is correctly updated even if function is aborted prematurely
...
ramsey_policy relies on oo_.dr.ys being set in any case
2016-11-07 11:36:06 +01:00
Houtan Bastani
ccb197e74f
fix copyright dates
2016-05-09 12:42:58 +02:00
Michel Juillard
7e13fe5ef7
fix loglinear option with leaded or lagged exogenous variables
2016-05-05 20:41:02 +02:00
Stéphane Adjemian
ba2c4db88c
Merge pull request #816 from JohannesPfeifer/loglinear_steady_error
...
Integrate error from negative steady state with loglinear model into pri...
2015-03-01 16:30:29 +01:00
Johannes Pfeifer
1eabb1f6da
Change headers to reflect availability of third order approximation
2015-01-27 08:05:57 +01:00
Johannes Pfeifer
bda19832cd
Integrate error from negative steady state with loglinear model into print_info.m
...
Prevents crashes during estimation. Instead of directly crashing, error handling is done via print_info.m so that penalizing the error during estimation is possible
2014-12-04 20:04:36 +01:00
Johannes Pfeifer
9f20aaa8e4
Cosmetic fix to wording of error message in resol.m
2014-11-16 21:08:18 +01:00
Johannes Pfeifer
590c0985f8
Add missing run index to looped variable in resol.m
2014-10-13 20:10:57 +02:00
Johannes Pfeifer
39bfc1dd04
Fix two bug in resol that lead to crashes instead of error messages when loglinear option was used and steady state were negative
2014-06-10 10:58:19 +02:00
Stéphane Adjemian (Scylla)
62aa9b8fa5
Check if the steady state is strictly positive when simulating/estimating a model with loglinear option.
2014-01-30 13:03:03 +01:00
Houtan Bastani
38bc29ff05
clean up resol
2012-12-06 14:58:58 +01:00
Sébastien Villemot
1f9cea669a
Update copyright notices
2012-06-08 18:22:34 +02:00
Ferhat Mihoubi
e2315e587e
oo_.dr needs also to be updated when bytecode option is used
2012-06-06 16:26:47 +02:00
Michel Juillard
30d815afdc
minor changes to new functions and completing headers
2011-12-20 16:34:30 +01:00
Michel Juillard
10c6978369
minor modifications + headers for new functions
2011-12-19 22:33:25 +01:00
Michel Juillard
7c62fafe0c
Merge branch 'master' into dr1break
2011-12-10 20:10:31 +01: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
Sébastien Villemot
721a872343
Fix crash of check(solve_algo=0) under Octave
...
dynare_solve.m calls str2func on the function name, so it crashes if it is
passed a function handle. It needs to be passed a string.
2011-10-12 18:48:57 +02:00
Stéphane Adjemian (Scylla)
d6268cf720
Fixed bugs.
...
(1) Wrong calling sequence for resol routine in check.m.
(2) Replaced steady_state_0 by oo.steady_state in resol.m.
2011-09-17 13:33:57 +02:00
Stéphane Adjemian (Scylla)
24cd423671
Removed globals from resol.m (changed calling sequence). Added texinfo header.
...
Removed trailing whitespace.
2011-09-17 12:53:38 +02:00
Ferhat Mihoubi
95671d8932
A model can be solved with (block and/or bytecode) and linear options
2011-08-11 14:15:50 +02:00
Stéphane Adjemian (Sedna)
ecb0131771
Cosmetic change.
2011-05-06 14:39:00 +02:00
Michel Juillard
e9a52ecae7
removing intermediary printing left behind
2011-05-02 20:56:26 +02:00
Stéphane Adjemian (Gpm)
d55d1d7b10
Cosmetic change related to the previous commit (12e0509510f7d71a8c2556b991eb84ebebe47e18).
2011-05-02 10:24:50 +02:00
Stéphane Adjemian (Gpm)
e8fe8c7711
Added exceptions when the parameters updated in the steadystate file are complex or NaN.
2011-05-02 10:24:50 +02:00
Stéphane Adjemian (Gpm)
14d7ab433f
Added new info value (22) for cases where the steady state given by the steadystate file has NaNs.
2011-04-28 17:53:03 +02:00
Michel Juillard
dcfe3e5749
partly reverting changeset 9f7cfaec00
in order to correct problem in estimation: oo_.steady_state is not updated anymore in resol.m. (steady_state operator is broken in estimation).
2011-03-13 17:04:29 +01:00
Michel Juillard
9f7cfaec00
fixing bug with steady_state operator
2011-03-09 13:43:17 +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
Michel Juillard
f36247ceed
modifications to ramsey_policy code to allow for estimation
2011-01-26 21:24:47 +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
Ferhat Mihoubi
1aceb504fd
Check command is now compatible with block and bytecode options
2010-10-27 15:34:48 +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
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
ferhat
beade4bea1
References to model_mod option are ruled out of M-files
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2878 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-09-02 13:07:59 +00:00
stepan
6cb41e0252
* Added info=19 in resol.m (problem in the steady state file).
...
* Bug fix in prior_sampler.
* Print more informations (BK conditions, steadys state or mjdgges
* problems...) when running get_prior_info.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2567 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-07 22:08:39 +00:00