Commit Graph

7512 Commits (d24ad5ac99e5595f7472fe59cf16900f38545f1e)

Author SHA1 Message Date
Stéphane Adjemian (Odysseus) 1c5f6a97c0 Fixed bug in cherry-picking (LHS expressions were wrong).
For instance LHS expression as `diff(log(X))` was replaced by `X` in
the generated model.inc file.
2020-01-29 18:34:26 +01:00
Stéphane Adjemian (Odysseus) b00db0e035 Fixed bug (cannot use a reserved keyword as a tag name). 2020-01-29 18:27:29 +01:00
Stéphane Adjemian (Odysseus) 9590175a9a Fixed loadjson_ routine (when relying on jsondecode).
Fixed issues with escape characters and updated the preprocessor.
2020-01-29 15:54:54 +01:00
Stéphane Adjemian (Odysseus) e39c3bad5b Fixed aggregate if the equation tag name is not available...
... Or has special characters. In this cases we use the LHS variable
as a name for the equation.
2020-01-29 11:38:20 +01:00
Stéphane Adjemian (Odysseus) bb302279ea Do not add tag for block name if rootfolder is empty. 2020-01-29 09:25:23 +01:00
Stéphane Adjemian (Charybdis) d4e16b7ffe
Ensure that the equation tag name matches the LHS variable. 2020-01-28 16:40:31 +01:00
Stéphane Adjemian (Charybdis) dc1b2442db
Added block name to the tags in aggregated models. 2020-01-28 16:40:03 +01:00
Stéphane Adjemian (Charybdis) 32557ce686
Ensure that equations and endogenous variables are unique. 2020-01-28 16:38:15 +01:00
Stéphane Adjemian (Charybdis) 6924e07b20
Use jsondecode to read JSON files if available. 2020-01-28 16:36:40 +01:00
Stéphane Adjemian (Charybdis) 455c806e11
Updated dseries submodule. 2020-01-27 14:03:28 +01:00
Stéphane Adjemian (Charybdis) 3fcca321a2
Bug fixes.
- cherrypick routine was not returning the correct lists of endogenous
   and exogenous variables. The number of endogenous variables was even
   not matching the number of equations.
 - In some cases LHS expressions were not preprocessed to extract the
   name of an endogenous variable.
 - Return a non cryptic error message if more than one endogenous
   variable appears in the LHS.
2020-01-27 14:02:03 +01:00
Stéphane Adjemian (Charybdis) 7e849f01ad
Code factorization. 2020-01-27 14:02:03 +01:00
Stéphane Adjemian (Charybdis) e92fa493a2
Updated dseries submodule. 2020-01-17 18:43:11 +01:00
Stéphane Adjemian (Charybdis) 274b9371f3
Updated dseries submodule. 2020-01-09 17:54:38 +01:00
Stéphane Adjemian (Charybdis) b33c2c3ce2
Updated dseries submodule (bug fixes in backcast method). 2020-01-06 18:38:20 +01:00
Stéphane Adjemian (Charybdis) a40a940d51
Same as 8aa86a22 in Iterative OLS. 2020-01-06 11:03:58 +01:00
Stéphane Adjemian (Charybdis) 8aa86a2244
Save the list of parameter names in pac estimation results (NLS). 2020-01-06 11:03:26 +01:00
Stéphane Adjemian (Charybdis) 4b7f8f21d8 Updated dseries submodule (Fixes for Octave and old Matlab versions). 2019-12-14 10:43:54 +01:00
Stéphane Adjemian (Charybdis) 4fb7ec7f4c Updated dseries submodule (added backcast method). 2019-12-13 14:59:14 +01:00
Stéphane Adjemian (Charybdis) 30cfe6bfc5 Updated dseries submodule (added nanmean method). 2019-12-12 18:17:07 +01:00
Stéphane Adjemian (Charybdis) 98de4e4427 Less cryptic error message when variable is missing in the database. 2019-12-10 22:40:23 +01:00
Dóra Kocsis ce16bbfb8c Implement waitbar in olsgibbs, surgibbs. 2019-12-10 17:03:46 +01:00
Dóra Kocsis 665cd764b8 Return YhatOrig and Yobs in dyn_ols, olsgibbs, sur, surgibbs. 2019-12-10 15:44:14 +01:00
Sébastien Villemot 6f91bde894
Merge remote-tracking branch 'community/master' into enterprise 2019-12-06 16:10:09 +01:00
Houtan Bastani dec7d4fdb4
dynare.m: simplify code 2019-12-06 12:01:58 +01:00
Houtan Bastani 3a223e9c08
fix uncommon bug in parsing dynare command line options
previously, `nopathchange` and `nopreprocessoroutput` were set even if they were values instead of option names.

`nopathchange` would further remove all options that contained `'nopathchange'`

e.g. `dynare example1.mod savemacro=nopathchange` would erroneously set `nopathchange` to true and would delete the `savemacro` option altogether

In the fix, just check that the match starts in position 1 as, if the argument passed is longer than the matching pattern (e.g. nopathchangee), the preprocessor will stop processing with a usage error
2019-12-06 12:01:57 +01:00
Houtan Bastani 5c9476fb57
return YhatOrig in dyn_ols and olsgibbs as the non-transformed Yhat 2019-12-06 10:01:28 +01:00
Stéphane Adjemian (Charybdis) 34a1605a02 Updated git submodule.
[ci skip]
2019-12-05 12:15:36 +01:00
Stéphane Adjemian (Charybdis) 2184195826 Updated dseries submodule.
[ci skip]
2019-12-05 12:10:36 +01:00
Dóra Kocsis da201b29c1 Fix print_equations 2019-12-03 16:01:42 +01:00
Sébastien Villemot 6a89783b65
Merge remote-tracking branch 'community/master' into enterprise 2019-12-03 15:39:59 +01:00
Dóra Kocsis 58feb6496b Fix olsgibbs residual output. 2019-12-03 10:50:11 +01:00
Dóra Kocsis 93d254ef9d Add residuals to olsgibbs function output. 2019-12-02 16:22:11 +01:00
Houtan Bastani 0087eaab93
`precision` was not an accurate variable name; `field_width` is better 2019-12-02 15:34:06 +01:00
Houtan Bastani 196266cbe4
give more space to columns printed by dyn_table 2019-12-02 15:32:38 +01:00
Dóra Kocsis b9af92eb8a Save conditional forecast output in oo_. Closes: Dynare/dynare#1672 2019-11-29 15:25:05 +01:00
Houtan Bastani f2205ed4a1
add nograph option to plot_shock_decomposition
In updating the preprocessor, also update call to plot_icforecast
2019-11-29 15:17:41 +01:00
Houtan Bastani 14384c233f
reporting: correctly handle `showDate` option of report 2019-11-29 12:02:00 +01:00
Houtan Bastani 3ef8564279
reporting: add ability to make title page 2019-11-29 11:36:00 +01:00
Houtan Bastani b126d79918
introduce dynare options `exclude_eqs` and `include_eqs` 2019-11-27 15:53:14 +01:00
Sébastien Villemot c5537e23ae Merge branch 'tolerance' into 'master'
Nonlinear solver: tolerance for first Newton iteration is now smaller than for subsequent ones

See merge request Dynare/dynare!1674
2019-11-27 13:21:51 +00:00
Michel Juillard f70f7761db Nonlinear solver: tolerance for first Newton iteration is now
smaller than for subsequent ones. Closes: #1668
2019-11-27 14:19:01 +01:00
Sébastien Villemot 4a8dd1e8fa Merge branch 'steadystate_file' into 'master'
Remove globals from user-defined steadystate file

See merge request Dynare/dynare!1673
2019-11-26 17:26:19 +00:00
Johannes Pfeifer 0c01c31491 Remove global variables from user-defined steady state files
M_ and options_ are now passed as an input; params is an output as in the _steadystate2.m files
2019-11-26 17:05:14 +01:00
Sébastien Villemot 55d7397d40
Remove utilites for converting oo_ between Dynare versions
It’s not clear that such utilities are useful (people should rather update
their MATLAB). It’s also a lot of work, and it’s probably better to focus on
documenting the incompatibilities.

Closes: #915
2019-11-26 16:26:50 +01:00
Michel Juillard d0247277f9 after check, oo_.dr isn't empty but oo_.dr.ghx + friends don't exist 2019-11-25 21:54:53 +01:00
Stéphane Adjemian (Charybdis) d740af10f3 PAC/nls save lhs and fitted variables. 2019-11-25 17:29:45 +01:00
Stéphane Adjemian (Charybdis) 031456655c Cosmetic changes. 2019-11-25 17:28:56 +01:00
Stéphane Adjemian (Charybdis) 7e7f57d7d1 Encoding fixes. 2019-11-25 11:48:09 +01:00
Michel Juillard f6daa359b7 fix tolf and tolx options for sim1_purely_forward 2019-11-23 22:47:17 +01:00