Commit Graph

25 Commits (04b31992a881ddac4ec33c473963dabbe50ebed0)

Author SHA1 Message Date
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
Ferhat Mihoubi 13875c1373 The computation of autocovariances is now compatible with blocks decomposed models 2011-10-12 14:54:28 +02:00
Sébastien Villemot 555c519474 Fix typo in header 2011-09-05 15:16:05 +02:00
Ferhat Mihoubi b4b2f21695 The theoretical autocovariances can be computed with block option 2011-08-11 14:15:50 +02:00
Houtan Bastani 43479f6ef3 use short-circuit ops (|| and &&) as opposed to (| and &) to avoid warnings in Octave (and save time) 2011-02-10 15:54:23 +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
Sébastien Villemot 2ebebd1d28 No longer crash when all variables selected with "stoch_simul" are
non-stationary
2010-10-11 12:58:38 +02:00
Sébastien Villemot 9d67555fc1 Fix bug in the output of stoch_simul: in the presence of non-stationary variables, and when selecting only a subset of variables for the output, the "NaN"s in the "mean" column where wrongly placed 2010-10-11 12:58:38 +02:00
Michel Juillard c2f7f0a555 computes now variance decomposition relative to the sum of the effects of individual shocks rather than aggregate variance.
When the aggregate variance differs from the shock of the sum of the effects of individual shocks by more than 0.01% a warning is displayed.

This behaviour is documented in the reference manual.
2010-04-03 11:27:49 +02:00
sebastien e6a1916577 Theoretical autocovariances:
* at order 2 with non-stationary variables, fixed 2nd order mean correction
* when HP filtering (whether at order 1 or 2), consider all variables as stationary (closes #52)


git-svn-id: https://www.dynare.org/svn/dynare/trunk@3288 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-23 11:34:44 +00: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
michel 05189497a5 changed handling of nonstationary variables:
- oo_.mean, oo_.var, oo_.gamma_y contains all selected variables
- moments of non-stationary variables are set to NaN
options_.Schur_vec_tolerance lowered to 10^-11


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2810 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-07-04 14:11:51 +00:00
stepan ba080ab910 v4.1:: Changes related to lyapunov_symm.
+ Fixed a bug introduced in the previous commit.
+ Added a threshold parameter for the complex blocks in the upper
triangular matrix T in lyapunov_symm.m (new field in options_)
+ Cosmetic changes.


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2414 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-02-12 14:16:10 +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
sebastien 9f5beff89e v4 matlab: fixed remaining copyright headers (those files which are in the CR+LF endline convention)
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1975 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-08-01 13:08:13 +00:00
sebastien ddaaf9e1e3 v4 matlab:
* added a function matlab_ver_less_than() for testing Matlab version
* updated dynare_config.m and build_matlab.m accordingly
* removed tests to check whether we are older than Matlab 6.5 (R13), since we don't support those old versions anymore
* removed a few unnecessary uses of eval()


git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1936 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-07-07 17:08:55 +00:00
sebastien e08cad8265 v4: merged Octave branch into trunk
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1899 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-06-24 18:20:48 +00:00
adjemian 341adad2e9 Added new functions for posterior distribution processing (second order moments) + Removed global variables.
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1890 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-06-21 08:33:31 +00:00
michel 7d66de73f7 v4 th_autocovariances.m: corrected bug in case of multiple unit roots
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1754 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-03-29 08:52:00 +00:00
assia 1c53328664 header updated
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1632 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-01-21 16:23:00 +00:00
michel 1f56e496b1 v4: corrected osr
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@924 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-09-21 15:48:01 +00:00
michel f998aef46c v4: correction of computation of variances in models with unit roots
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@912 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-09-15 12:20:28 +00:00
michel c85730c108 v4: ported changes for computing variance in unit root models
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@720 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-04-20 09:08:25 +00:00
michel 9a9872fd33 dynare_v4 from CVS
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@8 ac1d8469-bf42-47a9-8791-bf33cf982152
2005-02-18 19:54:39 +00:00