george
3bf9d8d487
Corrected and commented out the penalty power on info(2) because penalty power is already raised in DR1.m and resol respectively.
...
GP July'08
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1968 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-07-28 10:15:27 +00:00
george
827261166c
Added use of G Anderson AIM - see Readme.txt in the new AIM subdirectory.
...
DR1 tries to invoke AIM if options_.useAIM == 1 is set.
for start, options_.useAIM = 0 is set by default in global_initialization.m so that system uses mjdgges by default.
If AIM is to be used, options_.useAIM = 1 needs to be set either in the model <>.mod file, before invoking, estimate and/or stoch_simul, or by issuing appropriate command for estimate and/or stoch_simul.
However, if other exceptions occur and aimcode is higher than 5, the system resets options_.useAIM = 0 tries to use mjdgges instead.
GP July '08
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1967 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-07-28 09:53:36 +00:00
george
bee92a9714
The path to the AIM directory is added by dynare_config.m
...
for start, options_.useAIM = 0 is set by default in global_initialization.m so that system uses mjdgges by default.
If AIM is to be used, options_.useAIM = 1 needs to be set either in the model <>.mod file, before invoking, estimate and/or stoch_simul, or by issuing appropriate command for estimate and/or stoch_simul.
GP July '08
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1966 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-07-28 09:46:07 +00:00
george
8225da0e7e
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1965 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-07-28 09:42:22 +00:00
michel
c9cf49e30b
options_.nk default is now set to 1
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1963 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-07-26 14:15:21 +00:00
adjemian
6b0ba30fb9
Bug correction.
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1962 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-07-25 08:26:20 +00:00
michel
6ff7605f58
added missing semicolon
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1960 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-07-21 20:20:53 +00:00
michel
f78c7f3400
corrected bug in returned argument sequence
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1959 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-07-21 13:51:43 +00:00
michel
994af45929
made it possible to force the univariate filter in estimation, mostly for testing purpose
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1958 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-07-18 23:02:53 +00:00
sebastien
308166f1f5
v4 matlab/doc: removed obsolete directory
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1953 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-07-11 14:13:28 +00:00
sebastien
491e5aabd0
v4 lyapunov_symm.m: fixed bug (one cannont change the counter of a 'for' loop from inside the loop)
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1950 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-07-10 13:22:50 +00:00
adjemian
eeb0bee292
Initialization of the deterministic simulation is made optional. Added an option for homotopic solution to deterministic models (not ready).
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1944 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-07-09 08:47:38 +00:00
sebastien
d9ffbb3e79
v4 dynare.m: cosmetic changes
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1942 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-07-08 15:52:55 +00:00
sebastien
57f4d42a5b
v4:
...
* added a warning when Matlab < 6.5 or Octave < 3.0.0
* created octave_ver_less_than.m
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1941 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-07-08 15:45:10 +00:00
adjemian
b99a83d1be
Moved use_qzdiv in options_ (defined in global_initialization.m), so that we do not have to test the mjdgges file and define use_qzdiv each time dr1.m is called.
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1940 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-07-08 14:29:11 +00:00
adjemian
20fb13f7c2
* Added five points formula for gradient evaluation.
...
* Cosmetic changes in numgrad3.m
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1939 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-07-08 08:18:54 +00:00
sebastien
e8d6dd1ef3
v4 matlab: use my_ordeig instead of ordeig for Octave and for Matlab < 7.0.1
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1938 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-07-07 21:48:12 +00:00
sebastien
2d4d93df13
v4 my_ordeig.m: fixed bug with 2x2 blocks: the second complex eigenvalue was not the conjugate of the first! (bug caused by manual incrementation of the index of a for loop; a while loop solves the issue)
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1937 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-07-07 21:38:43 +00:00
sebastien
ddaaf9e1e3
v4 matlab:
...
* added a function matlab_ver_less_than() for testing Matlab version
* updated dynare_config.m and build_matlab.m accordingly
* removed tests to check whether we are older than Matlab 6.5 (R13), since we don't support those old versions anymore
* removed a few unnecessary uses of eval()
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1936 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-07-07 17:08:55 +00:00
adjemian
27886047cf
* Changed numgrad.m. If fcn(x+h) is not well defined (for instance cost_flag=0 because of BK conditions) we compute the gradient using (fcn(x)-fcn(x-h))/h instead of the original formula (fcn(x+h)-fcn(x))/h.
...
* Added function numgrad3.m. This new function uses a three point formula to compute the gradient. By default Dynare uses the two point formula. By setting options_.gradient_method=3 Dynare switches to the three point formula. Note that an input argument has been added to csminwel.
* Added automatic detection of needed constant in dsge-var model (may be problematic is some cases)
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1935 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-07-07 12:58:13 +00:00
adjemian
7f927eff00
Changed penalties.
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1934 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-07-07 12:31:51 +00:00
sebastien
de66e31008
v4 qbeta.m: quick fix for Octave
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1932 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-07-04 13:37:01 +00:00
sebastien
4993de5e95
v4 read_variables.m: more explicit error message if datafile does not exist
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1931 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-07-04 13:27:21 +00:00
sebastien
6fa483bd3f
v4 prior_posterior_statistics.m: Octave compatibility issues:
...
* added missing .mat extensions
* use text waiting bar instead of waitbar()
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1930 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-07-04 13:20:49 +00:00
adjemian
3ac7bab6f0
Replaced | by || in conditional statements.
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1929 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-07-04 12:50:08 +00:00
adjemian
6827fc7c28
Replaced & by && (compatibility with octave issue).
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1928 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-07-04 12:41:01 +00:00
adjemian
4553ceca01
Bug correction (MAX_error replaced by MAX_nerro, for models with measurement errors).
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1927 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-07-04 12:21:52 +00:00
sebastien
e9be36f6ad
v4 octave: fixed a problem with infinite eigenvalues in dr1.m
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1926 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-07-04 09:57:01 +00:00
michel
b1c4c4537b
added missing ';'
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1925 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-07-03 11:23:32 +00:00
michel
fe54c7ca07
adding functions and fixing bugs for diffuse filter
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1924 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-07-02 12:53:24 +00:00
michel
5ba344d75c
bug correction
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1923 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-07-02 11:49:19 +00:00
michel
2c8a9d2f60
cleaning diffuse algorithms
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1922 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-07-02 11:48:14 +00:00
michel
bfe76b3c4b
updating dynare_m.exe
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1921 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-07-02 11:46:51 +00:00
michel
f91d9dbf7c
adding back DsgeLikelihood_hh.m
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1920 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-07-02 11:39:58 +00:00
michel
a148c0a3f1
undoing changes
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1919 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-07-02 11:38:44 +00:00
michel
36f264a1ca
put back DsgeLikelihood_hh.m that is used by option 5 of the optimizer
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1918 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-07-02 11:15:19 +00:00
michel
9074fdba91
updating dynare_m.exe
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1917 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-07-02 09:34:22 +00:00
michel
333915e07a
removing unused function DsgeLikelihood_hh.m
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1915 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-07-02 08:17:12 +00:00
michel
d0b87d6c32
corrections to optimal policy code required by making M_, options_, oo_ and it_ local
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1914 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-07-02 07:42:50 +00:00
sebastien
cc66aebdb8
v4 pm3.m: disabled PDF and FIG output for Octave
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1912 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-07-01 11:17:00 +00:00
adjemian
c86ba80007
Added posterior multivariate auto-correlation analysis
...
+ Changed load instruction in selec_posterior_draws for octave compatibility.
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1911 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-07-01 11:03:23 +00:00
adjemian
adb5f730f5
Bug correction.
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1910 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-07-01 09:37:52 +00:00
adjemian
b8736dc337
Changed \Plots\ to /Output/
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1909 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-07-01 09:36:58 +00:00
sebastien
703d0fb542
v4 matlab: updated preprocessor binary for win32
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1907 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-06-29 20:32:46 +00:00
sebastien
e08cad8265
v4: merged Octave branch into trunk
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1899 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-06-24 18:20:48 +00:00
adjemian
f12c2f4ed6
Bug corrections and cosmetic changes.
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1897 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-06-24 17:13:36 +00:00
sebastien
67d98a4a7b
v4 matlab: removed useless asamin.m and added an error message for mode_compute=2
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1893 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-06-23 10:58:32 +00:00
michel
69f3a0b28a
corrected bug in filter shock decomposition when kalman_algo = 4
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1891 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-06-21 16:17:57 +00:00
adjemian
341adad2e9
Added new functions for posterior distribution processing (second order moments) + Removed global variables.
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1890 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-06-21 08:33:31 +00:00
adjemian
2dab221499
Removed global structures in dr1.m + Indentation in dr1.m + Changed header in dr1.m
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1881 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-06-19 09:45:28 +00:00