Commit Graph

7821 Commits (8244862bd18d16808dc9ed827bd4bcfb48643b08)

Author SHA1 Message Date
Stéphane Adjemian (Charybdis) 8244862bd1 Removed "spurious" characters. 2014-10-13 23:01:40 +02:00
Stéphane Adjemian (Charybdis) 9b3337c94d Oups. I forgot to remove a dependency to a binary in tests/Makefile.am. 2014-10-13 22:21:23 +02:00
Stéphane Adjemian (Karaba) 935f74883d Added unit tests for lyapunov_symm routine. 2014-10-13 17:42:53 +02:00
Stéphane Adjemian (Karaba) f99fcfa27f Removed "Do pure Lyapunov tests" section.
This should be done in the lyapunov_symm routine.
2014-10-13 17:42:53 +02:00
Stéphane Adjemian (Karaba) 97b63105a0 Add a parameter to the lyapunov_symm routine (debug mode). 2014-10-13 17:42:53 +02:00
Stéphane Adjemian (Karaba) a9b5fb4263 Fixed test introduced in commit and removed binary file.
Test was introduced in b11d14498aadac17c08b08dd80b6daf7dec9e340.

The binary  file was a mat  file containing a posterior  mode, and the
second estimation must be run iff the control toolbox is available.
2014-10-13 17:42:53 +02:00
Stéphane Adjemian (Karaba) 55808060cf Removed useless input (complete commit 438a671c3873e5c4e1bb02a54080e930fbc11886). 2014-10-13 17:42:52 +02:00
Johannes Pfeifer 7605820dff Add unit test for Lyapunov solver
- tests whether they run within a mod-file
- tests whether they yield the same result for a simple state-space model
2014-10-13 17:42:52 +02:00
Johannes Pfeifer b90f3deed2 Bugfixes and improvements related to method 3 of lyapunov_symm.m
- the function was called with the wrong input argument for this case (Q instead of R*Q*R'), crashing with incompatible matrix dimensions
- the persistent variable X was not updated when the size of it changed, leading to crashes when estimation is followed by calls to DsgeSmoother.m where the state-space is different
- Also eliminates the printed output in lyapunov_symm.m that could not be turned off and clutters estimation
2014-10-13 17:42:52 +02:00
Houtan Bastani 466a6d23a8 preprocessor: add field to store the number of multiplier equations added to ramsey problem. closes #728 2014-10-13 17:25:08 +02:00
Houtan Bastani 3e8acef4cc preprocessor: add field that contains the total number of equations, #728 2014-10-13 17:17:50 +02:00
Houtan Bastani da7d721063 preprocessor: always output the original number of equations 2014-10-13 17:16:41 +02:00
Houtan Bastani 70d00bf2ee remove repetitive none statement introduced in a6009908e4 2014-10-13 16:02:37 +02:00
Stéphane Adjemian 573d276f1a Merge pull request #739 from JohannesPfeifer/Cosmetic_changes
Cosmetic changes, documentation, and small bugfix
2014-10-13 13:39:19 +02:00
Johannes Pfeifer 96df3b0043 Cosmetic changes to error messages
(cherry picked from commit ffa424d9d88dcd534272b154a3d9848df861914b)
2014-10-13 13:05:46 +02:00
Stéphane Adjemian (Karaba) bc1243f501 Removed config for matlab files in .dir-locals.el (for emacs users). 2014-10-13 12:52:51 +02:00
Stéphane Adjemian 78621c03ee Merge pull request #742 from JohannesPfeifer/second_order_hessian_problems
Deal with NaN and Inf in Hessian of dynamic model
2014-10-13 12:49:38 +02:00
Stéphane Adjemian 42bcd22aa2 Merge pull request #756 from JohannesPfeifer/CutSample
Fix bug still present in CutSample.m
2014-10-13 12:37:51 +02:00
Johannes Pfeifer de5875a75b Fix bug still present in CutSample.m
#733 was faulty because it did not account for changes in the first line when more than 1 MH file was present. Now, FirstDraw really denotes the first draw (as opposed to the last draw as before). The subsequent computation of FirstMhFile is then also correct.
2014-10-12 11:33:55 +02:00
Stéphane Adjemian 6c112a2701 Merge pull request #743 from JohannesPfeifer/debug_info_estimation
Add check for NaN parameters to initial_estimation_checks.m
2014-10-10 22:30:12 +02:00
Stéphane Adjemian 06fbf2b2c5 Merge pull request #746 from JohannesPfeifer/rplot
Filter out empty oo_.endo_simul in rplot.m
2014-10-10 22:25:07 +02:00
Stéphane Adjemian (Charybdis) df1e734106 Merge branch 'steady_debug' 2014-10-10 21:47:24 +02:00
Stéphane Adjemian (Charybdis) f4922a8a27 Cosmetic changes. 2014-10-10 21:46:50 +02:00
Stéphane Adjemian 9e3edd6673 Merge pull request #748 from JohannesPfeifer/maxit
Change maxit default value and correct manual
2014-10-10 19:03:56 +02:00
Stéphane Adjemian ee4586d42e Merge pull request #752 from JohannesPfeifer/doc_initval
Expand documentation on varexo in initval
2014-10-10 19:02:27 +02:00
Stéphane Adjemian 37d4cf7e35 Merge pull request #753 from JohannesPfeifer/MCMC_diag
Improve tractability of McMCDiagnostics_core.m by adding header and comm...
2014-10-10 18:46:30 +02:00
Houtan Bastani f4f7a02fd7 Provisions for MATLAB 8.4 (R2014b) 2014-10-10 10:41:04 +02:00
Johannes Pfeifer 1d68ed8da6 Improve tractability of McMCDiagnostics_core.m by adding header and comments. Also uses more intuitive variable names 2014-10-09 10:57:28 +02:00
Johannes Pfeifer c6438122a1 Expand documentation on varexo in initval 2014-10-06 09:03:35 +02:00
ferhat eecf154cc1 Correction of a bug when "block" option is used without "bytecode" option in the "model" statement: for consecutive blocks that are evaluated, only the first one is in fact evaluated but not the following ones 2014-10-04 12:19:52 +02:00
Houtan Bastani f4e40dcf83 more explicit warning when dividing by zero in conversion to static model and when reading model #730 2014-10-03 17:04:07 +02:00
Johannes Pfeifer 3187c70b97 Add debugging info on initial values for steady state computation 2014-09-30 15:05:12 +02:00
Johannes Pfeifer 1ce39ac311 Document new default values for maxit and update manual to reflect that maxit options of deterministic solvers and steady state solvers are different now 2014-09-30 11:48:12 +02:00
Johannes Pfeifer a9bb341b0a Increase default maxit for steady and deterministic simulations
Judging from forum reports, the default fails too often. Closes #747
2014-09-30 11:47:58 +02:00
Michel Juillard 6bbfa2fa6d removed 1e6 in expression forcing a non-singular Jacobian 2014-09-30 08:13:31 +02:00
Michel Juillard 8f47c731dc fixing bug introduced in commit 4185e8af14 2014-09-30 07:58:51 +02:00
Johannes Pfeifer 6a8c968411 Filter out empty oo_.endo_simul in rplot.m 2014-09-29 15:00:45 +02:00
Michel Juillard fa3e77d163 fixing bug in handling options for lmmcp 2014-09-28 10:07:08 +02:00
Michel Juillard 4185e8af14 fixed bug in handling options for ramsey_model 2014-09-28 10:07:08 +02:00
Johannes Pfeifer 127b7b0221 Add check for NaN parameters to initial_estimation_checks.m
Provides important info to debug cryptic crashes in later routines. Mostly applies to cases where people run estimation without stoch_simul
2014-09-25 09:02:36 +02:00
Johannes Pfeifer b43d52278d Deal with NaN and Inf in Hessian of dynamic model
Checks for these cases in stochastic_solvers.m to prevent cryptic crashes in dll-files later on
2014-09-25 08:49:19 +02:00
Johannes Pfeifer 408608db03 Document Univariate Kalman Filter 2014-09-21 11:58:53 +02:00
Johannes Pfeifer 2d39fc62e2 Make sure the output arguments of dsge_likelihood.m are actually set
Before, trend_coeff and ys were sometimes returned as empty
2014-09-21 11:54:43 +02:00
Johannes Pfeifer 3e427020d6 Cosmetic changes in headers 2014-09-21 11:51:46 +02:00
Stéphane Adjemian (Charybdis) 9bd3792161 Reflects Michel's comment on aa503abfa7. 2014-09-20 12:52:59 +02:00
Stéphane Adjemian (Charybdis) e2fd82d403 Merge branch 'cut_sample' 2014-09-20 11:18:16 +02:00
Stéphane Adjemian (Charybdis) cc80c8662c Fixes ambiguity in the output of CutSample routine (second part of PR #733). 2014-09-20 11:17:57 +02:00
Stéphane Adjemian (Charybdis) bfc9719f05 Fix bug in in CutSample.m that led to wrong number of draws for moment computation (first part of PR #733)
FirstLine actually defined the last line. One needs to 1. Otherwise,
Draws in GetAllPosteriorDraws.m will be (NumberOfDraws+1)*nblck.
2014-09-20 11:16:50 +02:00
Stéphane Adjemian (Charybdis) 009f5f7efc Merge branch 'bound_documentation' 2014-09-19 23:39:40 +02:00
Stéphane Adjemian (Charybdis) 9eaf0a1ff5 Correction of PR #734 (model comparison). 2014-09-19 23:39:16 +02:00