Package: KFAS 1.5.1

KFAS: Kalman Filter and Smoother for Exponential Family State Space Models

State space modelling is an efficient and flexible framework for statistical inference of a broad class of time series and other data. KFAS includes computationally efficient functions for Kalman filtering, smoothing, forecasting, and simulation of multivariate exponential family state space models, with observations from Gaussian, Poisson, binomial, negative binomial, and gamma distributions. See the paper by Helske (2017) <doi:10.18637/jss.v078.i10> for details.

Authors:Jouni Helske [aut, cre]

KFAS_1.5.1.tar.gz
KFAS_1.5.1.zip(r-4.5)KFAS_1.5.1.zip(r-4.4)KFAS_1.5.1.zip(r-4.3)
KFAS_1.5.1.tgz(r-4.4-x86_64)KFAS_1.5.1.tgz(r-4.4-arm64)KFAS_1.5.1.tgz(r-4.3-x86_64)KFAS_1.5.1.tgz(r-4.3-arm64)
KFAS_1.5.1.tar.gz(r-4.5-noble)KFAS_1.5.1.tar.gz(r-4.4-noble)
KFAS_1.5.1.tgz(r-4.4-emscripten)KFAS_1.5.1.tgz(r-4.3-emscripten)
KFAS.pdf |KFAS.html
KFAS/json (API)

# Install 'KFAS' in R:
install.packages('KFAS', repos = c('https://helske.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/helske/kfas/issues

Uses libs:
  • openblas– Optimized BLAS
  • fortran– Runtime library for GNU Fortran applications
Datasets:
  • GlobalTemp - Two series of average global temperature deviations for years 1880-1987
  • alcohol - Alcohol related deaths in Finland 1969-2013
  • boat - Oxford-Cambridge boat race results 1829-2011
  • sexratio - Number of males and females born in Finland from 1751 to 2011

On CRAN:

dynamic-linear-modelexponential-familyfortrangaussian-modelsstate-spacetime-series

20 exports 64 stars 4.78 score 0 dependencies 16 dependents 8 mentions 195 scripts 7.7k downloads

Last updated 10 days agofrom:9b29f8e7d9. Checks:OK: 9. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 08 2024
R-4.5-win-x86_64OKSep 08 2024
R-4.5-linux-x86_64OKSep 08 2024
R-4.4-win-x86_64OKSep 08 2024
R-4.4-mac-x86_64OKSep 08 2024
R-4.4-mac-aarch64OKSep 08 2024
R-4.3-win-x86_64OKSep 08 2024
R-4.3-mac-x86_64OKSep 08 2024
R-4.3-mac-aarch64OKSep 08 2024

Exports:approxSSMartransformfitSSMimportanceSSMis.SSModelKFSldlmvInnovationsrename_statessignalsimulateSSMSSMarimaSSMcustomSSMcycleSSModelSSMregressionSSMseasonalSSMtrendsubset<-transformSSM

Dependencies:

KFAS: Exponential Family State Space Models in R

Rendered fromKFAS.Rnwusingknitr::knitron Sep 08 2024.

Last update: 2020-12-06
Started: 2015-04-13

Readme and manuals

Help Manual

Help pageTopics
Extract or Replace Parts of a State Space Model[.SSModel [<-.SSModel
Alcohol related deaths in Finland 1969-2013alcohol
Linear Gaussian Approximation for Exponential Family State Space ModelapproxSSM
Mapping real valued parameters to stationary regionartransform
Oxford-Cambridge boat race results 1829-2011boat
Smoothed Estimates or One-step-ahead Predictions of Statescoef.KFS coef.SSModel
Confidence Intervals of Smoothed Statesconfint.KFS
Maximum Likelihood Estimation of a State Space ModelfitSSM
Smoothed Estimates or One-step-ahead Predictions of Fitted Valuesfitted.KFS fitted.SSModel
Two series of average global temperature deviations for years 1880-1987GlobalTemp
Extract Hat Values from KFS Outputhatvalues.KFS
Importance Sampling of Exponential Family State Space ModelimportanceSSM
Test whether object is a valid 'SSModel' objectis.SSModel
KFAS: Functions for Exponential Family State Space ModelsKFAS-package KFAS
Kalman Filter and Smoother with Exact Diffuse Initialization for Exponential Family State Space ModelsKFS
LDL Decomposition of a Matrixldl
Log-likelihood of the State Space Model.logLik logLik.SSModel
Multivariate InnovationsmvInnovations
Diagnostic Plots of State Space Modelsplot.SSModel
State Space Model Predictionspredict predict.SSModel
Print Ouput of Kalman Filter and Smootherprint.KFS
Print SSModel Objectprint.SSModel
Rename the States of SSModel Objectrename_states
Extract Residuals of KFS outputresiduals.KFS
Extract Standardized Residuals from KFS outputrstandard.KFS
Number of males and females born in Finland from 1751 to 2011sexratio
Extracting the Partial Signal Of a State Space Modelsignal
Simulation of a Gaussian State Space ModelsimulateSSM
Create a State Space Model Object of Class SSModelSSMarima SSMcustom SSMcycle SSModel SSMregression SSMseasonal SSMtrend
Transform Multivariate State Space Model for Sequential ProcessingtransformSSM