FPScausal: Functional Propensity Score for Causal Inference

Implements functional propensity score (FPS) weighting for causal inference with functional treatments. The method estimates weights that balance observed confounders by removing their dependence on the functional treatment and uses a dual formulation of the weighting problem for efficient unconstrained optimization. The framework supports scalar, binary, and functional outcomes, as well as functional covariates, and can be used to estimate marginal causal effects in settings with time-varying exposures. The methodology follows Ciardulli, S., Fontana, N., Vantini, S., and Ieva, F. (2026) "Generalized propensity score weighting for functional causal inference framework" <doi:10.48550/arXiv.2608.03200>.

Version: 0.1.1
Depends: R (≥ 4.1.0)
Imports: fda (≥ 6.0.0), ggplot2 (≥ 3.4.0), tidyr (≥ 1.2.0), MASS (≥ 7.3-0), wCorr, patchwork (≥ 1.1.0), progress (≥ 1.2.0), stats, utils
Suggests: testthat (≥ 3.0.0), knitr, rmarkdown
Published: 2026-08-23
DOI: 10.32614/CRAN.package.FPScausal
Author: Nicole Fontana [aut, cre], Simone Ciardulli [aut], Simone Vantini [ths], Francesca Ieva [ths]
Maintainer: Nicole Fontana <nicole.fontana at polimi.it>
License: MIT + file LICENSE
NeedsCompilation: no
Materials: README
CRAN checks: FPScausal results

Documentation:

Reference manual: FPScausal.html , FPScausal.pdf
Vignettes: FPScausal: Functional propensity score weighting for causal inference with functional treatments, covariates, and outcomes (source, R code)

Downloads:

Package source: FPScausal_0.1.1.tar.gz
Windows binaries: r-devel: FPScausal_0.1.1.zip, r-release: FPScausal_0.1.0.zip, r-oldrel: FPScausal_0.1.1.zip
macOS binaries: r-release (arm64): FPScausal_0.1.1.tgz, r-oldrel (arm64): FPScausal_0.1.1.tgz, r-release (x86_64): FPScausal_0.1.1.tgz, r-oldrel (x86_64): FPScausal_0.1.1.tgz
Old sources: FPScausal archive

Linking:

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