Fast Kalman Filter

This is a fast and flexible implementation of the Kalman filter and smoother, which can deal with NAs. It is entirely written in C and relies fully on linear algebra subroutines contained in BLAS and LAPACK. Due to the speed of the filter, the fitting of high-dimensional linear state space models to large datasets becomes possible. This package also contains a plot function for the visualization of the state vector and graphical diagnostics of the residuals.


The Fast Kalman Filer Toolbox

R-CMD-check codecov AppVeyor buildstatus

The Fast Kalman Fileter Toolbox for R allows the implimentation of multivariate time series filtering with external time varying inputs using the linear Kalman fileter in R.

The canonical link to the package on CRAN which includes examples and documentation is https://CRAN.R-project.org/package=FKF.

Development can be tracked via the github repository which contains source code for the package starting with version 0.1.5.

The latest developmental release can be installed with

devtools::install_github("waternumbers/FKF")

Prebuild packages (usually the latest development version) are available from the r-universe.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("FKF")

0.2.6 by Paul Smith, 2 years ago


https://waternumbers.github.io/FKF/, https://github.com/waternumbers/FKF


Report a bug at https://github.com/waternumbers/FKF/issues


Browse source code at https://github.com/cran/FKF


Authors: David Luethi [aut] , Philipp Erb [aut] , Simon Otziger [aut] , Daniel McDonald [aut] , Paul Smith [aut, cre]


Documentation:   PDF Manual  


GPL (>= 2) license


Imports graphics

Suggests knitr, rmarkdown, testthat


Imported by RcppSMC, cforecast, tscopula, wex.

Suggested by highfrequency, sarima.


See at CRAN