Other packages > Find by keyword >

dfms  

Dynamic Factor Models
View on CRAN: Click here


Download and install dfms package within the R console
Install from CRAN:
install.packages("dfms")

Install from Github:
library("remotes")
install_github("cran/dfms")

Install by package version:
library("remotes")
install_version("dfms", "0.4.0")



Attach the package and use:
library("dfms")
Maintained by
Sebastian Krantz
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2022-10-12
Latest Update: 2025-05-18
Description:
Efficient estimation of Dynamic Factor Models using the Expectation Maximization (EM) algorithm or Two-Step (2S) estimation, supporting datasets with missing data. The estimation options follow advances in the econometric literature: either running the Kalman Filter and Smoother once with initial values from PCA - 2S estimation as in Doz, Giannone and Reichlin (2011) - or via iterated Kalman Filtering and Smoothing until EM convergence - following Doz, Giannone and Reichlin (2012) - or using the adapted EM algorithm of Banbura and Modugno (2014) , allowing arbitrary patterns of missing data. The implementation makes heavy use of the 'Armadillo' 'C++' library and the 'collapse' package, providing for particularly speedy estimation. A comprehensive set of methods supports interpretation and visualization of the model as well as forecasting. Information criteria to choose the number of factors are also provided - following Bai and Ng (2002) .
How to cite:
Sebastian Krantz (2022). dfms: Dynamic Factor Models. R package version 0.4.0, https://cran.r-project.org/web/packages/dfms. Accessed 16 Jul. 2026.
Previous versions and publish date:
(2026-07-09 07:31), 0.1.3 (2022-10-12 10:32), 0.1.4 (2023-01-12 17:00), 0.2.0 (2023-03-31 11:10), 0.2.1 (2023-04-03 13:00), 0.2.2 (2024-06-09 20:20), 0.3.0 (2025-05-18 06:50), 0.3.1 (2025-08-20 18:40), 0.3.2 (2025-09-24 19:20), 0.4.0 (2026-01-18 23:10), 1.0.0 (2026-01-26 16:50)
Other packages that cited dfms R package
View dfms citation profile
Other R packages that dfms depends, imports, suggests or enhances
Complete documentation for dfms
Functions, R codes and Examples using the dfms R package
Some associated functions: BM14_Models . DFM . FIS . ICr . SKF . SKFS . ainv . as.data.frame.dfm . dot-VAR . em_converged . plot.dfm . predict.dfm . residuals.dfm . summary.dfm . tsnarmimp . 
Some associated R codes: DFM.R . EMBM.R . EMBM_idio.R . EMDGR.R . RcppExports.R . data.R . init_cond.R . methods.R . my_RcppExports.R . srr-stats-standards.R . utils.R .  Full dfms package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

bbdetection  
Identification of Bull and Bear States of the Market
Implements two algorithms of detecting Bull and Bear markets in stock prices: the algorithm of Pagan ...
Download / Learn more Package Citations See dependency  
nextGenShinyApps  
Craft Exceptional 'R Shiny' Applications and Dashboards with Novel Responsive Tools
Nove responsive tools for designing and developing 'Shiny' dashboards and applications. The scripts ...
Download / Learn more Package Citations See dependency  
schoolmath  
Functions and Datasets for Math Used in School
Contains functions and datasets for math taught in school. A main focus is set to prime-calculation. ...
Download / Learn more Package Citations See dependency  
Rnmr1D  
Perform the Complete Processing of a Set of Proton Nuclear Magnetic Resonance Spectra
Perform the complete processing of a set of proton nuclear magnetic resonance spectra from the free ...
Download / Learn more Package Citations See dependency  
tarchetypes  
Archetypes for Targets
Function-oriented Make-like declarative pipelines for Statistics and data science are supported in t ...
Download / Learn more Package Citations See dependency  
tibble  
Simple Data Frames
Provides a 'tbl_df' class (the 'tibble') with stricter checking and better formatting than the tradi ...
Download / Learn more Package Citations See dependency  

27,806

R Packages

239,283

Dependencies

73,837

Author Associations

27,807

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA