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.
☆184Nov 3, 2025Updated 6 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…☆39Jan 22, 2026Updated 4 months ago
- Causal Inference: What If. R and Stata code for Exercises☆94Apr 29, 2026Updated 3 weeks ago
- ☆37Apr 27, 2026Updated 3 weeks ago
- Diagnostics for confounding of time-varying and other joint exposures☆11Apr 22, 2026Updated last month
- A Quarto-based collection of supplementary material from the clinical prediction models book.☆19Mar 24, 2026Updated last month
- AI Agents on DigitalOcean Gradient AI Platform • AdBuild production-ready AI agents using customizable tools or access multiple LLMs through a single endpoint. Create custom knowledge bases or connect external data.
- 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,349Jan 8, 2022Updated 4 years ago
- ☆20Nov 5, 2018Updated 7 years ago
- Drawing graphical models for causal inference using LaTeX☆119May 5, 2023Updated 3 years ago
- A suite of functions for reproducible causal mediation analyses☆75Feb 17, 2025Updated last year
- Non-parametric Causal Effects Based on Modified Treatment Policies☆83May 6, 2026Updated 2 weeks ago
- Longitudinal Mediation with Modified Treatment Policies☆12Sep 26, 2025Updated 7 months ago
- Basic sensitivity analysis of epidemiological results in R: Moved to codeberg.org/dhaine/episensr☆14Apr 18, 2025Updated last year
- Tutorial for a target trial emulation with a time-varying exposure, time-dependent confounding, time-to-event outcome, and Sequentially D…☆72Jun 21, 2023Updated 2 years ago
- GPUs on demand by Runpod - Special Offer Available • AdRun AI, ML, and HPC workloads on powerful cloud GPUs—without limits or wasted spend. Deploy GPUs in under a minute and pay by the second.
- R package for risk regression and prediction with censored data☆55Updated this week
- Repository for Introduction to Bayesian Estimation of Causal Effects☆67Oct 24, 2020Updated 5 years ago
- Second year undergraduate statistics☆32May 14, 2026Updated last week
- Corresponding code guide to the tutorial paper "Introducing longitudinal modified treatment policies: a unified framework for studying c…☆27May 11, 2023Updated 3 years ago
- Epidemiology analysis package☆155May 7, 2023Updated 3 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☆14Apr 30, 2026Updated 3 weeks ago
- Virtual machines for every use case on DigitalOcean • AdGet dependable uptime with 99.99% SLA, simple security tools, and predictable monthly pricing with DigitalOcean's virtual machines, called Droplets.
- Nonparametric estimators of the average treatment effect with doubly-robust confidence intervals and hypothesis tests☆20Jan 4, 2023Updated 3 years ago
- pharmaR website☆11Apr 21, 2026Updated last month
- A user-created catalog of great economics writing☆11Sep 1, 2022Updated 3 years ago
- Propensity Score Analysis with R☆92Apr 1, 2026Updated last month
- ☆99Jan 4, 2024Updated 2 years ago
- Julia code for part 2 of the book Causal Inference: What If, by Miguel Hernán and James Robins☆54Jan 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
- GPU virtual machines on DigitalOcean Gradient AI • AdGet to production fast with high-performance AMD and NVIDIA GPUs you can spin up in seconds. The definition of operational simplicity.
- R/medltmle: Estimation and Inference for Natural Mediation Effect in Longitudinal Data☆14Aug 6, 2022Updated 3 years ago
- Bayesian multilevel mediation models in R☆44Nov 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☆10May 12, 2026Updated last week
- GAM workshop for NHS-R Community Conference 2023☆13Aug 8, 2025Updated 9 months ago
- R package mediation☆73Jun 7, 2025Updated 11 months ago