Sébastien Villemot
8f1a4cb363
Drop block-decomposed first-order perturbation solution and kalman filter
2023-01-13 16:57:49 +01:00
Johannes Pfeifer
945379a318
resol.m: use isempty instead of length
2022-09-21 09:25:06 +02:00
Sébastien Villemot
10af04c6d8
Use Unicode copyright symbol (in UTF-8 encoding) in all source files
...
It is now supported by the MATLAB editor (as of R2022a).
The old ASCII notation is left in some files that we copy as-is from other
sources (e.g. in the contrib/ and m4/ subdirectories).
The particles submodule is not updated at this point, because it is in an
inconsistent state.
[skip ci]
2022-04-13 14:54:25 +02:00
Johannes Pfeifer
f7a232061a
Remove unused options_-output
...
Prevents accidentally changing something
2021-06-22 18:17:11 +02:00
Sébastien Villemot
766fff88f6
Use secure URL for link to GNU licenses
2021-06-09 17:35:05 +02:00
Johannes Pfeifer
827a7fcaa8
resol.m: reduce inheritance of decision rule info
2021-01-29 10:16:04 +01:00
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