The gfoRmula package implements the parametric g-formula in R. The parametric g-formula (Robins, 1986) uses longitudinal data with time-varying treatments and confounders to estimate the risk or mean of an outcome under hypothetical treatment strategies specified by the user.
☆183Nov 3, 2025Updated 4 months ago
Alternatives and similar repositories for gfoRmula
Users that are interested in gfoRmula are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- The GFORMULA macro implements the parametric g-formula in SAS. The parametric g-formula (Robins, 1986) uses longitudinal data with time-v…☆38Jan 22, 2026Updated 2 months ago
- Causal Inference: What If. R and Stata code for Exercises☆93Mar 13, 2026Updated last week
- ☆35Updated this week
- Diagnostics for confounding of time-varying and other joint exposures☆11Dec 12, 2022Updated 3 years ago
- A Quarto-based collection of supplementary material from the clinical prediction models book.☆18Aug 13, 2025Updated 7 months ago
- Tutorial_Computational_Causal_Inference_Estimators☆38Oct 29, 2021Updated 4 years ago
- Python code for part 2 of the book Causal Inference: What If, by Miguel Hernán and James Robins☆1,341Jan 8, 2022Updated 4 years ago
- ☆20Nov 5, 2018Updated 7 years ago
- Drawing graphical models for causal inference using LaTeX☆119May 5, 2023Updated 2 years ago
- A suite of functions for reproducible causal mediation analyses☆72Feb 17, 2025Updated last year
- Non-parametric Causal Effects Based on Modified Treatment Policies☆81Jan 20, 2026Updated 2 months ago
- Longitudinal Mediation with Modified Treatment Policies☆12Sep 26, 2025Updated 5 months ago
- Tutorial for a target trial emulation with a time-varying exposure, time-dependent confounding, time-to-event outcome, and Sequentially D…☆67Jun 21, 2023Updated 2 years ago
- Basic sensitivity analysis of epidemiological results in R: Moved to codeberg.org/dhaine/episensr☆13Apr 18, 2025Updated 11 months ago
- R package for risk regression and prediction with censored data☆56Mar 11, 2026Updated last week
- Repository for Introduction to Bayesian Estimation of Causal Effects☆68Oct 24, 2020Updated 5 years ago
- Second year undergraduate statistics☆32Updated this week
- Epidemiology analysis package☆152May 7, 2023Updated 2 years ago
- Corresponding code guide to the tutorial paper "Introducing longitudinal modified treatment policies: a unified framework for studying c…☆27May 11, 2023Updated 2 years ago
- ☆44Oct 12, 2021Updated 4 years ago
- Metalearners for Survival Data☆15Jul 31, 2023Updated 2 years ago
- Introduction to the mosts common estimators and computation in causal inference for epidemiologists: A tutorial☆39Jan 7, 2021Updated 5 years ago
- R package implementing Substantive Model Compatible Fully Conditional Specification Multiple Imputation☆14Jul 17, 2025Updated 8 months ago
- Nonparametric estimators of the average treatment effect with doubly-robust confidence intervals and hypothesis tests☆20Jan 4, 2023Updated 3 years ago
- pharmaR website☆10Jul 31, 2025Updated 7 months ago
- A user-created catalog of great economics writing☆11Sep 1, 2022Updated 3 years ago
- Propensity Score Analysis with R☆92Apr 4, 2025Updated 11 months ago
- ☆98Jan 4, 2024Updated 2 years ago
- Julia code for part 2 of the book Causal Inference: What If, by Miguel Hernán and James Robins☆53Jan 8, 2022Updated 4 years ago
- Publish ggplot2 analysis☆15Sep 14, 2024Updated last year
- CRAN Survival Task View☆12Jan 27, 2021Updated 5 years ago
- Code for: Murray EJ, Robins JM, George R. Seage III, Freedberg KA, Hernan MA. A Comparison of Agent-Based Models and the Parametric G-For…☆10Nov 27, 2017Updated 8 years ago
- R/medltmle: Estimation and Inference for Natural Mediation Effect in Longitudinal Data☆14Aug 6, 2022Updated 3 years ago
- Bayesian multilevel mediation models in R☆45Nov 21, 2024Updated last year
- Chinese Restaurant Process Models for Regression and Clustering. Master branch contains latest stable build.☆12Jul 22, 2021Updated 4 years ago
- Stata code for part 2 of the book Causal Inference, by Miguel Hernán and James Robins☆18Aug 21, 2024Updated last year
- Causal Mediation analysis☆10Dec 26, 2025Updated 2 months ago
- GAM workshop for NHS-R Community Conference 2023☆12Aug 8, 2025Updated 7 months ago
- R package mediation☆71Jun 7, 2025Updated 9 months ago