{
  "_id": "6ad49c2a8b78ae42bccc59c0",
  "Package": "dfms",
  "Version": "1.0.1",
  "Title": "Dynamic Factor Models",
  "Authors@R": "c(person(\"Sebastian\", \"Krantz\", role = c(\"aut\", \"cre\"), email = \"sebastian.krantz@graduateinstitute.ch\"),\nperson(\"Rytis\", \"Bagdziunas\", role = \"aut\"),\nperson(\"Santtu\", \"Tikka\", role = \"rev\"),\nperson(\"Eli\", \"Holmes\", role = \"rev\"),\nperson(\"Christian\", \"Klettner\", role = \"ctb\"))",
  "Description": "Efficient estimation of Dynamic Factor Models using the\nExpectation Maximization (EM) algorithm or Two-Step (2S)\nestimation, supporting datasets with missing data and\nmixed-frequency nowcasting applications. Factors follow a\nstationary VAR process of order p. Estimation options include:\nrunning the Kalman Filter and Smoother once with PCA initial\nvalues (2S) as in Doz, Giannone and Reichlin (2011)\n<doi:10.1016/j.jeconom.2011.02.012>; iterated Kalman Filtering\nand Smoothing until EM convergence as in Doz, Giannone and\nReichlin (2012) <doi:10.1162/REST_a_00225>; or the adapted EM\nalgorithm of Banbura and Modugno (2014) <doi:10.1002/jae.2306>,\nallowing arbitrary missing-data patterns and monthly-quarterly\nmixed-frequency datasets. The implementation uses the\n'Armadillo' 'C++' library and the 'collapse' package for fast\nestimation. A comprehensive set of methods supports\ninterpretation and visualization, forecasting, and\ndecomposition of the 'news' content of macroeconomic data\nreleases following Banbura and Modugno (2014). Information\ncriteria to choose the number of factors are also provided,\nfollowing Bai and Ng (2002) <doi:10.1111/1468-0262.00273>.",
  "URL": "https://docs.ropensci.org/dfms/, https://github.com/ropensci/dfms",
  "BugReports": "https://github.com/ropensci/dfms/issues",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "Config/roxygen2/version": "8.0.0",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-18 10:09:32 UTC",
    "User": "root"
  },
  "Author": "Sebastian Krantz [aut, cre], Rytis Bagdziunas [aut], Santtu\nTikka [rev], Eli Holmes [rev], Christian Klettner [ctb]",
  "Maintainer": "Sebastian Krantz <sebastian.krantz@graduateinstitute.ch>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-06-18 21:00:02 UTC",
  "RemoteUrl": "https://github.com/cran/dfms",
  "RemoteRef": "HEAD",
  "RemoteSha": "1eb3ef8e4301947788f3305231f139b6aa63a54f",
  "_user": "cran",
  "_type": "src",
  "_file": "dfms_1.0.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/572d42b893afcba6268535d2229e6e7743f623f624f9dea8c4f3fb18bebde744",
  "_filesize": 3896827,
  "_sha256": "572d42b893afcba6268535d2229e6e7743f623f624f9dea8c4f3fb18bebde744",
  "_expires": "2027-01-26T10:15:02.000Z",
  "_created": "2026-10-18T10:09:32.000Z",
  "_published": "2026-10-18T10:15:06.127Z",
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/39117889753",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 117648205786,
      "time": 129,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "12133445698"
    },
    {
      "job": 117648205807,
      "time": 152,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "12132723215"
    },
    {
      "job": 117648205893,
      "time": 129,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "12132508639"
    },
    {
      "job": 117648205846,
      "time": 158,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "12132808134"
    },
    {
      "job": 117647378237,
      "time": 258,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12133103054"
    },
    {
      "job": 117648205791,
      "time": 126,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12133461315"
    },
    {
      "job": 117648205882,
      "time": 234,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "12132734996"
    },
    {
      "job": 117648205789,
      "time": 144,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "12133321340"
    },
    {
      "job": 117648205773,
      "time": 265,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "12133246636"
    },
    {
      "job": 117648205836,
      "time": 152,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "12133401771"
    }
  ],
  "_upstream": "https://github.com/cran/dfms",
  "_commit": {
    "id": "1eb3ef8e4301947788f3305231f139b6aa63a54f",
    "author": "Sebastian Krantz <sebastian.krantz@graduateinstitute.ch>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.0.1\n",
    "time": 1781816402
  },
  "_maintainer": {
    "name": "Sebastian Krantz",
    "email": "sebastian.krantz@graduateinstitute.ch",
    "login": "sebkrantz",
    "mastodon": "@sebkrantz@fosstodon.org",
    "bluesky": "@sebkrantz.bsky.social",
    "description": "Economist and Software Engineer",
    "uuid": 48053842
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "version": ">= 1.0.1",
      "role": "Imports"
    },
    {
      "package": "collapse",
      "version": ">= 2.0.0",
      "role": "Imports"
    },
    {
      "package": "xts",
      "role": "Suggests"
    },
    {
      "package": "vars",
      "role": "Suggests"
    },
    {
      "package": "magrittr",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "dlm",
      "role": "Suggests"
    },
    {
      "package": "KFAS",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-03",
      "n": 1
    },
    {
      "week": "2026-05",
      "n": 1
    },
    {
      "week": "2026-25",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.4.0",
      "date": "2026-01-18"
    },
    {
      "name": "1.0.0",
      "date": "2026-01-26"
    },
    {
      "name": "1.0.1",
      "date": "2026-06-18"
    }
  ],
  "_stars": 1,
  "_contributors": [
    {
      "user": "sebkrantz",
      "count": 11,
      "uuid": 48053842
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 632,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 744,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/dfms"
  },
  "_devurl": "https://github.com/ropensci/dfms",
  "_pkgdown": "https://docs.ropensci.org/dfms/",
  "_searchresults": 41,
  "_topics": [
    "openblas",
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/dfms.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/ropensci/dfms",
  "_realowner": "ropensci",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.3",
      "date": "2022-10-12"
    },
    {
      "version": "0.1.4",
      "date": "2023-01-14"
    },
    {
      "version": "0.2.0",
      "date": "2023-03-31"
    },
    {
      "version": "0.2.1",
      "date": "2023-04-03"
    },
    {
      "version": "0.2.2",
      "date": "2024-06-09"
    },
    {
      "version": "0.3.0",
      "date": "2025-05-18"
    },
    {
      "version": "0.3.1",
      "date": "2025-08-20"
    },
    {
      "version": "0.3.2",
      "date": "2025-09-24"
    },
    {
      "version": "0.4.0",
      "date": "2026-01-18"
    },
    {
      "version": "1.0.0",
      "date": "2026-01-26"
    },
    {
      "version": "1.0.1",
      "date": "2026-06-18"
    }
  ],
  "_exports": [
    ".VAR",
    "ainv",
    "apinv",
    "convert",
    "DFM",
    "em_converged",
    "FIS",
    "ICr",
    "news",
    "SKF",
    "SKFS",
    "tsnarmimp"
  ],
  "_datasets": [
    {
      "name": "BM14_M",
      "title": "Euro Area Macroeconomic Data from Banbura and Modugno 2014",
      "object": "BM14_M",
      "class": [
        "xts",
        "zoo"
      ],
      "fields": [
        "ip_total",
        "ip_tot_cstr",
        "ip_tot_cstr_en",
        "ip_constr",
        "ip_im_goods",
        "ip_capital",
        "ip_d_cstr",
        "ip_nd_cons",
        "ip_en",
        "ip_en_2",
        "ip_manuf",
        "ip_metals",
        "ip_chemicals",
        "ip_electric",
        "ip_machinery",
        "ip_paper",
        "ip_plastic",
        "new_cars",
        "orders",
        "ret_turnover_defl",
        "ecs_ec_sent_ind",
        "ecs_ind_conf",
        "ecs_ind_order_book",
        "ecs_ind_stocks",
        "ecs_ind_prod_exp",
        "ecs_ind_prod_rec_m",
        "ecs_ind_x_orders",
        "ecs_ind_empl_exp",
        "ecs_cons_conf",
        "ecs_cons_sit_over_next_12",
        "ecs_cons_exp_unempl",
        "ecs_cons_gen_last_12m",
        "ecs_cstr_conf",
        "ecs_cstr_order_books",
        "ecs_cstr_empl_exp",
        "ecs_cstr_prod_recent",
        "ecs_ret_tr_conf",
        "ecs_ret_tr_bus_sit",
        "ecs_ret_tr_stocks",
        "ecs_ret_tr_exp_bus",
        "ecs_ret_tr_empl",
        "ecs_serv_conf",
        "ecs_serv_empl_exp",
        "pms_comp_output",
        "pms_comp_empl",
        "pms_pmi",
        "pms_manuf_empl",
        "pms_manuf_output",
        "pms_manuf_product",
        "pms_serv_out",
        "pms_serv_empl",
        "pms_serv_new_bus",
        "pms_serv_product",
        "urx",
        "empl_total",
        "empl_tot_xc",
        "empl_cstr",
        "empl_manuf",
        "extra_ea_trade_exp_val",
        "intra_ea_trade_exp_val",
        "extra_ea_trade_imp_val",
        "intra_ea_trade_imp_val",
        "us_ip",
        "us_urx",
        "us_empl",
        "us_retail_sales",
        "us_ip_manuf_exp",
        "us_cons_exp",
        "us_r3_m",
        "us_r10_year",
        "m3",
        "loans",
        "ir_long",
        "ir_short",
        "ir_1_year",
        "ir_2_year",
        "ir_5_year",
        "eer",
        "eer_cpi",
        "eer_ppi",
        "exr_usd",
        "exr_gbp",
        "rxr_yen",
        "euro50",
        "euro325",
        "sp500",
        "dow_j",
        "raw_mat_en",
        "raw_mat_oil",
        "raw_mat_gold",
        "raw_mat_oil_fwd",
        "raw_mat"
      ],
      "rows": 357,
      "table": true,
      "tojson": false
    },
    {
      "name": "BM14_Models",
      "title": "Euro Area Macroeconomic Data from Banbura and Modugno 2014",
      "object": "BM14_Models",
      "class": [
        "data.frame"
      ],
      "fields": [
        "series",
        "label",
        "code",
        "freq",
        "log_trans",
        "small",
        "medium",
        "large"
      ],
      "rows": 101,
      "table": true,
      "tojson": true
    },
    {
      "name": "BM14_Q",
      "title": "Euro Area Macroeconomic Data from Banbura and Modugno 2014",
      "object": "BM14_Q",
      "class": [
        "xts",
        "zoo"
      ],
      "fields": [
        "gdp",
        "priv_cons",
        "invest",
        "export",
        "import",
        "empl",
        "prductivity",
        "capacity",
        "gdp_us"
      ],
      "rows": 119,
      "table": true,
      "tojson": false
    }
  ],
  "_help": [
    {
      "page": "dfms-package",
      "title": "Dynamic Factor Models",
      "topics": [
        "dfms-package",
        "dfms"
      ]
    },
    {
      "page": "dot-VAR",
      "title": "(Fast) Barebones Vector-Autoregression",
      "topics": [
        ".VAR"
      ]
    },
    {
      "page": "ainv",
      "title": "Armadillo's Inverse Functions",
      "topics": [
        "ainv",
        "apinv"
      ]
    },
    {
      "page": "as.data.frame.dfm",
      "title": "Extract Factor Estimates in a Data Frame",
      "topics": [
        "as.data.frame.dfm"
      ]
    },
    {
      "page": "BM14_Models",
      "title": "Euro Area Macroeconomic Data from Banbura and Modugno 2014",
      "topics": [
        "BM14_M",
        "BM14_Models",
        "BM14_Q"
      ]
    },
    {
      "page": "convert",
      "title": "Convert DFM to Other State Space Model Formats",
      "topics": [
        "convert",
        "convert.dfm"
      ]
    },
    {
      "page": "DFM",
      "title": "Estimate a Dynamic Factor Model",
      "topics": [
        "DFM"
      ]
    },
    {
      "page": "em_converged",
      "title": "Convergence Test for EM-Algorithm",
      "topics": [
        "em_converged"
      ]
    },
    {
      "page": "FIS",
      "title": "(Fast) Fixed-Interval Smoother (Kalman Smoother)",
      "topics": [
        "FIS"
      ]
    },
    {
      "page": "ICr",
      "title": "Information Criteria to Determine the Number of Factors (r)",
      "topics": [
        "ICr",
        "plot.ICr",
        "print.ICr",
        "screeplot.ICr"
      ]
    },
    {
      "page": "news",
      "title": "News Decomposition",
      "topics": [
        "$.dfm_news_list",
        "as.data.frame.dfm_news_list",
        "news",
        "news.dfm",
        "print.dfm_news",
        "print.dfm_news_list",
        "[.dfm_news_list",
        "[[.dfm_news_list"
      ]
    },
    {
      "page": "plot.dfm",
      "title": "Plot DFM",
      "topics": [
        "plot.dfm",
        "screeplot.dfm"
      ]
    },
    {
      "page": "predict.dfm",
      "title": "DFM Forecasts",
      "topics": [
        "as.data.frame.dfm_forecast",
        "plot.dfm_forecast",
        "predict.dfm",
        "print.dfm_forecast"
      ]
    },
    {
      "page": "residuals.dfm",
      "title": "DFM Residuals and Fitted Values",
      "topics": [
        "fitted.dfm",
        "resid.dfm",
        "residuals.dfm"
      ]
    },
    {
      "page": "SKF",
      "title": "(Fast) Stationary Kalman Filter",
      "topics": [
        "SKF"
      ]
    },
    {
      "page": "SKFS",
      "title": "(Fast) Stationary Kalman Filter and Smoother",
      "topics": [
        "SKFS"
      ]
    },
    {
      "page": "summary.dfm",
      "title": "DFM Summary Methods",
      "topics": [
        "coef.dfm",
        "logLik.dfm",
        "print.dfm",
        "print.dfm_summary",
        "summary.dfm"
      ]
    },
    {
      "page": "tsnarmimp",
      "title": "Remove and Impute Missing Values in a Multivariate Time Series",
      "topics": [
        "tsnarmimp"
      ]
    }
  ],
  "_readme": "https://github.com/cran/dfms/raw/HEAD/README.md",
  "_rundeps": [
    "collapse",
    "Rcpp",
    "RcppArmadillo"
  ],
  "_sysdeps": [
    {
      "shlib": "liblapack",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.32+ds-5",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libblas",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.32+ds-5",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "dynamic_factor_models.Rnw",
      "filename": "dynamic_factor_models.pdf",
      "title": "Dynamic Factor Models: A Very Short Introduction",
      "engine": "utils::Sweave",
      "headings": [],
      "created": "2023-03-31 08:10:02",
      "modified": "2023-03-31 08:10:02",
      "commits": 1
    },
    {
      "source": "introduction.Rmd",
      "filename": "introduction.html",
      "title": "Introduction to dfms",
      "author": "Sebastian Krantz",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Determining the Structure of the Model",
        "Estimation and Exploration",
        "Forecasting",
        "Estimation with Mixed Frequency",
        "Modeling AR(1) Idiosyncratic Errors",
        "News Decomposition",
        "Additional Functions",
        "Conclusion",
        "References"
      ],
      "created": "2022-10-12 07:32:35",
      "modified": "2026-06-18 21:00:02",
      "commits": 6
    }
  ],
  "_score": 4.089905111439398,
  "_indexed": false,
  "_nocasepkg": "dfms",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://ropensci.r-universe.dev/dfms",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-10-18T10:11:47.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "1eb3ef8e4301947788f3305231f139b6aa63a54f",
      "fileid": "https://r2.ropensci.org/49e4a2b5e5373b770a1bfa2bfa8ffa1f01c4d67e79c4094e2ae8092a2be6e3e3",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39117889753"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-10-18T10:11:56.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "1eb3ef8e4301947788f3305231f139b6aa63a54f",
      "fileid": "https://r2.ropensci.org/724d11a698fdb7a0aae58c8dfe9ad9044c0f819c0d86fa03e94f215efa39ff0c",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39117889753"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-10-18T10:11:47.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "1eb3ef8e4301947788f3305231f139b6aa63a54f",
      "fileid": "https://r2.ropensci.org/d511db02a1a92f76980e98031c842a6b5829debaebcd621bcda7f041b1076776",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39117889753"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-10-18T10:12:03.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "1eb3ef8e4301947788f3305231f139b6aa63a54f",
      "fileid": "https://r2.ropensci.org/f8a6c2060f4369cb70c227d34f2f08ee9612581da5fefd602f55490fa829aecb",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39117889753"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.1",
      "date": "2026-10-18T10:12:04.000Z",
      "arch": "emscripten",
      "commit": "1eb3ef8e4301947788f3305231f139b6aa63a54f",
      "fileid": "https://r2.ropensci.org/5dd4450a037a4994b3ff0d1de636949c9a7e26e8a5b8aa3e61f348cc09fb95ae",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39117889753"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-10-18T10:13:02.000Z",
      "arch": "aarch64",
      "commit": "1eb3ef8e4301947788f3305231f139b6aa63a54f",
      "fileid": "https://r2.ropensci.org/8e3088522322aaa0aac25a67b48633da77af36a10f7d4779ecc4ba0c86bb6668",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39117889753"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-10-18T10:11:02.000Z",
      "arch": "x86_64",
      "commit": "1eb3ef8e4301947788f3305231f139b6aa63a54f",
      "fileid": "https://r2.ropensci.org/beae07b641d96f56d6af572f20840c07330566f4600e9498cd7817d09a711f4e",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39117889753"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-10-18T10:13:33.000Z",
      "arch": "aarch64",
      "commit": "1eb3ef8e4301947788f3305231f139b6aa63a54f",
      "fileid": "https://r2.ropensci.org/2df0614165e998f6d9c89edc81c27fb9e69279f883460d66490d7d309e7c55e8",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39117889753"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-10-18T10:11:15.000Z",
      "arch": "x86_64",
      "commit": "1eb3ef8e4301947788f3305231f139b6aa63a54f",
      "fileid": "https://r2.ropensci.org/113e57fd5d2ffe731a5f32e5a6f558e9d55096e9a2517f980167f2d93a5c0688",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39117889753"
    }
  ]
}