Commit Graph

37 Commits (6adf1c26392d737dc31844aa3add0441e040f4a8)

Author SHA1 Message Date
Johannes Pfeifer 5103d55cb4 PKF: add period to debugging information 2023-10-29 11:30:23 +01:00
Johannes Pfeifer 3a115d4fcc Remove full oo_ input from likelihood functions 2023-10-02 09:48:34 +02:00
Johannes Pfeifer 8da98057b9
Have computation of decision rules and smoother only input and output required arguments instead of full oo_ and M_ 2023-09-25 17:17:34 +02:00
Marco Ratto 7132cb593e bug fix for init variables to be defined only with occbin PKF 2023-02-03 14:20:16 +01:00
Marco Ratto a346639020 when filter is NOT diffuse, allow likelihood to handle violation of constraints in period 1. 2023-02-03 14:19:28 +01:00
Johannes Pfeifer 4307711c60 missing_observations_kalman_filter.m: provide debugging information on PKF problems 2023-01-19 11:57:35 +01:00
Johannes Pfeifer 93ae4849b7 missing_observations_kalman_filter.m: remove unused output whose dimensions grow over time 2022-05-25 12:55:05 +02:00
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 229282a1c4
Occbin: the +<basename>/occbin_difference.m file is now generated by the preprocessor
Some fields have also changed under M_.occbin.

Ref. #569
2021-07-20 12:35:15 +02:00
Marco Ratto 02072dde39
Add Occbin routines
Syntax is not yet finalized (see preprocessor#68).
Documentation still to be done.

Ref. #569
2021-07-16 17:20:11 +02:00
Sébastien Villemot 766fff88f6
Use secure URL for link to GNU licenses 2021-06-09 17:35:05 +02:00
Marcoo Ratto 1645f38269
Implement heteroskedastic filter and smoother 2021-05-26 18:45:16 +02:00
Johannes Pfeifer 869147c13a Kalman filter functions: clarify header comments 2021-01-18 17:33:21 +01:00
Marco Ratto 73291b0b19 before issuing F singularity, check with rescaled F matrix: this spares lots of computing time when singularity only happens in the first KF step. 2020-01-24 14:17:26 +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
Stéphane Adjemian (Charybdis) 88e1701289 Removed useless commas and semicolons. 2017-05-16 13:24:46 +02:00
Stéphane Adjemian (Charybdis) c1b6a58eb7 Manually revert 05fc096569.
Robust prediction error covariance matrix computation is now optional (with
rescale_prediction_error_covariance option).

Closes #1437.
2017-04-27 10:44:27 +02:00
Johannes Pfeifer 8dc96cafa4 If F is identically 0 in Kalman filter, discard parameter draw instead of treating current observation as unobserved
See discussion on mailing list 18/06/2016
2016-08-22 19:24:35 +02:00
Michel Juillard 953ac851c0 & into && 2015-11-09 09:03:55 +01:00
Marco Ratto 05fc096569 Make multivariate kalman filter and smoother robust to badly scaled covariance matrix of observables.
This avoids shifting to univariate filter in most cases.
2015-10-13 17:15:01 +02:00
Ferhat Mihoubi 307d5d5d6a Initializes the s variable 2012-07-01 15:19:36 +02:00
Michel Juillard 2fa433f18e fixing bug for estimation of models with measurement errors and
missing observations
2012-06-19 16:35:44 +02:00
Sébastien Villemot 1f9cea669a Update copyright notices 2012-06-08 18:22:34 +02:00
Michel Juillard c15123878f fixed rare bug in Kalman filter when one should switch to steady state
filter in last period of the sample
2012-05-10 11:09:06 +02:00
Michel Juillard 919c2f8fb4 correcting bug with presample and diffuse filter + simplified logic
for computation of likelihood with presample
2012-01-22 22:40:46 +01:00
Stéphane Adjemian (Scylla) f2ca6d0ad9 Changed kalman filter routines to allow for arbitrary initial conditions (needed for the introduction of breaks on the estimated
parameters and also for the estimation of the initial states).

Added specialized routines for steady state  kalman filter.

Completed header of DsgeLikelihood (missing refs to the routines called by DsgeLikelihood).
2011-09-19 17:01:24 +02:00
Houtan Bastani c59133562c more short-circuit logicals in the place of element-wise logicals 2011-02-22 15:06:38 +01:00
Sébastien Villemot 02652f6eb8 Updated copyright notices 2011-02-04 17:27:33 +01:00
Michel Juillard c1cb452e3d correcting headers of all Kalman filter functions: returns MINUS loglikelihood 2010-12-10 22:31:30 +01:00
Stéphane Adjemian (Scylla) bb47d78611 Fixed bug in Kalman filter routines + Cosmetic changes. 2010-06-24 18:20:07 +02:00
Michel Juillard 61e78763da correcting bug in kalman filter when it reaches the steady state (multivariate diffuse Kalman filter, both versions, regular Kalman filter with missing observations) 2010-06-09 18:00:17 +02:00
Michel Juillard 4bde063669 Kalman filters: fixing initialization of oldK to Inf instead of 0 2010-04-16 12:20:57 +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
stepan 3692d5f99b + Added missing semicolon.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2813 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-07-06 12:34:57 +00:00
michel 3260ba476e 4.1 correcting bug for large values of start and fixed constants in lik. Still need to be tested
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2715 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-05-28 18:14:07 +00:00
adjemian c5e73fcbaf v4.1: Added subfolders in ./matlab/kalman.
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2162 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-10-16 21:15:07 +00:00