| FPScausal-package | R Documentation |
FPScausal implements the functional propensity score (FPS) weighting methodology for causal inference with functional treatments. Given a functional treatment X(t), a set of scalar and/or functional confounders, and an outcome (continuous, binary, or functional), the package:
1. Decomposes X(t) into Functional Principal Component (FPC) scores via
fda.
2. Estimates covariate-balancing weights by maximising the empirical
likelihood subject to balancing constraints and solving the resulting
dual problem via the BFGS quasi-Newton algorithm.
3. Estimates the causal effect function \mu(t) (scalar/binary
outcome) or causal effect surface \mu(s,t) (functional outcome)
via weighted least squares.
4. Provides pointwise bootstrap confidence intervals and a rich set of
diagnostic and result plots.
fps_weightingEstimate FPS weights.
fps_effect_estimationEstimate causal effects using FPS weights.
simulate_fps_dataGenerate synthetic datasets for testing and vignette illustrations.
Both fps_weighting and fps_effect_estimation objects support
print, summary, and plot with a type argument.
Ciardulli, S. and Fontana, N. (2026). Functional propensity score weighting for causal inference with functional treatments, covariates, and outcomes. Preprint.
Maintainer: Nicole Fontana nicole.fontana@polimi.it
Authors:
Simone Ciardulli simone.ciardulli@mail.polimi.it
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.