Skip to content

convergenceDFM

0.3.2

Convergence and Dynamic Factor Models

0packages depend
1.7Kdownloads / year
36.8%test coverage
13/13checks pass

Overview

About
Maintained by José Mauricio Gómez JuliánFirst published 2025-12-012 releasesCRAN page ↗

Tests convergence in macro-financial panels combining Dynamic Factor Models (DFM) and mean-reverting, discrete-time Ornstein-Uhlenbeck/AR(1) factor processes. Provides: (i) static factor extraction with VAR stability checks, Portmanteau tests and rolling out-of-sample R^2, in the spirit of Stock and Watson (2002) doi:10.1198/073500102317351921 and the Generalized Dynamic Factor Model of Forni, Hallin, Lippi and Reichlin (2000) doi:10.1162/003465300559037; (ii) cointegration analysis a la Johansen (1988) doi:10.1016/0165-1889(88)90041-3; (iii) Bayesian factor-OU/AR(1) estimation with convergence and half-life summaries grounded in Uhlenbeck and Ornstein (1930) doi:10.1103/PhysRev.36.823 and Vasicek (1977) doi:10.1016/0304-405X(77)90016-2, with full Markov chain Monte Carlo convergence diagnostics; (iv) heteroskedasticity-consistent (HC) and, when the suggested 'sandwich' (Zeileis (2004) doi:10.18637/jss.v011.i10) and 'lmtest' packages are available, heteroskedasticity- and autocorrelation- consistent (HAC) robust inference, with a self-contained HC fallback; (v) coupling significance tests based on time-shift / block-bootstrap nulls that preserve marginal dynamics while breaking cross-series dependence; and (vi) optional PLS-based factor preselection (Mevik and Wehrens (2007) doi:10.18637/jss.v018.i02). Functions emphasize reproducibility (explicit seeds throughout) and clear, publication-ready summaries.

Install

Health

CRAN checks
13OK
Slowest check: 7.7 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.09
36.8%
Coverage · measured lines
100%
Documentation · exports
13
Dependencies · direct
Check history
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • WARNING2026-06-08
    12 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-04-25
    12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-03-10
    11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 397 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
44%
Documented parameters
95%
Return-value docs
100%
References docs
4%

Downloads

1.7K
CRAN downloads in the past year
Rank #16,164 · ~5/day · ~138/mo
Daily download trend is not available in this view yet.
30230 days
67490 days
1.7K1 year
Compare downloads with other packages →
Also on55 r2u28 autocran

Dependencies

Declared dependencies
18 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.1
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (1)
Maintainer (1)
Authors (1)
Package Timeline

2 releases. Pick two to compare their code metrics. R releases are shown for context.

  • 0.3.2Latest
    2026-06-26 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 0.1.4
    2026-03-10
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2025-12-01
Total releases
2 / 1 yrs
License
GPL-3 OSI
Additional repositories
mc-stan.org
Minimum R
≥ 4.1
Download size
78 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →