Crandore Hub

mvfmr

Functional Multivariable Mendelian Randomization

Implements Multivariable Functional Mendelian Randomization (MV-FMR) to estimate time-varying causal effects of multiple longitudinal exposures on health outcomes. Extends univariable functional Mendelian Randomisation (MR) (Tian et al., 2024 <doi:10.1002/sim.10222>) to the multivariable setting, enabling joint estimation of multiple time-varying exposures with pleiotropy and mediation scenarios. Key features include: (1) data-driven cross-validation for basis component selection, (2) handling of mediation pathways between exposures, (3) support for both continuous and binary outcomes using Generalized Method of Moments (GMM) and control function approaches, (4) one-sample and two-sample MR designs, (5) bootstrap inference and instrument diagnostics including Q-statistics for overidentification testing. Methods are described in Fontana et al. (2025) <doi:10.48550/arXiv.2512.19064>.

Versions across snapshots

VersionRepositoryFileSize
0.1.0 rolling linux/jammy R-4.5 mvfmr_0.1.0.tar.gz 278.2 KiB
0.1.0 rolling linux/noble R-4.5 mvfmr_0.1.0.tar.gz 277.9 KiB
0.1.0 rolling source/ R- mvfmr_0.1.0.tar.gz 130.7 KiB
0.1.0 latest linux/jammy R-4.5 mvfmr_0.1.0.tar.gz 278.2 KiB
0.1.0 latest linux/noble R-4.5 mvfmr_0.1.0.tar.gz 277.9 KiB
0.1.0 latest source/ R- mvfmr_0.1.0.tar.gz 130.7 KiB
0.1.0 2026-04-26 source/ R- mvfmr_0.1.0.tar.gz 130.7 KiB
0.1.0 2026-04-23 source/ R- mvfmr_0.1.0.tar.gz 130.7 KiB
0.1.0 2026-04-09 windows/windows R-4.5 mvfmr_0.1.0.zip 282.7 KiB

Dependencies (latest)

Imports

Suggests