Commit Graph

18 Commits (beb7d42d748f9f0f5216ed7aca93dceb4f73df2c)

Author SHA1 Message Date
Johannes Pfeifer a1222a1d1b Implement variance decomposition with measurement error 2017-10-05 11:33:17 +02:00
Johannes Pfeifer 0b9244dc01 Posterior moments: fix bug that prevented updating decision rules for parameter vector, leading to wrong results/crashes when computing second moments
When removing globals in 24cd423671 the call to set_parameters.m, which relies on M_ being global, was not removed. The problem arises

1. When computing second moments for big models with drsize*SampleSize>MaxMegaBytes (in which case decision rules dr were not saved, but recomputed)
2. When computing the conditional variance decomposition for all models regardless of size (dsge_simulated_theoretical_conditional_variance_decomposition.m relied on the wrong M_.Sigma_e in this case)
2017-07-21 17:47:24 +02:00
Johannes Pfeifer fa1f7794d5 Delete stale files from previous MCMC runs
Closes #566. Also adds cosmetic changes to headers of affected routines
2015-05-09 15:13:59 +02:00
Sébastien Villemot c121aa14b1 Remove oo_.dr.{nstatic,npred,nboth,nfwrd,nspred,nsfwrd}
Replace them by equivalents in M_ (and an extra one: M_.dynamic).

IMPORTANT POINT: oo_.dr.npred used to count both purely backward and mixed/both
variables. This was the cause of lots of confusion. The new M_.npred only
counts purely backward variables.

We now have the following indentities:

M_.npred + M_.nboth + M_.nfwrd + M_.nstatic = M_.endo_nbr
M_.nspred = M_.npred + M_.nboth
M_.nsfwrd = M_.nfwrd + M_.nboth
M_.ndynamic = M_.npred + M_.nboth + M_.nfwrd
2012-11-16 20:05:13 +01:00
Sébastien Villemot 1f9cea669a Update copyright notices 2012-06-08 18:22:34 +02:00
Sébastien Villemot a50e65fb6c Rename set_stationary_variables_list to get_variables_list
This function has nothing to do with stationary variables now that
unit_root_vars has been removed.

Closes: #218
2012-06-06 12:27:46 +02: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
Stéphane Adjemian (Scylla) 24cd423671 Removed globals from resol.m (changed calling sequence). Added texinfo header.
Removed trailing whitespace.
2011-09-17 12:53:38 +02:00
Michel Juillard c0d147c6da corrected bug in conditional variance decomposition: removed reference to useless aux variable 2011-02-20 12:24:24 +01:00
Sébastien Villemot 02652f6eb8 Updated copyright notices 2011-02-04 17:27:33 +01:00
Michel Juillard 22d5bd16cf removed useless auxiliary variables from call to kalman_transition_matrix() 2011-01-26 21:24:46 +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
sebastien 502e3e1df8 Beautified MATLAB code (Unix newline convention + Emacs indentation), except: AIM, swz, particle
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3250 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-16 17:17:34 +00:00
sebastien ffd9b2d405 preprocessor: clean-up workaround for acosh(), asinh(), atanh() on Win 64 platforms
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3101 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-10-29 17:16:10 +00:00
stepan d6fe54dc18 + Bug fixes related to the computation of prior (and posterior) moments.
+ Cosmetic changes.


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2791 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-06-26 10:21:30 +00:00
stepan f039875f60 + Various bug fixes related to prior sampling.
+ Removed globals in set_stationary_variables_list.m.


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2771 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-06-15 14:36:30 +00:00
stepan e3043c4107 + Changed dsge_simulated_theoretical_*.m files. They can be used to compute the prior distribution
of second order moments and variance decompositions.
+ Changed calls to dsge_simulated_theoretical_* functions.
+ Fixed headers.
+ Cosmetic changes.


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2759 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-06-11 14:39:52 +00:00
stepan b04e65196f Changed names of four functions (these functions will be used for posterior *and* prior sampling).
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2758 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-06-11 13:22:52 +00:00