Commit Graph

266 Commits (7dd2dd5e24a343fbeaf3522ea5e535c27d8b9f95)

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
Sébastien Villemot bdb21f9ad6
ver_less_than.m: add missing semicolons in unit tests
[skip ci]
2022-01-03 16:09:26 +01:00
Sébastien Villemot 93883aad57
Merge branch 'version_utilities' of git.dynare.org:JohannesPfeifer/dynare
Ref. !1985
2022-01-03 15:22:18 +01:00
Johannes Pfeifer 97b98d155e Partially revert "Remove more utilities related to conversion of oo_ between Dynare versions"
This partially reverts commit 26597bf093.
2021-12-21 12:44:49 +01:00
Stéphane Adjemian (Ryûk) ba7a53b38b
Code factorization (NLS). 2021-12-19 17:14:25 +01:00
Stéphane Adjemian (Ryûk) 4512000f0f
Display estimation results PAC/NLS. 2021-12-17 20:53:39 +01:00
Sébastien Villemot 766fff88f6
Use secure URL for link to GNU licenses 2021-06-09 17:35:05 +02:00
Marco Ratto 915502ce13 copyright year and indentation 2021-02-13 11:29:40 +01:00
Marco Ratto d56bba724c autocov is initialized NaN with the original order and then only loop up to updted order compatible with sample size. 2021-02-13 11:27:18 +01:00
Marco Ratto ebec3ede8a allow negative lag (i.e. a lead) 2021-02-12 18:50:55 +01:00
Marco Ratto 1519e4673a trap case when order is too big wrt sample size 2021-02-12 18:49:33 +01:00
Johannes Pfeifer ca978b6bf7 get_labels_transformed_vars.m: fix header
[skip CI]
2021-01-06 10:27:53 +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
Johannes Pfeifer cfe1069367 Factorize prior bound and definiteness checks
also removes useless isestimation check
2020-06-22 20:37:31 +02:00
Sébastien Villemot 154fced8b7
Remove old SMM code
Ref. #1724
2020-05-18 17:30:40 +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 fd115c22e7
Restore the BSD-2-clause license header of two files
Those had been incorrectly converted to GPL-3+ in commit
1bf81c9f5a.
2020-01-22 16:53:22 +01: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
Stéphane Adjemian (Charybdis) 6a87779d9e
Cosmetic change. 2019-10-01 14:48:43 +02:00
Stéphane Adjemian (Charybdis) 8eb3023069
Changed isint function.
To make it consistent with the routine available in the dates toolbox.
2019-10-01 14:48:12 +02:00
Stéphane Adjemian (Charybdis) fdf6821d0b Generalized isconst routine. 2019-09-11 11:11:15 +02:00
Sébastien Villemot 04323301a5
isdiag was introduced in MATLAB R2014a
Provide a replacement by reusing a similar function that was under
matlab/general/utilities/.
2019-03-26 16:50:06 +01:00
Marco Ratto aeceafbec2 fixed error in formula of annualized steady state
(cherry picked from commit 696800b277dadd164244771ccfce8e39f1146472)
2019-01-17 10:57:39 +01:00
Sébastien Villemot 552c40cfc4
Update dseries and m-unit-tests submodules 2018-12-12 14:48:50 +01:00
Sébastien Villemot 7a75872f72
Modernization: use tilde (~) syntax for ignored output arguments 2018-11-13 18:02:09 +01:00
Sébastien Villemot 096936be9c
The preprocessor now compiles the MEX when use_dll is specified
Update documentation accordingly (except on macOS where the solution has not
yet been implemented).

Also include MinGW in the Windows installer.
2018-10-29 14:41:34 +01:00
Stéphane Adjemian(Charybdis) 99aadf7d1a Updated m-unit-tests submodule. 2018-09-14 15:37:30 +02:00
Sébastien Villemot 51416bf2ae Always use "isoctave" for testing Octave context 2018-09-07 17:22:08 +02:00
Sébastien Villemot a1b8bd39b2 Move the location of various generated files on the filesystem
- M and MEX files are now under +${MODELNAME}/
- bytecode, C source and JSON now under ${MODELNAME}/model/
2018-06-27 17:03:39 +02:00
Stéphane Adjemian (Charybdis) 4adebd4419 Fixed copyright header. 2018-02-01 22:51:23 +01:00
Marco Ratto a7bc6414f5 fixed bug to logical if condition 2018-02-01 19:14:13 +01:00
Marco Ratto 13a30a0a4e add a new case for ratios between endogenous variables, like trade balance to GDP. 2018-01-27 10:37:31 +01:00
Stéphane Adjemian (Charybdis) e6cc7d6a7f Rewrote header. 2018-01-24 15:59:47 +01:00
Stéphane Adjemian (Charybdis) 145f1e7b1c Streamlined code by removing unnecessary conditions. 2018-01-24 15:59:04 +01:00
Johannes Pfeifer 92549e48b1 Make demean.m use nanmean
Otherwise estimation with missing observations and prefilter option will crash
2018-01-20 08:26:00 +01:00
Johannes Pfeifer b4204f8b9e Make sure that mean and covariance of data are correctly computed with only one observation
Need to always compute mean along first dimension

(cherry picked from commit 2d371b1997f5fa07fcbbf47e5923d7817d07c6b9)
2018-01-12 09:48:14 +01:00
Marco Ratto 45166aba81 Bug fix for undefined yr variable 2018-01-10 13:14:27 +01:00
Stéphane Adjemian(Charybdis) 61b23a17f4 Merge branch 'upgrade-classes' 2017-10-11 14:09:35 +02:00
Stéphane Adjemian (Scylla) 4757713829 Fixed type of first returned argument. 2017-10-10 14:37:07 +02:00
Stéphane Adjemian (Scylla) 560a047a53 Moved isfile routine in missing.
This routine has been introduced in R2017b. Closes #1523.
2017-10-10 13:33:32 +02:00
Stéphane Adjemian (Scylla) a83258d4af Generalised isfile routine (to accept more than one file name to be tested). 2017-10-10 13:19:07 +02:00
Johannes Pfeifer e857df0c93 Correct header of makedataset.m 2017-10-04 10:40:42 +02:00
Stéphane Adjemian (Charybdis) 803433fa5a Updated submodules (fixed indentation and copyrigth notices). 2017-05-19 08:46:20 +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
Stéphane Adjemian (Charybdis) 88e1701289 Removed useless commas and semicolons. 2017-05-16 13:24:46 +02:00
Stéphane Adjemian (Charybdis) 9285a80a73 Fixed function name in header. 2017-05-16 13:24:46 +02:00
Stéphane Adjemian (Charybdis) 3816272414 Make load_m_file_data_legacy.m work with row vectors.
Added unit-tests.
2017-05-10 17:39:11 +02:00
Johannes Pfeifer b52c095a6b Add legacy function for loading mat-files with old interface
Follows approach of #758 and closes #1364
2017-04-29 18:25:39 +02:00