Commit Graph

5426 Commits (f89edf476e0a5c69fca0cad0236dda343717c7ca)

Author SHA1 Message Date
Sébastien Villemot f89edf476e Start refactoring of penalty handling
Handle all events that lead to a penalty through an exception.
Next steps:
- make all exceptions derive from a common class containing info code and
  penalty value
- catch these exceptions at the top-level, and construct the penalty-adjusted
  likelihood
2013-03-06 17:55:15 +01:00
Sébastien Villemot 82930ee29a Implementation of steady state computation in estim DLL, using the GSL
Does not seem very robust (fails on fs2000), need to investigate why.
2013-03-06 16:58:22 +01:00
Sébastien Villemot 871cbbe448 Construct the filename of the dynamic MEX file only at the deepest level
In the calling chain, only pass the basename of the MOD file.
2013-03-05 14:45:47 +01:00
Sébastien Villemot 325a2ea90e Remove unused field n_exog of DynamicModelDLL class 2013-03-05 13:00:57 +01:00
Sébastien Villemot 3f8c577630 Remove spurious display when there is zero preprocessor warning 2013-03-05 12:53:37 +01:00
Sébastien Villemot 879b8b8309 Remove obsolete section about smoother on calibrated models.
We now have the `calib_smoother' command.
2013-03-05 11:01:08 +01:00
Sébastien Villemot 8d941931a0 Fix bug introduced in ae82c28 2013-03-05 10:31:39 +01:00
Sébastien Villemot 27e1c58575 Merge pull request #311 from JohannesPfeifer/master
Speeding up of forecasting, cosmetic change
2013-03-01 09:01:42 -08:00
Johannes Pfeifer ae82c284dc Deleting redundant line and initializing arrays
Deleted redundant global statement and initialized arrays used
2013-03-01 11:52:11 -05:00
Sébastien Villemot ce427e92bb Merge pull request #305 from JohannesPfeifer/master
Bugfix in Posterior IRFs
2013-02-28 09:23:56 -08:00
Johannes Pfeifer 69b385ccd4 Bugfix in PosteriorIRFs
Fixed ancient copy and paste mistake from stoch_simul for relative IRFs
in Posterior IRFs
2013-02-28 12:00:40 -05:00
Sébastien Villemot 46a59423f2 Revert "Remove unused options_.verbosity"
This reverts commit cacb0470f8.

It was making bytecode crashing. This field will still have to be removed later
when dealing with #295.
2013-02-28 12:20:21 +01:00
Sébastien Villemot 26bc7b55a0 Remove obsolete workaround for Octave 3.2 2013-02-28 10:32:09 +01:00
Houtan Bastani 0219301e23 reporting (WIP) 2013-02-27 13:18:53 +01:00
Sébastien Villemot a64ec3b156 Reorganization of warnings
- at the end of the computation, don't display all preprocessor warnings but
   only their number
 - also display if there has been a MATLAB/Octave warning (counting their
   number does not seem feasible). Closes #181
 - add new "nowarn" option to disable all warnings. Closes #301
2013-02-26 16:50:05 +01:00
Sébastien Villemot cacb0470f8 Remove unused options_.verbosity 2013-02-26 15:14:33 +01:00
Sébastien Villemot b2dcf27c12 estimated_params: check that no symbol is declared twice in the block
Closes #296
2013-02-26 12:37:35 +01:00
Michel Juillard bbd95b3a60 adding Ed Herbst fast implementation of the Kalman filter and test
cases with timing. Still needs preprocessor interface (option) and documentation.
2013-02-21 17:47:16 +01:00
Houtan Bastani 78f8f04598 reporting (WIP) 2013-02-18 18:16:44 +01:00
Houtan Bastani 4fa141762d fix copyright dates 2013-02-15 11:58:30 +01:00
Frédéric Karamé 3c69ee04eb new file that returns only the index for resampling particles 2013-02-15 10:35:32 +01:00
Frédéric Karamé 22a29ab068 modification of the resampling procedure: only one call for all methods 2013-02-15 10:35:32 +01:00
Frédéric Karamé 155f6f3bf7 modification in the call of resampling: only one call now 2013-02-15 10:35:32 +01:00
Frédéric Karamé 9df3857966 Huge modification of the file: uses now the PCA to orthogonalize the state variables to resample
in order to use independent smooth resampling; modification of the input of the procedure since
now no partition is required
2013-02-15 10:32:58 +01:00
Frédéric Karamé d440767b03 minor modification in the call of the smooth resampling procedure 2013-02-15 10:32:58 +01:00
Frédéric Karamé fefb3528c4 modification to make it comformable with the changes in resample.m 2013-02-15 10:32:58 +01:00
Frédéric Karamé 51c5363850 modification of the output to make it conformable with the modification in resample.m 2013-02-15 10:32:58 +01:00
Frédéric Karamé 920d2af8d3 modification of the resampling procedure: only one call for all 2013-02-15 10:32:58 +01:00
Houtan Bastani 1d1137bf4f reporting (WIP) 2013-02-14 18:14:44 +01:00
Sébastien Villemot 77dbf06af4 Update affiliations 2013-02-13 19:16:57 +01:00
Houtan Bastani fe5f61db61 reporting (WIP) 2013-02-12 14:53:36 +01:00
Marco Ratto 73218bd88e bug fix to properly trap different reasons why unique solution is not obtained 2013-02-08 14:31:49 +01:00
Marco Ratto 012c1743dd bug fixes for when run_smoother==0 2013-02-08 14:30:40 +01:00
Marco Ratto 931b22cb26 option kalman_algo was not properly managed by gsa toolbox 2013-02-08 14:29:52 +01:00
Sébastien Villemot 75fbd38524 Handle constant in Kalman filter
Previously, the filter was only working with options_.noconstant, i.e. when the
data are centered.
2013-02-07 18:34:17 +01:00
Sébastien Villemot be2764520a Estimation DLL: explicitly fail with option loglinear or observation trends 2013-02-07 17:00:48 +01:00
Sébastien Villemot 6fc94a12d0 C++ DecisionRules: support models with no static variables 2013-02-07 16:03:11 +01:00
Sébastien Villemot fac7319284 @dynDate.display(): simplify the code by reusing format() 2013-02-07 15:28:43 +01:00
Sébastien Villemot 4b50acbb93 Add more explicit error message when mixing ramsey_policy with varexo_det 2013-02-07 11:52:59 +01:00
Sébastien Villemot ea3d2cd1ed Include right header in definition of LogLikelihoodSubSample 2013-02-05 15:49:47 +01:00
Sébastien Villemot da046d378e Fix typos 2013-02-05 15:49:27 +01:00
Sébastien Villemot a06e3d9714 Clarify error message of logposterior DLL for purely backward/forward models 2013-02-05 14:57:38 +01:00
Sébastien Villemot cfa28a58d3 Add display method for dynDate and dynDates classes 2013-02-05 14:49:30 +01:00
Sébastien Villemot 3a599aee84 Add subsasgn methods to dynDate and dynDates
The rationale is that, in the absence of a subsasgn method, MATLAB and Octave
behave differently. The former refuses any data member update, while the latter
allows all. Providing an implementation is therefore required to have uniform
behavior.
2013-02-05 14:32:08 +01:00
Sébastien Villemot 53f7ab33f3 Remove obsolete dynTime class 2013-02-05 14:30:49 +01:00
Sébastien Villemot 597b850890 Fix typo 2013-02-05 12:49:41 +01:00
Houtan Bastani 68dff500ca bug fix: typo 2013-02-05 11:18:43 +01:00
Stéphane Adjemian (Charybdis) 241afd1ae5 Removed fs2000_particle from the test suite. 2013-02-05 10:37:11 +01:00
Stéphane Adjemian (Charybdis) d63904ec65 Changed options of the estimation command in fs2000_particle.mod (added optimization of the posterior kernel).
In the end the hessian at the mode has the wrong sign...
2013-02-05 10:37:11 +01:00
Stéphane Adjemian (Charybdis) f0ef6c930a Removed call to gaussian_filter_bank routine in sequantial_importance_particle_filter. 2013-02-05 10:37:11 +01:00