Johannes Pfeifer
4d43e1850d
dsge_simulated_theoretical_correlation/dsge_simulated_theoretical_covariance: only do computations once
...
Closes https://git.dynare.org/Dynare/dynare/-/issues/1769
2021-07-22 17:03:27 +02:00
Sébastien Villemot
766fff88f6
Use secure URL for link to GNU licenses
2021-06-09 17:35:05 +02:00
Sébastien Villemot
47477e152a
Bump minimal Octave version to 6.2.0
2021-03-12 16:21:57 +01:00
Johannes Pfeifer
ade1dfce5e
compute_moments_varendo: cosmetic fix to display
2021-01-22 21:19:07 +01:00
Johannes Pfeifer
314948ce34
compute_moments_varendo: skip computations for various unsupported cases
2021-01-22 21:19:07 +01:00
Johannes Pfeifer
dedfd0c08f
compute_moments_varendo: skip variance decomposition at higher order
2021-01-22 21:19:07 +01:00
Sébastien Villemot
c160d24074
Octave 6 implements intersect(…, 'stable')
...
[skip ci]
2020-11-30 18:26:50 +01:00
Johannes Pfeifer
f3329c2db6
compute_moments_varendo.m: delete stale results field
...
Otherwise, results from old runs will not be updated
2020-06-29 13:21:25 +02:00
Johannes Pfeifer
6e06acc7f4
Fix moment computation with Measurement errors
...
- check logic for M_.H was faulty
- M_.H was not updated in posterior sampling
2020-06-29 13:20:02 +02:00
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