GithubHelp home page GithubHelp logo

econmaett / dfms Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 19.37 MB

Create dynamic factor models in R with the dfms package

Home Page: usethis::use_git_remote("origin", url = NULL, overwrite = TRUE)

R 86.45% C++ 13.05% C 0.49%
dynamic-factor-models economics forecasting macroeconomics nowcasting state-space-models time-series

dfms's Introduction

dfms: Dynamic Factor Models for R

The dfms R package is available on CRAN, GitHub and on the package website.

Check out the post on R-bloggers called Introducting dfms: Efficient Estimation of Dynamic FActor Models in R.

Find a first introduction in the article Introduction to dfms.

For a short theoretical overview of dynamic factor models consult the paper Dynamic Factor Models: A Very Short Introduction.

EM algorithm

The dfms package provides efficient estimation of Dynamic Factor Models via the expectation maximization (EM) algorithm, which can be performed in different ways following:

  • Doz, C., Giannone, D., & Reichlin, L. (2011). A two-step estimator for large approximate dynamic factor models based on Kalman filtering. Journal of Econometrics, 164(1), 188-205. doi:10.1016/j.jeconom.2011.02.012

  • Doz, C., Giannone, D., & Reichlin, L. (2012). A quasi-maximum likelihood approach for large, approximate dynamic factor models. Review of economics and statistics, 94(4), 1014-1024. doi:10.1162/REST_a_00225

  • Banbura, M., & Modugno, M. (2014). Maximum likelihood estimation of factor models on datasets with arbitrary pattern of missing data. Journal of Applied Econometrics, 29(1), 133-160. doi:10.1002/jae.2306

Comparison with other R packages

The dfms R package uses C++ code, making it orders of magnitudes faster than the popular MARSS, nowcasting and nowcastDFM R packages.

Citation

Krantz S, Bagdziunas R (2023). dfms: Dynamic Factor Models. R package version 0.2.1, https://CRAN.R-project.org/package=dfms.

dfms's People

Contributors

econmaett avatar sebkrantz avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.