CRAN/E | dfms

dfms

Dynamic Factor Models

Installation

About

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) doi:10.1016/j.jeconom.2011.02.012 - or via iterated Kalman Filtering and Smoothing until EM convergence - following Doz, Giannone and Reichlin (2012) doi:10.1162/REST_a_00225 - or using the adapted EM algorithm of Banbura and Modugno (2014) doi:10.1002/jae.2306, 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) doi:10.1111/1468-0262.00273.

sebkrantz.github.io/dfms/
Bug report File report

Key Metrics

Version 0.2.1
R ≥ 3.3.0
Published 2023-04-03 394 days ago
Needs compilation? yes
License GPL-3
CRAN checks dfms results

Downloads

Yesterday 19 0%
Last 7 days 123 +13%
Last 30 days 398 -8%
Last 90 days 1.177 -5%
Last 365 days 4.653 +77%

Maintainer

Maintainer

Sebastian Krantz

sebastian.krantz@graduateinstitute.ch

Authors

Sebastian Krantz

aut / cre

Rytis Bagdziunas

aut

Material

README
NEWS
Reference manual
Package source

In Views

TimeSeries

Vignettes

Introduction to dfms
Dynamic Factor Models: A Very Short Introduction

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

r-oldrel

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

dfms archive

Depends

R ≥ 3.3.0

Imports

Rcpp ≥ 1.0.1
collapse ≥ 1.8.0

Suggests

xts
vars
magrittr
testthat ≥ 3.0.0
knitr
rmarkdown
covr

LinkingTo

Rcpp
RcppArmadillo