Commit Graph

10379 Commits (ad21612967f41a60be01994d7423ca3893e11dc6)

Author SHA1 Message Date
Stéphane Adjemian (Charybdis) ad21612967 Removed Octave specific part in mjdgges.m function.
Also force complex QZ factorization in Octave.
2017-04-22 14:44:47 +02:00
Stéphane Adjemian 7f7cb3ea07 Merge pull request #1436 from JohannesPfeifer/resol_steady
Make resol.m honor nocheck flag
2017-04-21 10:16:36 +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
Houtan Bastani 68d24d33af preprocessor: change trend test to warning. #1389 2017-04-20 18:41:28 +02:00
Stéphane Adjemian 7f4c1c6529 Merge pull request #1435 from JohannesPfeifer/cmaes_fitness
mode_compute=9: Make sure initial search volume (SIGMA) is not badly …
2017-04-20 16:33:37 +02:00
Stéphane Adjemian (Charybdis) 7376498e51 Fixed branch for dseries submodule. 2017-04-20 16:28:39 +02:00
Johannes Pfeifer 52a082a1f9 Add check for positive definiteness of Sigma_u^star
Otherwise, complex likelihoods may occur
2017-04-20 16:18:03 +02:00
Stéphane Adjemian (Charybdis) d0682bca30 Updated dseries submodule. 2017-04-20 15:36:06 +02:00
Johannes Pfeifer f1123200e5 mode_compute=9: Make sure initial search volume (SIGMA) is not badly conditioned 2017-04-12 13:39:34 +02:00
Stéphane Adjemian f7c869c2de Merge pull request #1432 from JohannesPfeifer/ramsey_typo
Fix typo in error message
2017-04-06 09:04:32 +02:00
Johannes Pfeifer 59ab66f9a0 Fix typo in error message 2017-04-06 08:41:12 +02:00
Stéphane Adjemian (Charybdis) 97ac502d3d Fixed wrong threshold (unit root detection again). 2017-04-05 14:14:56 +02:00
Stéphane Adjemian (Charybdis) 288f010944 Fixed bug (detection of unit roots). 2017-04-05 14:11:23 +02:00
Stéphane Adjemian (Charybdis) f57fc0a5a3 Added new routine for model inversion. 2017-04-05 13:42:03 +02:00
Ferhat Mihoubi 857fc3c4f4 Corrects several bugs related to bytecode:
- Memory allocation is checked
- The amount of memory allocated for conditional forecast is corrected
2017-04-05 11:48:40 +02:00
Stéphane Adjemian (Charybdis) 8a18e87d98 Removed persistent variables in evaluate_smoother routine.
Closes #1412.
2017-04-05 11:44:27 +02:00
Stéphane Adjemian (Charybdis) 19b206338d Fixed tests/dates/fs2000.mod and added in testsuite.
Provides an example showing how to directly pass a dseries object to the data
command for estimation.
2017-04-05 11:44:27 +02:00
Stéphane Adjemian (Charybdis) d43af0e4d7 Fixed wrong spaces/tab in tests/Makefile.am. 2017-04-05 11:44:27 +02:00
Johannes Pfeifer 00299a92c1 Make sure options_.first_obs is properly set 2017-04-05 11:44:27 +02:00
Houtan Bastani 636b959a02 preprocessor: add warning for potential non-linearities in model declared linear. #1404 2017-04-05 11:07:34 +02:00
Houtan Bastani 753d8a17f0 preprocessor: move equation tags out of dmath mode, include all equation tags in one set of brackets, allow equation tags to be interpreted as latex, modify manual and test accordingly. #477 2017-04-05 11:01:25 +02:00
Houtan Bastani 5244c814c0 Merge pull request #1430 from JohannesPfeifer/write_equation_tags
Add write_equation_tags option to integration test
2017-04-05 10:20:12 +02:00
Johannes Pfeifer 59bafbf294 Add write_equation_tags option to integration test 2017-04-04 23:52:39 +02:00
Houtan Bastani 14f4544a29 preprocessor: add option to write equation tags in latex output. closes #477 2017-04-04 16:08:30 +02:00
Houtan Bastani 052d62e150 preprocessor: remove unused filed histval_present from mod_file_struct 2017-04-03 15:23:01 +02:00
Stéphane Adjemian (Charybdis) c1434118bd Added integration test for nonlinear filters with unit roots. 2017-04-03 11:25:05 +02:00
Stéphane Adjemian (Charybdis) 4dcdb81a31 Changed error message introduced in 30c9b3721564d89d1b85abcdc75d493075e6ca77. 2017-04-03 11:25:05 +02:00
Stéphane Adjemian (Charybdis) ade89a9ec1 Fixed missing initialization of qz_criterium with nonlinear filters. 2017-04-03 11:25:05 +02:00
Johannes Pfeifer 76c4bd04fe Provide informative error message if non-stationary model is estimated using particle filter
Closes #1377

(cherry picked from commit efaa7e54136ffd48fb69e075ecacf9708a553d3b)
2017-04-03 11:25:05 +02:00
Stéphane Adjemian (Charybdis) f9a462bf07 Added option nonlinear_filter_initialization.
Default value is 1 (initialization with the ergodic variance of the reduced
form solution of the model approximated at order one).

If the model has unit roots, the user must use `nonlinear_filter_initialization=3`,
which select an identity matrix for the initial covariance matrix of the state variables.

A side effect of this option is to temporarily change the value of options_.qz_criterium to
a value above one (ie 1+1e-6) so that the unit roots are not rejected. If the
model has unit roots and if the and if the option
nonlinear_filter_initialization has a value less than 3, the evaluation of the
likelihood will fail, because by default the unit root is counted as an
unstable root.
2017-04-03 11:25:05 +02:00
Stéphane Adjemian (Charybdis) 97e185bc6e Cosmetic changes in doc header. 2017-04-03 11:25:05 +02:00
Stéphane Adjemian (Charybdis) 8eefb6a747 Fixed warning introduced in b5c353f5a3. 2017-04-03 11:25:05 +02:00
Stéphane Adjemian e7835e2504 Merge pull request #1429 from JohannesPfeifer/affiliation
Update affiliation of Johannes
2017-04-02 18:46:46 +02:00
Johannes Pfeifer b64aa57bc3 Update affiliation of Johannes 2017-04-01 19:59:29 +02:00
Houtan Bastani f18c16653e Merge pull request #1428 from JohannesPfeifer/patch-1
Test the rank of Pinf in univariate smoother for the subset of observables
2017-04-01 09:57:32 +02:00
Johannes Pfeifer 1755192e63 Make 792924 consistent with cases where Pinf is an empty matrix
Fixes the crash in `analytic_derivatives/fs2000_analytic_derivation.mod`
2017-03-31 17:41:38 +02:00
Houtan Bastani 1891ab70f8 preprocessor: add options plot_init_date and plot_end_date to plot_shock_decomposition 2017-03-31 14:38:44 +02:00
Houtan Bastani ac851b0bac preprocessor: initial_condition_decomposition front end. closes #1425 2017-03-31 13:19:04 +02:00
Houtan Bastani 3e779ebfee initial_condition_decomposition: fix options_ substructure 2017-03-31 13:09:21 +02:00
Marco Ratto 792924a3b7 - test the rank of Pinf in univariate smoother for the subset of observables, in order to trap cases where this is not already trapped in compute_Pinf_Pstar.m
- issue warning when diffuse steps never end [maybe we should issue an error?]
2017-03-30 11:21:54 +02:00
Johannes Pfeifer bf607ce630 Make sure no stale _posterior_draws.mat files are present
May crash compute_moments_varendo.m due to more files being present than generated in the current run
2017-03-29 14:52:32 +02:00
Johannes Pfeifer 839e7075f6 dsge_simulated_theoretical_covariance.m: fix bug that led to last _2ndOrderMoments*.mat file not being saved, instead overwriting the prior one
Produced wrong posterior covariance estimates in large models, because the moments matrix contained zeros that were not overwritten by loaded draws due to missing file
2017-03-29 14:52:32 +02:00
Johannes Pfeifer 8d2dcc422f Clarify error message if model-local variable was already used on RHS 2017-03-29 14:49:37 +02:00
Houtan Bastani 12f8e5f512 plot_shock_decomposition: remove argument to steadystate option 2017-03-28 12:15:00 +02:00
Houtan Bastani 6571f7ea68 doc: fix changes merged in ad2e1ffc8d 2017-03-28 11:56:38 +02:00
Houtan Bastani ad2e1ffc8d Merge pull request #1424 from JohannesPfeifer/manual
Manual changes related shock_decomposition
2017-03-28 11:52:51 +02:00
Johannes Pfeifer b5f989ccb1 Manual: Define integer_vector 2017-03-28 11:39:44 +02:00
Johannes Pfeifer 368262d5f1 Update manual on realtime_shock_decomposition following Marco's description 2017-03-28 11:35:27 +02:00
Johannes Pfeifer b5c353f5a3 Prevent Texinfo from replacing straight quotation marks in codes by italic ones 2017-03-27 12:36:18 +02:00
Johannes Pfeifer 14b8604de5 Restructure manual on shock_decomposition
- Introduces proper definition of output variables
- Clarifies various options
2017-03-27 12:35:36 +02:00