Commit Graph

25 Commits (6e0f104d7e2bd9b15e47d2715494734d96652e23)

Author SHA1 Message Date
Sébastien Villemot 6e0f104d7e
Bump minimal MATLAB version to R2014a
Ref. #1713
2020-04-07 16:32:32 +02:00
Sébastien Villemot 49dc997073
Global reindentation of MATLAB code (excluding submodules)
Also convert to Unix end-of-lines, and remove trailing whitespaces.
2019-12-20 16:30:27 +01:00
Sébastien Villemot e48177543b
intersect(…, 'stable') was introduced in MATLAB R2013a
Re-use the existing Octave replacement by making it MATLAB-compatible.
2019-03-26 18:53:51 +01:00
Sébastien Villemot 0b1c465b38
Octave compatibility fix: intersect(..., 'stable')
The 'stable' option of intersect(), which keeps the element order of the first
argument, is not available on Octave. Provide a fallback implementation, and
adapt the code.
2019-02-15 18:43:19 +01:00
Stéphane Adjemian (Scylla) 7be8f10e0e Use cells of strings instead of char arrays. 2018-01-09 22:30:01 +01:00
Johannes Pfeifer a1222a1d1b Implement variance decomposition with measurement error 2017-10-05 11:33:17 +02:00
Stéphane Adjemian (Charybdis) 1bf81c9f5a Fixed copyright notices. 2017-05-18 18:36:38 +02:00
Stéphane Adjemian (Charybdis) 5417b27ac7 Fixed indentation of matlab files. 2017-05-16 15:10:20 +02:00
Stéphane Adjemian (Charybdis) a53636e24e Fixed copyright notices. 2017-05-16 14:11:15 +02:00
Johannes Pfeifer 59cbee2b56 Provide output on posterior variance decomposition
Closes #1219
2016-06-14 11:53:38 +02:00
Johannes Pfeifer 698a44c98a Add option for storing contemporaneous correlation 2015-08-11 11:27:55 +02:00
Johannes Pfeifer beab158a67 Various cosmetic fixes 2015-08-10 21:35:51 +02:00
Marco Ratto 3d14c1078e Proper use of nodecomposition option in posterior estimation and identification. 2014-11-18 12:12:22 +01:00
Stéphane Adjemian (Charybdis) 907e087ea9 Consider options_.varobs as a cell of strings. 2013-09-07 16:39:04 +02:00
Sébastien Villemot 02652f6eb8 Updated copyright notices 2011-02-04 17:27:33 +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 e4986047ae moments_varendo: compute variance decomposition only if there is more than one exogenous variable 2010-08-11 12:03:19 +02:00
Michel Juillard 6a224e78a0 computes posterior distribution of conditional variance decomposition only if option conditional_variance_decomposition is specified in estimation 2010-06-26 15:51:12 +02: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 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 1c5e2df2a0 + Changed compute_moments_varendo so that it can handle prior montecarlo.
+ Bug fix.
+ Cosmetic changes.


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2766 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-06-11 23:09:19 +00:00
stepan dedca98dba Added Posterior distribution of the conditional variance
decomposition (more tests are needed). 

The results are saved in oo_.PosteriorTheoreticalMoments.dsge.ConditionalVarianceDecomposition. 

Contrary to the asymptotic variance decomposition, we do not report
contribution shares but contribution levels of each structural shock.

LIMITATIONS: 
* Won't work in a model with measurement errors.
* Won't work in a model with correlated shocks.
* The routines do not compute the covariance decompositions.


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2719 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-06-03 14:50:02 +00:00
stepan fe418672cd v4.1: Changes related to (posterior) 2nd order moments.
+ Efficiency changes:
++ Do not compute the variance decomposition if not needed.
++ Do not apply the Schur decomposition for each shock in case of a variance decomposition.
+ Bug corrections and cosmetic changes.
+ Corrections of some headers.


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2411 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-02-10 21:10:11 +00:00
adjemian 2845115b5f + Removed global variables.
+ Added try and catch to handle cases where oo_ is broken and (mh_replic==0 & load_mh_file==1).
+ Added computation of posterior moments for endogenous variables (triggered by moments_varendo option). First order moments are still missing.

git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2028 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-09-03 16:05:35 +00:00