RobustFlow: Robustness and Drift Auditing for Longitudinal Decision Systems

Provides tools for constructing longitudinal decision paths, quantifying temporal drift, tracking subgroup disparity trajectories, and stress-testing longitudinal conclusions under hidden bias. Implements three signature metrics: the Drift Intensity Index (DII), which measures structural instability in transition dynamics using the Frobenius norm of consecutive transition matrix differences; the Bias Amplification Index (BAI), which quantifies whether group disparities widen or converge over time; and the Temporal Fragility Index (TFI), which estimates the minimum hidden-bias perturbation required to nullify a longitudinal trend conclusion. An interactive 'shiny' application supports exploratory analysis, visualization, and reproducible reporting. Methods are motivated by applications in educational and social science research, including the Early Childhood Longitudinal Study (ECLS). The DII is based on the Frobenius norm as described in Golub and Van Loan (2013, ISBN:9781421407944). The TFI extends the hidden-bias sensitivity framework of Rosenbaum (2002, ISBN:9781441912633). The BAI draws on disparity-trajectory methods discussed in Duncan and Murnane (2011, ISBN:9780871542731).

Version: 0.1.1
Depends: R (≥ 4.2.0)
Imports: shiny (≥ 1.7.0), golem (≥ 0.4.0), bslib (≥ 0.5.0), ggplot2 (≥ 3.4.0), DT (≥ 0.27), plotly (≥ 4.10.0), scales (≥ 1.2.0), htmltools (≥ 0.5.0), rmarkdown (≥ 2.20), stats, tools, utils
Suggests: testthat (≥ 3.0.0), knitr, covr, withr
Published: 2026-04-22
DOI: 10.32614/CRAN.package.RobustFlow (may not be active yet)
Author: Subir Hait ORCID iD [aut, cre]
Maintainer: Subir Hait <haitsubi at msu.edu>
BugReports: https://github.com/causalfragility-lab/RobustFlow/issues
License: GPL (≥ 3)
URL: https://github.com/causalfragility-lab/RobustFlow
NeedsCompilation: no
Materials: README, NEWS
CRAN checks: RobustFlow results

Documentation:

Reference manual: RobustFlow.html , RobustFlow.pdf
Vignettes: Introduction to RobustFlow (source, R code)

Downloads:

Package source: RobustFlow_0.1.1.tar.gz
Windows binaries: r-devel: RobustFlow_0.1.1.zip, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): RobustFlow_0.1.1.tgz, r-oldrel (arm64): not available, r-release (x86_64): RobustFlow_0.1.1.tgz, r-oldrel (x86_64): RobustFlow_0.1.1.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=RobustFlow to link to this page.