Stéphane Adjemian (Charybdis)
2bc7944286
Removed warning.
2020-03-11 12:47:23 +01:00
Stéphane Adjemian (Charybdis)
b4db697e0f
Cosmetic change.
2020-03-11 12:47:02 +01:00
Stéphane Adjemian (Charybdis)
a4519f6b86
Bug fix (solve_algo={12,14}).
...
Removed threshold for detecting the non zero elements in the rows of
the Jacobian matrix. Using tolf as a threshold parameter for identifying
the non zero elements leaded (not systematically) the algorithm to not
reevaluate the residuals of the dynamic model while necessary.
2020-03-11 12:38:59 +01:00
Stéphane Adjemian (Charybdis)
492b0fffea
Cosmetic change.
2020-03-11 12:34:21 +01:00
Sébastien Villemot
d01846e5be
Fix incorrect test for options_.posterior_sampler_options.posterior_sampling_method
...
Thanks to checkcode().
2020-03-10 14:13:49 +01:00
Sébastien Villemot
09c10bed72
Merge branch 'model_diag' into 'master'
...
model_diagnostics.m
See merge request Dynare/dynare!1722
2020-03-10 13:00:45 +00:00
Johannes Pfeifer
99f4fcadcc
model_diagnostics.m
...
Update parameter vector from steady state file and provide correct nocheck flag
2020-03-10 11:06:35 +01:00
Sébastien Villemot
721ae71d09
Merge branch 'no_print' into 'master'
...
Fix bugs related to print_info.m and noprint
Closes #1714
See merge request Dynare/dynare!1721
2020-03-09 09:35:45 +00:00
Johannes Pfeifer
16cbfa7f29
noprint: add integration test
2020-03-08 09:01:00 +01:00
Johannes Pfeifer
16f65a2f33
prior.m: fix missing function input
...
Prevents crashes in "prior moments"
2020-03-08 09:00:33 +01:00
Johannes Pfeifer
b7ef2181f9
print_info.m: Fix bug in error handling
...
get_error_message.m needs to always provide the error string, only throwing out the error message needs to depend on noprint
Closes https://git.dynare.org/Dynare/dynare/issues/1714
2020-03-08 09:00:01 +01:00
Sébastien Villemot
debae9c46f
Merge branch 'ramsey_bug' into 'master'
...
Fix two bugs in Ramsey steady state finding
See merge request Dynare/dynare!1720
2020-03-07 07:42:24 +00:00
Johannes Pfeifer
2004641a10
dyn_ramsey_static.m: abort of steady state file signals error code
2020-03-06 18:55:01 +01:00
Johannes Pfeifer
0a52dedfda
Ramsey with multiple instruments: return properly sized vector if residuals are complex
2020-03-06 18:50:40 +01:00
Houtan Bastani
5068520736
doc: clarify that all options (not just `-D`) should be single quoted when the arguments passed contain spaces
...
[skip ci]
2020-03-06 16:50:36 +01:00
Stéphane Adjemian (Charybdis)
0f96df82e9
Updated dseries submodule.
2020-03-06 11:27:25 +01:00
Houtan Bastani
8d1bbfdd78
macOS installer: update installer text to reflect recent changes; fix acronym for GCC
2020-03-06 11:24:01 +01:00
Houtan Bastani
0e6ba47667
macOS installer: modify messages displayed to user when a connection to github is not found
2020-03-05 16:06:56 +01:00
Houtan Bastani
a42ed77a7f
macOS installer: ensure git is in the path
2020-03-05 16:06:56 +01:00
Houtan Bastani
7690284142
macOS installer: change website tested to `github.com` in case `google.com` is blocked in user's country
2020-03-04 12:11:21 +01:00
Houtan Bastani
72c7a9ff9f
macOS installer: create window using `osascript` command if error encountered
2020-03-04 12:11:20 +01:00
Houtan Bastani
eb6ab0696a
gui: added fields to `oo_` to indicate which commands have been run
2020-03-03 11:45:46 +01:00
Houtan Bastani
2d468b5c1d
replace unused variables with `~`
2020-03-03 11:43:38 +01:00
Sébastien Villemot
3ec1d15107
Fix interaction of “predetermined_variables” with “histval” (preprocessor#47)
...
Also add a corresponding regression test case.
2020-03-02 17:10:58 +01:00
Stéphane Adjemian
c1541bebbf
Merge branch 'Ramsey_estimation' into 'master'
...
testsuite: add integration test for estimation with Ramsey
See merge request Dynare/dynare!1719
2020-03-02 08:30:13 +00:00
Johannes Pfeifer
068a3e4bde
testsuite: add integration test for estimation with Ramsey
...
[skip ci]
2020-03-02 09:17:36 +01:00
Stéphane Adjemian (Charybdis)
2083246a35
Add initial condition for mh_tune_jscale.
...
Closes #1717 .
2020-02-29 13:25:24 +01:00
Johannes Pfeifer
2fcd22059b
Add documentation for the mh_tune_jscale_initial_guess option
...
Related to https://git.dynare.org/Dynare/preprocessor/-/merge_requests/16
2020-02-29 10:28:50 +01:00
Johannes Pfeifer
9e5cb1422d
Save jscale to record structure before running MCMC
...
Useful in conjunction with mh_tune_jscale in cases where the posterior sampler crashes
2020-02-29 10:28:50 +01:00
Stéphane Adjemian (Charybdis)
864d4c25c7
Updated simulation routine for nonlinear backward models.
...
Changes necessary for the latest patches on dynare_solve (solve_algo={12,14}).
2020-02-27 22:58:19 +01:00
Stéphane Adjemian (Charybdis)
67b18710e8
Bug fix and efficiency change.
...
- Even in models where there is only one endogenous variable in the
LHS and where all the LHS are unique, it may be that because of the
preprocessor transformations an auxiliary variable appears in more
than one LHS. If diff(X) is on the LHS of an equation in the original
model, the preprocessor will create an auxiliary variable AUX_DIFF
which will appear in the the original equation, replacing diff(X),
and in a new equation defining the auxiliary variable. In this case
the, the Dulmage-Mendelsohn decomposition will associate AUX_DIFF
with the original equation and X with the equation. This was
problematic in the previous version of the algorithm, since it was
assumed that each equation determines the LHS variable (here AUX_DIFF
= X - X(-1) determines a RHS variable (X).
- Changed the expression for evaluating an LHS variable under a log.
- Improved efficiency by not evaluating the residuals of the model if
not required for solving the current univariate block.
2020-02-27 22:08:21 +01:00
Sébastien Villemot
9c216dc06b
Merge branch 'NK_baseline' into 'master'
...
Update and modernize NK_baseline.mod
See merge request Dynare/dynare!1718
2020-02-26 15:12:08 +00:00
Johannes Pfeifer
00747b497c
Modernize NK_baseline.mod
2020-02-25 19:38:11 +01:00
Johannes Pfeifer
c48542c3f3
NK_baseline_steadystate.m: add copyright notice
2020-02-25 19:33:57 +01:00
Sébastien Villemot
1abd50c2ec
Windows package: remove spurious antislash
...
Introduced in 2ae88722fb
2020-02-25 18:00:28 +01:00
Sébastien Villemot
a5b51b461d
Preprocessor update
...
— Rework the function that handles the macro-expansion of the .mod file
— Rework equation tags (preprocessor#38)
— Provide M_ as an output to stoch_simul and discretionary_policy (!1711 )
2020-02-25 16:37:35 +01:00
Sébastien Villemot
3c30d9f658
Merge branch 'M_output' of git.dynare.org:JohannesPfeifer/dynare
2020-02-25 16:37:02 +01:00
Sébastien Villemot
c84c789f20
Build system: remove useless uninstall rule
...
The Dynare++ binary is already uninstalled by dynare++/src/Makefile.
2020-02-25 16:34:09 +01:00
Sébastien Villemot
2ae88722fb
Build system + Windows/macOS package: provisions for Dynare++’s dynare_simul.m
2020-02-25 16:33:32 +01:00
Sébastien Villemot
d0c7023107
Merge branch 'dynare++_simul' of git.dynare.org:JohannesPfeifer/dynare
2020-02-25 16:25:07 +01:00
Sébastien Villemot
3aaac2b811
Merge branch 'discretionary_bug' of git.dynare.org:JohannesPfeifer/dynare
2020-02-25 16:23:30 +01:00
Houtan Bastani
7a02b3bfd2
various fixes to dynareParallelDelete.m
...
- did not account for cases when username not set (namely when remote is localhost)
- did not account for cases when remote directory was not set (namely when remote is localhost)
- added unnecessary `filesep` to `pname` when `pname` was empty
- ignore unused output arguments (it is necessary to explicitly ignore them to prevent unwanted output from the `system` call)
- globbing did not work as it was expanded on the calling machine not the remote; pass call to `bash -c` to handle this
2020-02-25 16:18:55 +01:00
Houtan Bastani
3d9fe36ec5
ignore unused return value
...
[skip ci]
2020-02-25 14:50:56 +01:00
Houtan Bastani
54fe1c754c
fix typo in variable name
2020-02-25 14:50:55 +01:00
Johannes Pfeifer
f89c1b58d8
Add integration test for steady state parameter updating
2020-02-25 14:48:29 +01:00
Johannes Pfeifer
47a3a1ed2e
Restore dynare_simul.m for Dynare++
...
Got lost in 2169341639
and 9ab832de01
Also adapted it to new 4.6 mex-calling syntax
2020-02-25 14:39:15 +01:00
Sébastien Villemot
f3b7ee6937
Merge branch 'JohannesPfeifer/dynare-eps_loader'
2020-02-25 14:27:17 +01:00
Sébastien Villemot
aca4aa7bc6
Build system: add missing clean rules
2020-02-25 14:22:53 +01:00
Sébastien Villemot
31c19272fb
Emacs mode: add back final line for ELPA compatibility
2020-02-25 14:22:00 +01:00
Johannes Pfeifer
b3849322d4
discretionary_policy_1.m: move setting of dr before return statement
...
Prevents aborting with a cryptic crash
2020-02-25 14:10:45 +01:00