Johannes Pfeifer
f5def11a23
disp_th_moments.m: honor noprint
2021-12-09 09:01:10 +01: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
9c52aec23d
Adjust output of loglinear option to make clear when a logged variable is used
...
- use of function for getting labels will allow to accommodate https://git.dynare.org/Dynare/dynare/-/issues/349
- incidentally fixes a bug in the display of the simulated variance decomposition for observables with measurement error
2020-12-23 13:53:44 +01:00
Sébastien Villemot
c160d24074
Octave 6 implements intersect(…, 'stable')
...
[skip ci]
2020-11-30 18:26:50 +01:00
Sébastien Villemot
4913cfb3f0
Merge branch 'third_order_moments' into 'master'
...
Add display of theoretical moments at order=3 with pruning
See merge request Dynare/dynare!1744
2020-06-30 14:38:22 +00:00
Johannes Pfeifer
9d2ec5f040
disp_th_moments.m: cosmetic changes
2020-06-30 15:31:55 +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
89a3e94cbf
Use true/false instead of 1/0 for boolean options
...
This is more elegant, and makes it easier to distinguish them from integer
options.
Also simplify test expressions for these boolean options.
2019-03-19 15:21:16 +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
baf7ba9031
Merge pull request #1462 from JohannesPfeifer/contemp_corr
...
Make sure oo_.contemporaneous_correlation has same dimensions as othe…
2017-06-04 23:18:26 +02:00
Johannes Pfeifer
f9efc6c10e
Make sure oo_.contemporaneous_correlation has same dimensions as other theoretical moments, even if some variables are constant
2017-05-30 19:30:43 +02:00
Johannes Pfeifer
d75e7278c2
Make sure that reverting to order=1 if Hessian is 0 does not crash other functions
...
Closes #1453
2017-05-27 19:26:12 +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
Stéphane Adjemian (Charybdis)
88e1701289
Removed useless commas and semicolons.
2017-05-16 13:24:46 +02:00
Johannes Pfeifer
9b82c72e4f
Remove global options structure from dyntable
2016-06-14 11:52:17 +02:00
Johannes Pfeifer
f851252b25
Pass options_ to dyn_latex_table.m to make it honor noprint option
2016-06-14 11:52:17 +02:00
Johannes Pfeifer
f7175745ac
Add one-sided HP filter
2015-10-13 20:50:03 +02:00
Johannes Pfeifer
40877685f2
Add LaTeX-output option to table from stoch_simul.m
2015-10-12 20:42:04 +02:00
Johannes Pfeifer
38d293b864
Replace globals in disp_th_moments.m by function arguments
2015-10-12 20:42:03 +02:00
Johannes Pfeifer
f7ae5e4f60
Adjust table titles to accommodate new filter options
2015-10-12 20:42:02 +02:00
Johannes Pfeifer
698a44c98a
Add option for storing contemporaneous correlation
2015-08-11 11:27:55 +02:00
Michel Juillard
edbd1ef374
fixing typo
2015-07-13 11:51:07 +02:00
Marco Ratto
06572f26a4
Use the nodecomposition option which is available in th_autocovariances.m: for large models with the HP filter option, this may spare a lot of time, if only the unconditional moments are needed on output;
2014-11-14 17:28:17 +01:00
Michel Juillard
fbbe98815b
fixing bug introduced in commit 6eb3a3d
when displaying theoretical
...
moments for a model with a single exogenous variable
2014-11-01 09:15:48 +01:00
Johannes Pfeifer
6eb3a3d3ad
Disentangle computation and display of conditional_variance_decomposition
...
Previously, noprint suppressed the computation of conditional_variance_decomposition although it should only suppress its display. Also adds a dedicated field for the unconditional variance decomposition.
2014-04-07 17:38:27 +02:00
Stéphane Adjemian (Charybdis)
4052d4ccaf
Cosmetic changes. Use skipline() instead of disp(' ').
2013-07-10 17:12:34 +02:00
Sébastien Villemot
61485ab809
Fix copyright notices
2013-06-12 17:04:46 +02:00
Johannes Pfeifer
1883eb092b
Clarify theoretical second moments for order=2
...
Eliminates warning message introduced in
4c8f3a89cc
Adds hint to approximation in table title and adds the information with
a reference to Kim/Kim/Schaumburg/Sims (2008) to manual.
closes #278
2013-03-18 22:58:06 +01:00
Johannes Pfeifer
98ec0095df
Add warning for variance decomposition at order=2
...
At order=2, the variance decomposition is still based on order=1. This
commit introduces a warning. See issue #278
(https://github.com/DynareTeam/dynare/issues/278 ). This information that
the variance decomposition is only triggered at periods=0 has been added
to the manual.
2013-03-17 23:36:43 +01:00
Sébastien Villemot
1b4dcdd7f1
Allow non-integer values for hp_filter parameter
2011-09-08 17:29:49 +02:00
Sébastien Villemot
df0edeecf0
Theoretical moments: handle nicely the case where all variables are either constant or non stationary
2011-08-29 17:35:35 +02:00
Sébastien Villemot
02652f6eb8
Updated copyright notices
2011-02-04 17:27:33 +01:00
Sébastien Villemot
757a9067c0
Global reindentation of MATLAB files
2011-02-04 17:17:48 +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
Houtan Bastani
a20bc07fdf
replace deprecated Matlab function strvcat with char
2010-09-27 16:11:14 +02:00
ratto
a018e231de
distinguishing between noprint and nomoments/nocorr options
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3359 ac1d8469-bf42-47a9-8791-bf33cf982152
2010-01-15 09:55:05 +00:00
sebastien
1be52aaa5f
Beautification: removed tabulation characters which were left in previous beautification pass
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3300 ac1d8469-bf42-47a9-8791-bf33cf982152
2010-01-05 10:46:10 +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
sebastien
a2cef7009d
Fixes for ticket #57
...
preprocessor:
* add a field "M_.orig_endo_nbr" containing the nbr of endogenous before adding aux vars
* always provide "M_.aux_vars" (define it to "[]" when there is no aux var)
* rename "M_.aux_vars().orig_endo_index" to "M_.aux_vars().orig_index"
M-files:
* for commands which accept a list of variables (stoch_simul, osr, estimation, dynasave, dynatype, datatomfile), when no variable is given, use only the set of original endogenous (without aux vars) as the default
* when displaying the decision rule, when there is aux vars in the state variables, replace them by their original name (with the right lag)
* in "steady", don't display aux vars
* special exception for ramsey policy: all vars (including aux vars) are displayed, because the system of aux vars from ramsey policy is not compatible with the aux vars from the preprocessor
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3166 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-11-25 10:22:39 +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
michel
f5920bbc34
v4: correcting bug related to nonstationary variables
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2850 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-07-21 11:52:35 +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