Commit Graph

2960 Commits (641f03b8d0fb23ec87309469fc5bbd77b332334f)

Author SHA1 Message Date
Houtan Bastani 641f03b8d0 fixed bug that would force node sharing when two or more expectation operators had the same expression but different information sets 2010-12-08 12:29:47 +01:00
Sébastien Villemot d4520da481 Preprocessor: fix bug with varexo_det in conjunction with USE_DLL 2010-12-08 11:33:20 +01:00
Sébastien Villemot 9b166fdb08 NaN parameters warning: remove \n, it is not interpreted in a warning context (at least under Octave) 2010-12-08 11:32:45 +01:00
Sébastien Villemot 8b9d0e91b5 Preprocessor: delete remaining dynamic.m file when using USE_DLL 2010-12-08 11:32:13 +01:00
Sébastien Villemot 965ea7280a Build system: add detection and linking of MatIO library for Estimation DLL under Octave 2010-12-08 10:22:44 +01:00
George Perendia fa3e19fdfb C++ Estimation DLL: Update of logMHMCMCposterior.cc with a draft octave MAT draws file save and adding a test random_walk_metropolis_hastings_core.m: Octave version crashes at start of DLL and Matlab version finishes with low acceptance due to frequent B&K and reports error within debugger too - needs more debugging! 2010-12-07 23:03:11 +00:00
Michel Juillard 03fac30723 remove get_innovation_contemporaneous_impact.m that isn't called by the preprocessor or by any other function 2010-12-07 13:43:17 +01:00
Sébastien Villemot 3af62c4ac9 Fixed bug in resid.m (order matters in "or" statement, because of short-circuit: "ind" is not defined if "istag" is false) 2010-12-06 18:24:08 +01:00
Sébastien Villemot 33dee34214 MOD files ending with @#endif/@#endfor but no newline now work (closes #73) 2010-12-06 17:59:30 +01:00
Sébastien Villemot 2d84d8dc49 K-order DLL: code simplification 2010-12-06 17:01:06 +01:00
Sébastien Villemot a9b4331a95 Bugfix at order 3 (hopefully was not affecting final results, thanks to Pablo Winant for spotting this):
- in the 3rd derivatives matrix, among symmetric elements, the first one had
the right values but the following ones were set to zero
- moreover, the k-order DLL was trying to add all the symmetric elements in the
folded tensor, instead of only keeping one value among all the symmetric ones
- hopefully, Ondra's tensor library was (silently) refusing to add symmetric
elements after the first (and right) value had been added
- so the final result was correct
2010-12-06 17:00:46 +01:00
Michel Juillard 0d1fd700c7 Posterior distribution of conditional variance decomposition: storing the steps chosen by the user in a separate field. 2010-12-05 10:47:31 +01:00
Sébastien Villemot ebe69b7cea Reference manual: give the status of the various optimization routines under Octave 2010-12-02 17:43:46 +01:00
Sébastien Villemot 8bb276e603 Reference manual: fix XML error 2010-12-02 17:43:20 +01:00
Michel Juillard 53d391785d corrected bug in get_name_of_the_last_mh_file.m 2010-12-01 09:57:08 +01:00
Stéphane Adjemian (Charybdis) d4a908dda1 Removed useless input argument. 2010-11-30 10:02:37 +01:00
Sébastien Villemot 116bf69fbf Seed: fix bug under Octave and MATLAB < 7.7 2010-11-29 11:23:59 +01:00
Michel Juillard 1fc8bbd6d3 bugs correction in computation of posterior moments for
-conditional variance decomposition
-hpdsup
-moments with no variance in their posterior distribution
modification of computation of conditional variance decomposition
2010-11-28 11:03:40 +01:00
Michel Juillard a2f1ffa19c internal doc modifications 2010-11-27 09:08:07 +01:00
Michel Juillard e7ef737c84 manual: added a note in ESTIMATION on computing smoother for calibrated model 2010-11-27 09:08:07 +01:00
Stéphane Adjemian (Charybdis) 73fb71b9c8 Removed references to options_.simul_seed. 2010-11-27 00:19:22 +01:00
Ferhat Mihoubi 04469ddce1 - Add variable input arguments
- Correct the error condition in A_times_B_kronecker_C
2010-11-26 17:46:02 +01:00
Stéphane Adjemian (Charybdis) 032957b36f Added seeds.mod in the test suite. 2010-11-26 17:41:19 +01:00
Stéphane Adjemian (Charybdis) db54c2d76e Added a routine for setting the random number generator and the seed, independantly of the version of matlab. Removed the calls to rand('state',x) in simult.m and added a test file. Still need to adapt the routines related to mcmc and swz. 2010-11-26 17:16:12 +01:00
Stéphane Adjemian (Charybdis) f8b82430cb Added example1_with_tags.mod in the tests. 2010-11-26 11:27:49 +01:00
Stéphane Adjemian (Charybdis) 90adfc5918 Added a mod file test/example with equations tags. 2010-11-26 10:50:53 +01:00
Stéphane Adjemian (Charybdis) 618f72bc91 resid displays the name of the equations if they are specified in equations tags. 2010-11-25 17:31:11 +01:00
Ferhat Mihoubi ffaec7ba89 - First elements needed for stochastic simulation of a block decomposed model 2010-11-25 16:11:27 +01:00
Ferhat Mihoubi 88cdf0193c - Correction of a bug in the Jacobian Matrix computation for a non block-decomposed model using bytecode 2010-11-25 16:11:22 +01:00
Ferhat Mihoubi 8d79ed5db9 - Adds the derivatives with respect to deterministic exogenous variables
and corrects the computation of the number of column in the jacobian matrices in a block decomposed model without bytecode
- Identical corrections for models using bytecode without block decomposition
2010-11-25 16:11:12 +01:00
Ferhat Mihoubi bdfa881a96 Reorganization of error handling in bytecode 2010-11-25 16:11:05 +01:00
Ferhat Mihoubi 61a251535f Correction of bugs in check command with block decomposition and
Add the missing dr_block m-file
2010-11-25 16:10:46 +01:00
Sébastien Villemot e5c7e848e4 Preprocessor: also perform numeric initializations in stochastic context 2010-11-25 16:07:55 +01:00
Ferhat Mihoubi b356c5e58e add_auxiliary_variables_to_steadystate is compatible with bytecode option
+ minor corrections in steady_.m
2010-11-25 16:00:54 +01:00
Sébastien Villemot 48eb2a83a6 Build system: fix workaround for 64-bit integers in Fortran code 2010-11-25 15:09:59 +01:00
Stéphane Adjemian (Charybdis) 010c4c0c20 Fixed bug in kalman_steady_state.cc related to long integer and (mkl) lapack calls. Changed building system by adding -fdefault-integer-8 flag to gfortran when slicot is compiled on a 64-bits platform. 2010-11-25 14:35:46 +01:00
Stéphane Adjemian (Charybdis) 1626b0aa76 Added specialized code for purely forward models. 2010-11-25 14:32:33 +01:00
Sébastien Villemot 771b4e766c Preprocessor: various cleanups related to the signed vs non-negative numerical constants issues 2010-11-25 13:45:35 +01:00
Sébastien Villemot 1eccfb311a Remove obsolete files 2010-11-25 13:10:10 +01:00
Sébastien Villemot 5a9615951c Kronecker DLL: fix minor issue (was creating a lot of warnings under Octave) 2010-11-24 19:12:03 +01:00
Sébastien Villemot 6c22d398e6 Perfect foresight simulation: clean up handling of warnings 2010-11-24 19:01:46 +01:00
Sébastien Villemot 76d5d441ea Change the syntax for values of deterministic shocks:
Arbirtrary expressions after the "values" keywords must now be enclosed
within parentheses; consider the following example:
<code>
periods 1:2;
values -1 -2;
</code>

In the previous syntax, this was interpreted by the preprocessor as a shock of
value -1-2 = -3 for periods 1 and 2, which is clearly not the intent of the
user; with the new syntax, this will be rejected (too many values compared to
the number of ranges).

Also note that now commas are no longer required between arbitrary expressions,
since the parentheses are sufficient for separating them.
2010-11-24 18:26:43 +01:00
Sébastien Villemot a03516b988 Reference manual: fix the description of deterministic shocks 2010-11-24 13:40:40 +01:00
Sébastien Villemot 43f69d27e8 Kalman steady state DLL: minor fixes 2010-11-22 12:22:45 +01:00
Sébastien Villemot b8aae7bbf9 Fix underscoring problems with Fortran code 2010-11-22 12:22:22 +01:00
Sébastien Villemot 81342073c0 Build system: added kalman_steady_state DLL sources to dist file 2010-11-22 10:39:19 +01:00
Stéphane Adjemian (Charybdis) 9d4385da5d Put back M_.maximum_lag. 2010-11-19 16:30:55 +01:00
Stéphane Adjemian (Charybdis) dfbbc415cd Merge remote branch 'origin/master' 2010-11-19 14:49:26 +01:00
Stéphane Adjemian (Charybdis) 160922a189 Added mex file for computing the fixed point of the riccati equation in the kalman filter.
The mex works with octave but not with matlab (lapack issue again ;-).
2010-11-19 14:39:54 +01:00
Sébastien Villemot b3ee886391 Build system: added libslicot to dist file 2010-11-19 09:22:00 +01:00