Commit Graph

24 Commits (master)

Author SHA1 Message Date
Sébastien Villemot 10af04c6d8
Use Unicode copyright symbol (in UTF-8 encoding) in all source files
It is now supported by the MATLAB editor (as of R2022a).

The old ASCII notation is left in some files that we copy as-is from other
sources (e.g. in the contrib/ and m4/ subdirectories).

The particles submodule is not updated at this point, because it is in an
inconsistent state.

[skip ci]
2022-04-13 14:54:25 +02:00
Johannes Pfeifer 2dd6510051 smoother2histval.m: undo logging
Closes https://git.dynare.org/Dynare/dynare/-/issues/1407
2021-09-17 14:43:50 +02:00
Johannes Pfeifer 62e80b0c07 smoother2histval.m: also set M_.exo_histval 2021-09-17 14:42:44 +02:00
Johannes Pfeifer 489e6684e9 smoother2histval.m: fix initialization and dimensions
Closes https://git.dynare.org/Dynare/dynare/-/issues/1775
2021-09-17 13:58:06 +02:00
Johannes Pfeifer a04c348d73 smoother2histval.m: provide warning when smoothed variables are missing 2021-07-22 12:22:18 +02:00
Sébastien Villemot 766fff88f6
Use secure URL for link to GNU licenses 2021-06-09 17:35:05 +02:00
Johannes Pfeifer 6b2555f0ad smoother2histval: fix computation of data length 2021-02-16 09:00:11 +00:00
Johannes Pfeifer a0d0270679 smoother2histval.m: suppress output
[skip CI]
2021-02-16 08:11:13 +00:00
Johannes Pfeifer b2efc7a604 smoother2histval.m: fix bug when variable names are similar 2021-01-07 21:44:06 +01:00
Michel Juillard b70d99d1b4
Refactoring of initval_file and histval_file
initval_file and hisvfal_file are now more flexible and have functionalities
similar to option datafile in estimation.

Closes: #1671
2020-05-14 16:45:54 +02:00
Houtan Bastani 908950f121
replace getfield/setfield with dynamic fields 2019-07-25 14:28:35 -04:00
Marco Ratto cf5f556f4a Do not re-set auxiliary variables if they are already available in the input info [i.e. smoothed variables].
This makes the function robust when one provides info using UpdatedVariables, instead, for faster realtime exercises.
2018-02-01 19:17:59 +01:00
Stéphane Adjemian (Scylla) 7be8f10e0e Use cells of strings instead of char arrays. 2018-01-09 22:30:01 +01: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
Marco Ratto 389123d0b5 bug fixes. 2017-03-19 12:19:24 +01:00
Marco Ratto b916d788f4 trap cases where both point and posterior estimates are available 2017-03-19 12:19:24 +01:00
Marco Ratto dd69e0c751 Fixed bug with new harmonized setting of Smoothed Variables, which contain already steady-state also at the mode without metropolis 2016-09-12 11:48:52 +02:00
Marco Ratto 4729459970 Properly handle case when post_metropolis=0: here steady_state must be added to smoothed variables. 2014-09-12 15:35:00 +02:00
Sébastien Villemot 295f8d53f0 smoother2histval, histval_file: fix compatibility problems with MATLAB. 2014-04-07 14:58:28 +02:00
Sébastien Villemot 614dc3e5a6 smoother2histval/histval_file: handle lagged exogenous.
Ref #594
2014-04-04 17:22:09 +02:00
Sébastien Villemot 9eebfc87b0 Improvements to smoother2histval (ref #594)
- fix handling of auxiliary variables related to lagged endogenous
- add preprocessor interface
- add histval_file
- add tests (for smoother2histval with outfile, and for histval_file)
2014-04-03 15:05:20 +02:00
Sébastien Villemot adae298d95 Improvements to smoother2histval.
- Support saving to an output MAT file.

- Handle smoothed variables computed by a Metropolis, by adding support for the
  parameter_set option.

- When an auxiliary variable is not in the output model, emit a warning instead
  of stopping with an error message (aux vars may be different between input
  and output models, even if the equations are identical).

Ref #594
2014-03-25 19:01:50 +01:00
Sébastien Villemot c09d45c44d New smoother2histval function.
Ref #594
2014-02-21 18:33:51 +01:00