Marco Ratto
e6b9912bb4
Added utilities for dynare figure creation and saving.
2012-01-12 17:46:40 +01:00
Stéphane Adjemian (Charybdis)
1ba89be300
Undo last commit#3dc015592c9da527f7d2ad218bc53422ac7edc83.
2012-01-11 17:10:24 +01:00
Stéphane Adjemian (Charybdis)
3dc015592c
Cosmetic change. Removed useless input argument to dyn_waitbar.
2012-01-11 16:08:24 +01:00
Stéphane Adjemian (Charybdis)
f074679f14
Code factorization. Use dyn_waitbar in extended_path routine.
2012-01-11 16:01:24 +01:00
Stéphane Adjemian (Charybdis)
83bfaa814e
Added sequential importance particle filter routine.
2012-01-11 16:01:24 +01:00
Stéphane Adjemian (Charybdis)
195ad9f71d
Added Routines for resampling (particle filter).
2012-01-11 16:01:24 +01:00
Michel Juillard
111347469f
adding comment explaining initialization of persistent variable
...
penalty in dsge_likelihood.m and dsge_likelihood_hh.m Removed misleading
initialization code. Added call to dsge_likelihood_hh in
initial_estimation_checks to initialize persistent variable in that
function as well.
2012-01-09 21:23:17 +01:00
Michel Juillard
de8962b239
Revert "added calls to re-initialize persistent variable 'penalty' in dsge_likelihood() and dsge_likelihood_hh() before calling the optimizer"
...
This reverts commit 108444b703
.
The initialization works indeed differently and I will document it in next commit.
2012-01-09 20:47:11 +01:00
Sébastien Villemot
f13615c922
Put all GSA files under Copyright Dynare Team and GPL-3, and GSA manual under
...
Copyright Dynare Team and GFDL-1.3, with the consent of Marco Ratto
Closes : #173
2012-01-09 13:12:31 +01:00
Sébastien Villemot
a66594caed
Add MEXEXT define to build system, adapt relevant DLL and Windows packaging
...
Closes : #235
2012-01-09 12:39:09 +01:00
Sébastien Villemot
1259d4a603
Fix crash on older MATLAB introduced in previous commit
2012-01-09 12:15:43 +01:00
Houtan Bastani
dcaed91f66
fix to license call (checkout only works for Matlab version >= 2011a)
2012-01-09 11:57:47 +01:00
Michel Juillard
f9d2dec97f
preparing dsge_loglikelihood.m for future integration of estimation DLL
2012-01-08 21:55:02 +01:00
Michel Juillard
3ec6b6ff78
removing options_ and oo_ from dr1.m output arguments
2012-01-08 18:51:51 +01:00
Michel Juillard
27ef4a84a1
removing options_ and oo_ from dr1.m output arguments
2012-01-08 18:46:17 +01:00
Michel Juillard
108444b703
added calls to re-initialize persistent variable 'penalty' is
...
dsge_likelihood() and dsge_likelihood_hh() before calling the
optimizer
2012-01-08 17:59:33 +01:00
Michel Juillard
d12e1b7801
replaced BayesInfo.penalty by penalty as it is now a persistent variable
2012-01-08 17:58:22 +01:00
Michel Juillard
412d7d29a2
changed calling sequence for dr1() in resol.m
2012-01-08 14:35:36 +01:00
Michel Juillard
eb0f26239d
header correction
2012-01-08 14:18:51 +01:00
Michel Juillard
938d95cb11
removed M_ from list of dr1.m outputs. M_ was only modified in dr1.m
...
by the old code for Ramsey policy.
2012-01-08 14:17:54 +01:00
Houtan Bastani
c19950d358
update copyright dates for files already modified in 2012
2012-01-04 14:42:06 +01:00
Stéphane Adjemian (Charybdis)
11da21c7b2
Renamed DsgeLikelihood_hh to dsge_likelihood_hh. Fixes bug reported in trac#231.
...
The problem was that this version of DsgeLikelihhod is called with an eval in dynare_estimation_1
by forming a string.
2012-01-04 14:25:21 +01:00
Stéphane Adjemian (Charybdis)
d6155b1e96
Merge branch 'master' of kirikou.dynare.org:/srv/d_kirikou/git/dynare
2012-01-04 12:47:36 +01:00
Michel Juillard
bd60a5beef
made inverse_gamma_specification robust for a larger set of parameter values
2012-01-01 20:12:51 +01:00
Michel Juillard
80ca47d62a
Merge remote-tracking branch 'local_master/master' into dr1break
2011-12-31 10:10:41 +01:00
Sébastien Villemot
30cbcdbb55
Store histval information for endogenous in M_.endo_histval
...
Really closes : #157
2011-12-28 11:35:22 +01:00
Sébastien Villemot
de337ad72e
Remove spurious initialization of oo_.endo_simul in steady
2011-12-28 10:52:16 +01:00
Sébastien Villemot
c541ceb849
Remove unused options_.deterministic_simulation_initialization
2011-12-28 10:44:34 +01:00
Stéphane Adjemian (Charybdis)
7b856645a5
Added routine performing reduced rank Cholesky factorization.
2011-12-27 17:55:05 +01:00
Stéphane Adjemian (Charybdis)
c250f8f495
Fixed bug in the second unitary test of local_state_equation_2.
2011-12-27 15:01:07 +01:00
Stéphane Adjemian (Charybdis)
dd40895df6
Fixed a typo in comments.
2011-12-27 12:47:06 +01:00
Sébastien Villemot
d7e5d37d9c
GSA: rename 2 functions whose name is the same than some Octave built-in
2011-12-27 12:19:42 +01:00
Stéphane Adjemian (Charybdis)
c152bbedd4
Added main routine for non linear filters.
2011-12-26 17:46:49 +01:00
Stéphane Adjemian (Charybdis)
bf69bac140
Fixed typo in comments.
2011-12-26 17:46:49 +01:00
Stéphane Adjemian (Charybdis)
41c8faf176
Fixed header.
2011-12-26 17:46:49 +01:00
Stéphane Adjemian (Charybdis)
ecac871435
Changed the name of DsgeLikelihood (-> dsge_likelihood).
2011-12-26 17:46:48 +01:00
Stéphane Adjemian (Charybdis)
45d85f19fa
Added options for non linear filters + Cosmetic changes.
2011-12-26 17:46:48 +01:00
Stéphane Adjemian (Charybdis)
29cf9c4113
Removed the display of the first lines of oo_.exo_simul (extended path simulations).
2011-12-26 17:46:48 +01:00
Stéphane Adjemian (Charybdis)
3e84e333b4
Changed verbosity options (fast deterministic simulations). Default is options_.verbosity==1.
2011-12-26 17:46:48 +01:00
Sébastien Villemot
b8bb1acce1
GSA: further simplification related to qmc_sequence
2011-12-26 16:12:33 +01:00
Sébastien Villemot
300eaf63c2
Remove nonfree LPTAU.m, replace by qmc_sequence MEX
2011-12-26 15:40:52 +01:00
Stéphane Adjemian (Charybdis)
ecfc5bbbc9
Removed nonsensic options (for the evaluation of the expectations).
2011-12-26 11:53:08 +01:00
Houtan Bastani
9be84bdf65
make check: fix bug in check for license
2011-12-23 18:22:41 +01:00
Stéphane Adjemian (Charybdis)
e2f69ab4fc
Added arbitrary order of approximation for the Stochastic Extended Path approach.
...
Default is that we only consider shocks in t+1 to approximate the expectations. If
options_.ep.stochastic.order is set to s>1, shocks in t+1, t+2, ..., t+s are
considered. Obviously the (tensorial) tree of future shocks is growing
exponentially.
Other numerical rules of integration have to be added...
2011-12-23 17:57:41 +01:00
Stéphane Adjemian (Charybdis)
fe1f536f0d
Updated header. Added unitary test.
2011-12-23 12:12:13 +01:00
Stéphane Adjemian (Charybdis)
a09779f218
Fixed fourth unitary test of qmc_sequence.
2011-12-23 10:44:29 +01:00
Stéphane Adjemian (Charybdis)
627b24ddc6
Added unitary tests for qmc_sequence mex file.
2011-12-22 18:16:24 +01:00
Stéphane Adjemian (Charybdis)
199eb98aeb
Fixed typo in the unitary test of qmc_sequence.
2011-12-22 14:49:01 +01:00
Stéphane Adjemian (Charybdis)
c0ebbc72ef
Fixed header (added output argument info).
2011-12-22 14:36:24 +01:00
Stéphane Adjemian (Charybdis)
2c04f5c825
Merge branch 'master' of kirikou.dynare.org:/srv/d_kirikou/git/dynare
2011-12-21 18:57:09 +01:00
Sébastien Villemot
a2061b6f4e
Initialize empirical simulations with information provided in histval
...
Closes : #195 , #157
2011-12-21 18:37:45 +01:00
Stéphane Adjemian (Charybdis)
3815daada3
Fixed bug: dynare_config is now able to find a mex file even if dynare_config is called from
...
<DYNARE_PATH>/matlab directory and if a matlab script with same name than the mex exists in
this directory.
2011-12-21 18:31:29 +01:00
Stéphane Adjemian (Charybdis)
4869fff243
Added new mex file for computing Quasi Monte-Carlo sequences (Sobol), texinfo headers and unitary tests are available in <DYNARE_PATH>/matlab/qmc_sequence.m.
2011-12-21 18:23:15 +01:00
Stéphane Adjemian (Charybdis)
dec622c48d
Fixed bug and streamlined the routines for unitary tests.
2011-12-21 18:14:17 +01:00
Houtan Bastani
3ff704d36d
ms-sbvar: replace state with regime
2011-12-21 12:21:30 +01:00
Houtan Bastani
87ffab3200
preprocessor: add symbol.options statement
2011-12-21 12:21:30 +01:00
Houtan Bastani
f5bfdbb23f
preprocessor: add prior statement
2011-12-21 12:21:29 +01:00
Houtan Bastani
1e78d70659
preprocessor: add data command
2011-12-21 12:21:29 +01:00
Houtan Bastani
29bead75c9
preprocessor: add set_time command
2011-12-21 12:21:29 +01:00
Michel Juillard
f88b7a24b8
Merge remote-tracking branch 'origin/master' into dr1break
2011-12-20 22:46:42 +01:00
Michel Juillard
ab629c8ed6
fixing headers
2011-12-20 17:02:25 +01:00
Marco Ratto
4b9b90f1bb
Replace waitbar by dyn_waitbar.
2011-12-20 16:59:44 +01:00
Michel Juillard
30d815afdc
minor changes to new functions and completing headers
2011-12-20 16:34:30 +01:00
Michel Juillard
10c6978369
minor modifications + headers for new functions
2011-12-19 22:33:25 +01:00
Michel Juillard
403ffdf8b1
Merge remote-tracking branch 'local_master/master' into dr1break
2011-12-19 21:49:25 +01:00
Stéphane Adjemian (Charybdis)
744f3fd41b
Added Stochastic Extended Path method (SEP).
2011-12-19 18:04:54 +01:00
Stéphane Adjemian (Charybdis)
7ff36b680b
Added unitary test.
2011-12-19 15:54:30 +01:00
Michel Juillard
336afa9f2b
fixing bugs related to new functions
2011-12-18 17:33:08 +01:00
Michel Juillard
c56a8e40e8
adding new functions and new tests for risky steady state
2011-12-17 17:35:42 +01:00
Michel Juillard
316c1b4dd6
Merge branch 'master' into dr1break
2011-12-16 20:50:18 +01:00
Stéphane Adjemian (Charybdis)
cf1d07f31c
More unitary tests (multivariate Gaussian quadrature) using cartesian_product_of_sets.
2011-12-16 16:02:32 +01:00
Stéphane Adjemian (Charybdis)
6cecc181dc
Added unitary test.
2011-12-16 15:14:59 +01:00
Stéphane Adjemian (Charybdis)
cd9250edbf
Fixed bug.
2011-12-16 15:14:38 +01:00
Stéphane Adjemian (Charybdis)
857eb7438f
Added provisions for future shocks (using Gaussian quadratures).
2011-12-16 11:42:03 +01:00
Stéphane Adjemian (Charybdis)
f7b6e917ac
Added two routines for evaluating multivariate integrals with gaussian quadratures.
2011-12-16 11:42:03 +01:00
Stéphane Adjemian (Charybdis)
8fa4bfc160
Cosmetic change.
2011-12-16 11:42:03 +01:00
Stéphane Adjemian (Charybdis)
230e787b27
Fixed bug. The seed has to be set before the sampling of the structural innovations.
2011-12-16 11:42:03 +01:00
Michel Juillard
7408714ea1
added dname as argument to CheckPath function and changed all calls to
...
this function. Suppressed use of globals in CheckPath.
2011-12-15 17:35:27 +01:00
Michel Juillard
d0e458eb79
removing useless statement
2011-12-15 17:35:27 +01:00
Michel Juillard
ad2a3a7ecc
fixing problem in computation of initial posterior density when steady
...
state model is provided by the user
2011-12-15 17:35:27 +01:00
Michel Juillard
3bc349402f
fixing problem wiht Ramsey policy when the steady state is provided by
...
the user
2011-12-15 17:35:27 +01:00
Michel Juillard
cef244842d
fixing problem with univariate Kalman filter and no missing observations
2011-12-15 17:35:27 +01:00
Michel Juillard
976c8c1654
making univariate Kalman filter code simpler and more efficient
2011-12-15 17:35:26 +01:00
Michel Juillard
edd95a94c8
added options_.sub_draws in estimation for controlling the number of draws used in
...
computing the posterior distributions of various objects. Changed
options_.subdraws, used in the code, into options_.sub_draws.
2011-12-15 17:35:26 +01:00
Marco Ratto
ac2687f6dd
Fixed function header
2011-12-14 14:43:17 +01:00
Sébastien Villemot
6bfeb91e99
evaluate_static_model: fix crash under Octave with bytecode
...
Octave does not want to create a function handle to a nonexistent function
(<MODFILE>_static.m) in that case
2011-12-14 10:39:32 +01:00
Sébastien Villemot
4e0801a92d
Preprocessor: fix forecast command
...
It was broken since the renaming of forecast.m in
8f1326e2f8
2011-12-14 10:35:25 +01:00
Marco Ratto
66f6f6b5d0
remove obsolete gsa function
2011-12-13 18:33:59 +01:00
Marco Ratto
c3b5b65fc3
Further generalization of dyn_waitbar for parallel execution and simplification of _core functions accordingly.
2011-12-13 18:32:57 +01:00
Marco Ratto
b23c508671
Initialize new option analytic_derivation for estimation.
2011-12-13 17:05:55 +01:00
Stéphane Adjemian (Charybdis)
95fb57b4e9
Added waitbar for EP simulations.
2011-12-12 14:20:14 +01:00
Stéphane Adjemian (Charybdis)
3ba5a645be
Make verbosity flag effective: do not print informations about perfect foresight solvers if options_.ep.verbosity=0.
2011-12-12 14:20:14 +01:00
Stéphane Adjemian (Charybdis)
a36cf30118
Make options_.dynatol specific to x/f by adding dynatol.x and dynatol.f. By default dynatol.x=dynatol.f= old default value of dynatol.
2011-12-12 14:20:14 +01:00
Sébastien Villemot
7ec12aaa43
Removed unused generalized cholesky routines
2011-12-12 10:25:47 +01:00
Michel Juillard
8f1326e2f8
changed name of function forecast.m -> dyn_forecast.m because of
...
name conflict with cszt
2011-12-11 11:15:38 +01:00
Michel Juillard
7c62fafe0c
Merge branch 'master' into dr1break
2011-12-10 20:10:31 +01:00
Michel Juillard
bc8d4d8f08
gsa: converted DOS end of lines in Unix end of lines
2011-12-09 21:13:16 +01:00
Michel Juillard
ec0af45fc8
further fixes to gsa testsuite; make gsa compatible with Linux
2011-12-09 20:55:02 +01:00
Stéphane Adjemian (Charybdis)
9334958461
Merge branch 'master' of kirikou.dynare.org:/srv/d_kirikou/git/dynare
2011-12-09 18:10:54 +01:00
Stéphane Adjemian (Charybdis)
6d9983df0c
New version of the extended path routines.
2011-12-09 18:03:30 +01:00
Michel Juillard
ae36279ac7
attempt to fix occasional problem with octave_ver_less_than.m
2011-12-09 17:45:52 +01:00
Stéphane Adjemian (Charybdis)
3318542895
Removed old verison of extended path routine. Added new version in dynare/matlab/ep. Added field (ep) in option_ for the extended path routines.
2011-12-05 10:58:39 +01:00
Stéphane Adjemian (Charybdis)
7aeb881e3a
Temporarily set the variance of the shocks to zero when computing or checking the deterministic steady
...
state. This is necessary if the model contains mean preverving spread terms.
2011-12-04 23:57:46 +01:00
Michel Juillard
6deaa23d95
changed critical value of secant for inverse_gamma_specification
2011-12-03 15:55:06 +01:00
Marco Ratto
9abd894f78
bug fix + added new utility to clean temporary remote folder from new files generated by a completed parallel session.
2011-12-02 16:11:10 +01:00
Stéphane Adjemian (Charybdis)
a0e1d3b34f
Fixed bugs + cosmetic changes.
2011-12-02 12:14:38 +01:00
Stéphane Adjemian (Charybdis)
16d2fd5673
Fixed bugs. Changed internal documentation.
2011-12-02 12:14:38 +01:00
Stéphane Adjemian (Charybdis)
6105ed433c
Removed useless calls to set_default_options.
2011-12-02 12:14:38 +01:00
Stéphane Adjemian (Charybdis)
12a3af8167
Renamed routine. Fixed unitary tests.
2011-12-02 12:14:38 +01:00
Michel Juillard
76407c97b5
corrected bug in computation of dr.ghs2 introduced in commit 84eaaaf759
2011-12-02 11:41:42 +01:00
Michel Juillard
84eaaaf759
fixed another bug with missing current value at 2nd order
2011-12-01 22:07:29 +01:00
Michel Juillard
97c09eb4ac
fixing bug relative to auxiliary variables in model_diagnostics
2011-12-01 22:07:29 +01:00
Michel Juillard
8df1b5d1e8
fixed bug in 2nd order approximation introduced in commit 0303b1c02b
2011-12-01 22:07:29 +01:00
Michel Juillard
27918e6067
fixed bug in calling solve_one_boundary (introduced in 12187710e7
)
2011-11-28 14:18:02 +01:00
Michel Juillard
0303b1c02b
fixed bug at order 2, when a variable is absent at the current period;
...
cleaned code that is useless since we transform leads and lags on
period > 1
2011-11-26 19:29:57 +01:00
Ferhat Mihoubi
244e0ffb14
Corrects a minor bug related to a matrix transposition
2011-11-25 13:07:50 +01:00
Ferhat Mihoubi
12187710e7
Get rid of global variables
2011-11-25 13:07:50 +01:00
Michel Juillard
e4c803d0db
fixed issues with estimation of non-stationary models. Option lik_init=2
...
is contradictory with diffuse_filter or unit_root_variables
declaration. Models with non-stationary variables, but only stationary
observed variables need diffuse_filter option and make a useless call
to kalman_filter_d (this seems better than trying to distinguish these
rare cases)
2011-11-21 12:39:02 +01:00
Michel Juillard
40cc11385a
added an error if periods in conditional_variance_decomposition option
...
are not strictly positive.
2011-11-20 15:13:05 +01:00
Michel Juillard
074515bfc2
fixed bug in drawing of prior densities (It must always return
...
'steps' values)
2011-11-19 21:14:43 +01:00
Michel Juillard
b58eaa8e2b
introducing new test for 0/0 case in mjdgges
2011-11-18 22:12:36 +01:00
Michel Juillard
1cd827b5ad
removed faulty test for small elements on the diagonal of ss and tt
2011-11-18 18:44:05 +01:00
Stéphane Adjemian (Charybdis)
ef1cf5f062
Merge remote-tracking branch 'marco/master'
2011-11-17 12:33:28 +01:00
Sébastien Villemot
4a33af5a80
Added missing copyright header
2011-11-16 11:13:55 +01:00
Michel Juillard
e1856be59b
fixing problems for computing steady state in ramsey policy
2011-11-14 21:59:39 +01:00
Michel Juillard
7af760db32
ms-sbvar: converted CR/LF to Unix new line files in ./matlab/ms-sbvar/cstz
2011-11-14 21:59:39 +01:00
Stéphane Adjemian (Charybdis)
12003fbdab
Do not show plots of the smoothed variables, shocks and errors if nograph option is used. Note that with this option the plot are done behind the scene and saved in fig, eps and pdf format (see trac#216).
2011-11-14 18:30:45 +01:00
Stéphane Adjemian (Charybdis)
bcf7e88217
Do not plot the priors if option nograph is used.
2011-11-14 17:56:27 +01:00
Stéphane Adjemian (Charybdis)
30ed317d26
Cosmetic change in unitary test.
2011-11-14 12:08:21 +01:00
Stéphane Adjemian (Charybdis)
2e01bb13fe
Cosmetic change.
2011-11-14 12:04:45 +01:00
Stéphane Adjemian (Charybdis)
418382b364
Fixed bug (trac#225). Added texinfo header and unitary test.
2011-11-14 12:04:23 +01:00
Michel Juillard
91dab8751e
ms-sbvar: adding display of Fhat
2011-11-07 15:47:16 +01:00
Marco Ratto
9d5953403e
allow tighter tolerance in htol if requested by the user.
2011-11-07 09:21:36 +01:00
Marco Ratto
3d2e55274d
bug fix + inclusion of prior derivatives in analytic computations.
2011-11-07 09:19:36 +01:00
Marco Ratto
9d2e153ef2
bug fixes in analytic likelihood scores.
2011-11-07 09:18:26 +01:00
Marco Ratto
434157f611
errors fixed in 2nd order derivatives
2011-11-07 09:17:56 +01:00
Marco Ratto
bd26eb2251
provisions for analytic 1st and 2nd derivatives
2011-11-07 09:17:38 +01:00
Marco Ratto
4acd50bdaf
When using steady state in the old format, M_ should be updated beforehand.
2011-11-07 09:14:26 +01:00
Marco Ratto
5bb2b2faad
Fixed call to mode_check
2011-11-07 09:12:54 +01:00
Marco Ratto
9be0749e1c
small bug fix
2011-11-05 11:09:10 +01:00
Marco Ratto
9ebb86784d
Extension to full Hessian (partial commit, to be debugged).
2011-11-05 11:08:00 +01:00
Marco Ratto
7517b51630
Added scores and likelihood as optional output arguments
2011-11-05 11:05:10 +01:00
Marco Ratto
db61c7c144
Extended for second order derivatives and full Hessian.
2011-11-05 11:04:08 +01:00
Marco Ratto
8313b158b6
Aligned with DsgeLikelihood.m,
...
manual cherry-picks from
30afa5f415
2011-11-05 11:02:05 +01:00
Marco Ratto
6b2cee2017
Added analytic derivatives for prior distributions.
2011-11-05 10:32:37 +01:00
Michel Juillard
6eb16f06f5
fixed bug for measurement errors returned by smoother
2011-11-04 21:15:47 +01:00
Marco Ratto
8612c7258b
Re-introduced a small selection of variables to save.
2011-11-04 09:23:10 +01:00
Michel Juillard
d6cff06535
improving data reading function to avoid name conflicts
2011-11-03 10:18:39 +01:00
Michel Juillard
f0efbee26d
adding short circuit operator
2011-11-02 18:34:53 +01:00
Michel Juillard
b4e7e55031
fixing bug with univariate filter
2011-11-02 17:54:48 +01:00
Michel Juillard
b5ae8356a9
fixing bug for plots of measurement errors
2011-11-02 15:49:02 +01:00
Michel Juillard
0b0c939849
fixing bug with smoother with univariate filters
2011-11-02 14:02:12 +01:00
Michel Juillard
9d91625c10
fixing bug related to measurement errors
2011-11-02 11:10:58 +01:00
Michel Juillard
9ac3e7a582
fixing bug when estimating models with a steady state different from
...
zero. Introduced in commit bd00dc11d8
2011-11-01 18:23:12 +01:00
Michel Juillard
02b86795b2
corrected bug linked to new handling of datasets
2011-11-01 16:44:31 +01:00
Michel Juillard
d14d0f8b45
initialazing bayestopt_
2011-10-31 18:26:53 +01:00
Michel Juillard
5ee1b1e25d
fixing bug with missing data
2011-10-31 13:46:11 +01:00
Ferhat Mihoubi
d6ce82cda8
Considers exogenous variables with leads or lags in the evaluation of the dynamic model
2011-10-28 22:47:37 +02:00
Ferhat Mihoubi
01ef553956
Correction of bugs in the Jacobian matrix for the a purely backward looking non recursive block
2011-10-28 22:45:07 +02:00
Ferhat Mihoubi
af65943f6f
A last argument (the number of observed variables which are not state variables) is needed in block_kalman_filter
2011-10-28 22:36:40 +02:00
Ferhat Mihoubi
d16caeebf0
"M_" global variable is replaced by the "Model" input argument in block_kalman_filter call
2011-10-28 22:34:52 +02:00
Ferhat Mihoubi
5666c5b166
A purely forward block containing several non recursive equations is coded 7 (not 6)
2011-10-28 22:31:49 +02:00
Ferhat Mihoubi
1b35d574d0
minor corrections related to mf replaced by Z (index of observable variables in the transition matrix)
2011-10-28 22:29:54 +02:00
Ferhat Mihoubi
0096c7575a
In a block decomposed model the variables are not stored in the usual order
2011-10-28 22:27:15 +02:00
Michel Juillard
73de37e7e3
fixing bug in forecast HPD interval
2011-10-27 22:08:10 +02:00
Michel Juillard
d1cb9fd0a8
fixed recent bug in resid when there is no steadystate file
2011-10-27 22:08:10 +02:00
Sébastien Villemot
ac4f774d38
Merge remote-tracking branch 'ratto/master'
2011-10-27 18:12:38 +02:00
Sébastien Villemot
7a16ab15fe
No longer report momemts in stoch_simul with order>=3 if periods not specified
...
Previously Dynare was reporting dummy theoretical moments
2011-10-27 18:03:42 +02:00
Sébastien Villemot
38827443f9
Fix simult_.m when order=3 but k_order_solver has not been specified
2011-10-27 16:45:17 +02:00
Marco Ratto
3367014970
Identification is made compatible with octave.
2011-10-27 13:09:26 +02:00
Marco Ratto
d806fdd617
New waitbar utility, that is adaptive under octave or console mode.
2011-10-27 13:08:53 +02:00
Marco Ratto
dde9d2bfee
license('test',' ... ') gives 1 even if the license exists but it is not active, implying a crash of the dynare matlab session.
2011-10-26 16:27:09 +02:00
Marco Ratto
0130d6cbe4
octave fix for windows as well
2011-10-25 19:20:48 +02:00
Marco Ratto
3f43f556c8
Fixes for octave with unix
2011-10-25 19:10:45 +02:00
Marco Ratto
b4fa7ef84e
Make gsa compatible with octave;
2011-10-25 18:00:54 +02:00
Marco Ratto
a6b704543c
octave fix;
2011-10-25 17:59:00 +02:00
Marco Ratto
ca76a31b94
added console mode features for serial computations.
2011-10-25 17:58:35 +02:00
Stéphane Adjemian (Charybdis)
88814c9b93
Added texinfo header.
2011-10-25 12:34:05 +02:00
Stéphane Adjemian (Charybdis)
c2eb6f11d3
Added texinfo header. Fixed efficiency issue (missing parenthesis).
2011-10-25 12:34:05 +02:00
Stéphane Adjemian (Charybdis)
e60032a6f7
More typo fixes.
2011-10-25 12:34:05 +02:00
Stéphane Adjemian (Charybdis)
52e803f3b7
Fixed typo.
2011-10-25 12:34:05 +02:00
Stéphane Adjemian (Charybdis)
681a7e1df5
Added texinfo header. Fixed efficiency issue (missing parenthesis).
2011-10-25 12:34:05 +02:00
Stéphane Adjemian (Charybdis)
fc21af10ea
Cosmetic changes.
2011-10-25 12:34:05 +02:00
Stéphane Adjemian (Charybdis)
ffbb5bc765
Added texinfo header.
2011-10-25 12:34:05 +02:00
Stéphane Adjemian (Charybdis)
e270c29bd9
Fixed texinfo header (Z was missing in the description).
2011-10-25 12:34:05 +02:00
Stéphane Adjemian (Charybdis)
95c3b6396c
Added texinfo header and cosmetic changes.
2011-10-25 12:34:05 +02:00
Marco Ratto
697ddc0a72
Aligned routines with recent changes in dataset and identification.
...
Fixed ls2003.mod for testsuite
2011-10-24 18:45:12 +02:00
Michel Juillard
29a12f0ce3
make evaluate_likelihood.m compatible with dataset_
2011-10-22 15:30:23 +02:00
Michel Juillard
7593afff22
fixed issue with dataset_
2011-10-22 15:29:55 +02:00
Michel Juillard
ac4ae0b6d2
make sure that dataset_.missing.aindex always exist, even when there
...
are no missing observations
2011-10-22 15:28:41 +02:00
Michel Juillard
deccd16ed5
fixed path problem for GSA under Linux: GSA must be in upper case
2011-10-22 15:27:29 +02:00
Michel Juillard
30afa5f415
fixed handling of correlation in covariance of measurement errors
2011-10-22 15:26:07 +02:00
Michel Juillard
bd00dc11d8
removing 8th output argument of dynare_estimation_init and
...
corresponding seemingly useless code
2011-10-21 22:09:45 +02:00
Michel Juillard
88be4fa3d4
fixing bug in prior_posterior_statistics.m and in recursive estimation
2011-10-21 22:06:09 +02:00
Sébastien Villemot
7dde591992
plot_conditional_forecast: add an error message under Octave <= 3.2
...
The bug in the graphics code is fixed in Octave 3.4.
Closes : #212
2011-10-21 18:15:35 +02:00
Sébastien Villemot
6bdb220e0d
mr_gstep, mr_hessian: fix Octave compatibility issue
...
These functions were saving the whole workspace (with a "save" command). This
workspace includes a function handle which Octave does not know how to save.
The quick fix was to remove these "save", since they also harm performance and
are only useful for debugging purposes.
2011-10-21 16:56:19 +02:00
Michel Juillard
7e3225680f
fixing logic flaw in setting lik_init as a function of diffuse filter or kalman_algo
2011-10-21 14:21:40 +02:00
Stéphane Adjemian (Charybdis)
6f56eafdfa
Changed unitary test.
2011-10-21 11:38:46 +02:00
Stéphane Adjemian (Charybdis)
633256a7f7
Added sort method in dynDates class.
2011-10-21 11:38:45 +02:00
Stéphane Adjemian (Charybdis)
3b471c854e
Fixed constructor for dynDates, added subsref overloaded method.
2011-10-21 11:38:45 +02:00
Stéphane Adjemian (Charybdis)
8c66d4b86a
Added new class for unordered dates (not ready).
2011-10-21 11:38:45 +02:00
Stéphane Adjemian (Charybdis)
01bfd371d2
Changed name of dynDates class to dynDate. dynDates will be used latter for irregular and unsorted sequence of dates.
2011-10-21 11:38:45 +02:00
Stéphane Adjemian (Charybdis)
ead128eec8
Added max function for dynDates class.
2011-10-21 11:38:45 +02:00
Stéphane Adjemian (Charybdis)
7304d63282
Added min function for dynDates class.
2011-10-21 11:38:45 +02:00
Houtan Bastani
ba245c32b5
MS-SBVAR: bug fix - rename error_band_percintiles as percentiles
2011-10-21 10:43:24 +02:00
Michel Juillard
130d9fca76
removed useless set_option() statement
2011-10-20 20:40:15 +02:00
Michel Juillard
36d5462328
options_.jacobian_flag is now set in global_initialization.m
2011-10-20 20:40:15 +02:00
Michel Juillard
9425b36358
fixing problems related to auxiliary variables
2011-10-19 12:47:15 +02:00
Sébastien Villemot
ddc029394c
Clean-up last remnants of unit_root_vars ( Closes : #167 )
2011-10-14 16:22:47 +02:00
Marco Ratto
e7a983797c
fixed call to prior_posterior_statistics
2011-10-14 15:48:39 +02:00
Michel Juillard
f94d4e91f3
allowing for vector of deterministic shocks
2011-10-13 21:55:55 +02:00
Michel Juillard
e2dd3cb88f
fixing more problems with steady state refactoring
2011-10-13 17:14:41 +02:00
Michel Juillard
19a5ccb6f1
permits analysis of incomplete Metropolis run
2011-10-13 17:12:54 +02:00
Houtan Bastani
5e5efc816a
modify addpath statements for precompiled Mac binaries
2011-10-13 11:18:44 +02:00
Michel Juillard
ee7078e56c
factoring out steady-state computations; steady_state_model now
...
generates <fname>_steadystate2.m returning parameters as well in case
they have been modified by the user. Added several test cases.
2011-10-12 21:51:14 +02:00
Michel Juillard
8f350dc744
conditional forecasts: remove random seed reinitialization
2011-10-12 21:47:59 +02:00
Sébastien Villemot
721a872343
Fix crash of check(solve_algo=0) under Octave
...
dynare_solve.m calls str2func on the function name, so it crashes if it is
passed a function handle. It needs to be passed a string.
2011-10-12 18:48:57 +02:00
Sébastien Villemot
99da257ec3
Merge remote-tracking branch 'houtanb/master'
2011-10-12 17:47:18 +02:00
Sébastien Villemot
2a8425d9bc
GSA: remove useless addpath (already done in dynare_config.m)
2011-10-12 17:46:48 +02:00
Ferhat Mihoubi
13875c1373
The computation of autocovariances is now compatible with blocks decomposed models
2011-10-12 14:54:28 +02:00
Ferhat Mihoubi
57029ca39e
Correct a comment in dr_block
2011-10-12 14:51:13 +02:00
Ferhat Mihoubi
843495ebdf
get rid of a useless m-file
2011-10-12 14:49:31 +02:00
Ferhat Mihoubi
d837d20dd7
Correct a bug in the printout of the decision rule
2011-10-12 14:48:28 +02:00
Ferhat Mihoubi
1782d73ccd
Corrects bugs in dr_block
2011-10-12 14:43:04 +02:00
Houtan Bastani
7c07f192dc
MS-SBVAR: add missing copyright/license
2011-10-12 12:08:07 +02:00
Houtan Bastani
7764a6a14d
MS-SBVAR: normalize comments in headers
2011-10-11 17:10:23 +02:00
Houtan Bastani
742ed02718
MS-SBVAR: rework set_ms_estimation to match different meanings of file_tag
2011-10-07 11:57:53 +02:00
Houtan Bastani
385871957e
MS-SBVAR: remove estimation_file_tag option
2011-10-07 11:57:53 +02:00
Houtan Bastani
f4f46dd82b
MS-SBVAR: update copyrights
2011-10-06 15:17:41 +02:00
Houtan Bastani
bb0e3d80c8
MS-SBVAR: add copyrights/licensing
2011-10-06 11:49:57 +02:00
Stéphane Adjemian (Scylla)
1dabbd8806
Fixed Marco's optimization routines (mode_compute==5).
...
Added fs2000d.mod in the testsuite (test of Marco's optimization routines).
2011-10-03 12:19:41 +02:00
Michel Juillard
f51a8edf50
fixing bug for computation of expectation auxiliary variables
...
steadystate value when *_steadystate.m is provided without setting
auxiliary variables
2011-09-29 21:22:27 +02:00
Marco Ratto
b4d773d593
First fix for gsa.
...
prior_posterior_statistics is broken, so some gsa tests are also broken
2011-09-28 21:20:42 +02:00
Marco Ratto
c6a9650d20
Adapt identification routines after new dynare estimation commits.
2011-09-28 20:48:47 +02:00
Sébastien Villemot
f9ecc164ce
Move 'nanmean' under 'matlab/missing' and add the necessary logic
2011-09-27 16:59:21 +02:00
Sébastien Villemot
f250f029af
Fix bug related to the renaming of options_ in DynareOptions within DsgeLikelihood.m
2011-09-27 16:39:10 +02:00
Sébastien Villemot
2060059945
Update header for AIM files
2011-09-27 16:15:49 +02:00
Sébastien Villemot
19c4cc2534
MS-SBVAR: Octave compatibility fix (add missing filename extensions, not added automatically under Octave)
2011-09-27 15:47:05 +02:00
Stéphane Adjemian (Scylla)
42d71c7b86
Added header.
2011-09-26 16:06:58 +02:00
Stéphane Adjemian (Scylla)
cc2c70d801
Cosmetic changes.
2011-09-26 15:46:59 +02:00
Stéphane Adjemian (Scylla)
7cf2aace3e
Allow to declare yearly data with a string. Changed test conformably. Fixed bug in texinfo header.
2011-09-26 15:12:45 +02:00
Sébastien Villemot
3f2e29f7bf
Adapt block_kalman_filter to Dynare's way of handling errors in MEX files
2011-09-23 18:21:04 +02:00
Sébastien Villemot
16e9c36eb4
Merge ferhat's branch
2011-09-23 18:09:06 +02:00
Sébastien Villemot
21ceaa5cb4
Provisions for MATLAB 7.13 (R2011b)
2011-09-22 18:05:06 +02:00
Stéphane Adjemian (Charybdis)
1018f24f19
Merge branch 'master' into experimental
2011-09-22 11:24:15 +02:00
Stéphane Adjemian (Charybdis)
e0fa737cee
Fixed bug in dynare_resolve (wrong calling sequence introduced in commit #013c599ec92f7d6e5fc3f351a58d9aa5ba401410).
...
Removed globals from DsgeVarLikelihood and changed the calling sequence. As in DsgeLikelihood, the penalty is now a
persistent variable.
Added a global structure for the data: dataset_.
Removed globals from dsgevar_posterior_density and mode_check.
Simplification of the clode, definition of the variable objective_function at the top of dynare_estimation_1 (equal
to 'DsgeLikelihood' or 'DsgeVarLikelihood').
2011-09-22 11:17:31 +02:00
Stéphane Adjemian (Charybdis)
f1ffeb29bb
Correction of the previous commit ( 3412d5e20a
). Set options_.lik_init=3 if lik_init==1 and unit_root_vars
...
keyword appears in the mod file.
2011-09-21 19:05:34 +02:00
Stéphane Adjemian (Charybdis)
3412d5e20a
Bug fix. Do not override option lik_init (declared in the estimation command) if unit_root_vars
...
keyword is present in the mod file, by forcing options_.lik_init to be equal to 3 (diffuse kalman
filter).
2011-09-21 18:54:11 +02:00
Stéphane Adjemian (Charybdis)
c309b0cf57
Fixed bug related to the initialization of the persistent variable.
2011-09-21 08:30:26 +02:00
Stéphane Adjemian (Charybdis)
c4cfd0c857
Extract input arguments of DsgeSmoother from dataset_ structure.
2011-09-20 16:03:33 +02:00