Johannes Pfeifer
d1a80acb44
Replace non-available simulated annealing by Matlab's routine
...
Closes #814
2015-04-06 11:28:32 +02:00
Johannes Pfeifer
39ed3eb3f0
Fix bugs related to allowing mode_compute to be a string
...
Crashes otherwise
2015-04-06 11:24:42 +02:00
Johannes Pfeifer
a81c9da9a2
Add simulated_annealing.m to optimizers
...
Restores compatibility of mode_compute=102
2015-04-06 11:08:20 +02:00
Johannes Pfeifer
405b1f7368
Add solvopt.m to Dynare optimizers
...
Restores compatibility of mode_compute=101
2015-04-06 11:05:12 +02:00
Houtan Bastani
23b322d6c6
Merge pull request #866 from JohannesPfeifer/mode_check
...
Remove hard-coded coloring of legend in mode_check.m
2015-04-03 18:07:14 +02:00
Stéphane Adjemian (Charybdis)
6aa5ceabb2
Fixed bug introduced in 363c4a61222103fda22adff9bdb1115a6073428a.
2015-04-03 18:02:03 +02:00
Stéphane Adjemian (Charybdis)
090c4fedbd
Added new option (diffuse_kalman_tol) and fixed tolerance paremeters in diffuse smoother routines.
2015-04-03 18:02:03 +02:00
Marco Ratto
e97e5c3407
Exclude zero columns of T from Kitagawa transformation, since ordschur is extremely noisy for multiple zero eigenvalues.
...
This can make a lot of difference for large models that have hundreds of definitions.
2015-04-03 18:02:03 +02:00
Marco Ratto
5297836577
Harmonize criteria for exiting diffuse steps in likelihood with the smoother.
...
Since initial Pinf is well scaled to unity, crit1= 1.e-6 is used for smoother and should also apply to likelihood evaluations.
2015-04-03 18:02:03 +02:00
Marco Ratto
7c838b133f
Use local variables for restrict var list, to avoid overwriting the global and messing likelihood evaluations later on.
2015-04-03 18:02:03 +02:00
Johannes Pfeifer
8cc9fbd69a
Remove hard-coded coloring of legend in mode_check.m
...
Now displays correct colors with new Matlab plot interface (>2014a)
2015-04-02 20:52:49 +02:00
Stéphane Adjemian
f9154273d0
Merge pull request #854 from JohannesPfeifer/smoother_var_initialization_fix
...
Fix size of filtered variables matrix
2015-04-01 17:59:12 +02:00
Stéphane Adjemian (Charybdis)
f3d1a6c68e
Merge branch 'master' into marco_analytic_derivation
2015-04-01 16:41:38 +02:00
Johannes Pfeifer
27403fb2dd
Add check whether initial prior is Inf
...
Requires adding fourth output argument of priordens.m that stores position of problematic parameter.
2015-04-01 16:30:46 +02:00
Johannes Pfeifer
9c3c0d727f
Add check for point priors and force user to fix this parameter.
...
Traps Inf-prior
2015-04-01 16:29:18 +02:00
Marco Ratto
b4a8ad8aa4
Fix mex path for win64 bit
2015-04-01 14:43:52 +02:00
Marco Ratto
214dc74723
- Fixed bugs around analytic derivation.
...
- Fixed test routine, eliminating diffuse filter.
- Trapped incompatibility of diffuse filter with analytic derivation.
2015-04-01 09:00:51 +02:00
Stéphane Adjemian
28f2e2abd0
Merge pull request #856 from rattoma/optimizer_number_5
...
Fixed issues related to newratflag.
2015-03-30 15:22:05 +02:00
Stéphane Adjemian
ad0e0b6c1d
Merge pull request #861 from JohannesPfeifer/steady_fix
...
Prevent crash if steady state cannot be computed
2015-03-30 15:17:46 +02:00
Stéphane Adjemian (Charybdis)
0e1dd779b9
Check that Dynare's routines are not overridden by other routines.
...
By default Dynare will temporarly change Matlab/Octave's path. Added an
option to force Dynare to keep the current path. Also check that the user
did not put dynare/matlab directory with all the subfolders in the path.
With this patch, we do not need to prefix Dynare routines with dyn_ or
dynare_ anymore.
2015-03-30 15:04:59 +02:00
Houtan Bastani
34c871b53c
getenv provides one output on windows
2015-03-27 18:58:35 +01:00
Houtan Bastani
90e00b3871
fixes for windows
2015-03-27 17:29:10 +01:00
Houtan Bastani
d7c253ae59
support 64-bit preprocessor, #862
2015-03-26 19:08:30 +01:00
Johannes Pfeifer
781e280610
Prevent crash if steady state cannot be computed
...
If e.g. the log of the steady state cannot be computed, the field oo_.dr.ys does not exist
2015-03-25 09:42:59 +01:00
Sébastien Villemot
80f512b90b
ilu function has been implemented in Octave 4.0.
2015-03-18 16:03:41 +01:00
Sébastien Villemot
aa1acec308
Remove obsolete warning code for Octave < 3.6.
2015-03-17 18:01:36 +01:00
Sébastien Villemot
ec65f80617
Octave warning "matlab-incompatible" renamed to "language-extension" in 4.0.
2015-03-17 17:59:52 +01:00
Houtan Bastani
1a3d8d0b26
Provisions for MATLAB 8.5 (R2015a)
2015-03-16 14:44:06 +01:00
Stéphane Adjemian (Scylla)
6d7b72cb0d
Merged with master
2015-03-13 15:53:18 +01:00
Marco Ratto
c881cfff17
Fixed issues related to newratflag.
...
This options relates to alternative numerical hessian computations:
optim=('Hessian',1) is the default dynare numeric Hessian
optim=('Hessian',0) is the outer product gradient
optim=('Hessian',2) is the 'mixed' outer product gradient, where diagonal elements using second order derivation formula,
Both 0 and 2 cases require univariate filters, to ensure using maximum number of individual densities.
2015-03-12 17:24:21 +01:00
Johannes Pfeifer
d4c0726026
Fix size of filtered variables matrix
...
Fixes crash occurring due to non-conformable matrices
2015-03-12 10:49:33 +01:00
Michel Juillard
87cb00bd7d
fixing bug in calling sequence of *_dynamic function when using block option
2015-03-11 09:24:47 +01:00
Sébastien Villemot
6e0d919751
Fix issue with purely forward deterministic models with lags on exogenous.
...
Ref #617
2015-03-09 18:22:01 +01:00
Houtan Bastani
6db9f10353
preprocessor: remove use of tables completely as they were introduced in Matlab R2013b. #824
2015-03-09 17:59:05 +01:00
Houtan Bastani
d77b5104d2
preprocessor: cell2table doesn’t exist in Octave
2015-03-09 17:16:59 +01:00
Michel Juillard
86f9e53ec6
dr_block: fixing bug in solve_foward_complete
2015-03-07 10:59:53 +01:00
Michel Juillard
265970c1c9
adding global test for identification for sbvar
2015-03-07 10:59:53 +01:00
Stéphane Adjemian (Charybdis)
de5c541ce6
Manually merged PR #807 .
...
Fixed conflict related to the move of the perfect foresight related routines
in a subfolder.
2015-03-05 14:31:36 +01:00
Houtan Bastani
30428aeb17
preprocessor: add joint prior syntax, #824
2015-03-03 15:08:33 +01:00
Stéphane Adjemian
219b4fe547
Merge pull request #813 from JohannesPfeifer/model_diag
...
Add missing abs to unit root check in model_diagnostics.m
2015-03-01 16:35:31 +01:00
Stéphane Adjemian
511d621818
Merge pull request #851 from JohannesPfeifer/Estimation_Bugfixes
...
Estimation bugfixes
2015-03-01 16:33:51 +01:00
Stéphane Adjemian
ba2c4db88c
Merge pull request #816 from JohannesPfeifer/loglinear_steady_error
...
Integrate error from negative steady state with loglinear model into pri...
2015-03-01 16:30:29 +01:00
Johannes Pfeifer
a7f380d8c0
Condition check for changed parameters on whether parameters are estimated in the first place
...
Fixes crash in master unit test
2015-03-01 13:36:21 +01:00
Johannes Pfeifer
fe938c902a
Fixed another bug related to options_.optim_opt being now initialized as an empty array
...
Finalizes 392486273e
2015-03-01 13:34:39 +01:00
Johannes Pfeifer
0ef7524977
Use dynare_minimize_objective for OSR computations
2015-02-28 20:37:10 +01:00
Stéphane Adjemian (Charybdis)
198a6ed7cf
Removed three unused routines.
2015-02-27 18:54:12 +01:00
Stéphane Adjemian (Charybdis)
73cdaa3091
Replaced get_prior_info routine by prior routine.
...
This new routine gives the possibility to obtain a description of the
prior from the command line.
>> prior table
will display a table with the prior mean, prior mode, prior std, prior
bounds and prior HPD interval.
>> prior plot
will plot the prior densities.
>> prior optimize
will trigger the maximization of the prior density and display the
results (often, because of BK conditions or other issues, Dynare is even
not able to get the prior mode).
>> prior moments
will display the moments of the endogenous variables at the prior mode.
>> prior simulate
will run a Monte-Carlo, by sampling from the prior and discarding vector
of parameters such that the steady state does not exist or the BK
conditions are not met, and return an estimate of the effective prior
mass.
2015-02-27 17:12:04 +01:00
Stéphane Adjemian (Charybdis)
daaed37782
Added new routines.
2015-02-27 17:05:11 +01:00
Stéphane Adjemian (Charybdis)
eec1e77140
Removed last character if string is renurned in a variable.
2015-02-26 16:18:33 +01:00
Stéphane Adjemian (Charybdis)
4979f33f8b
Added the possibility to return the generated line in a variable.
2015-02-26 16:10:44 +01:00