The pygformula implements the parametric g-formula in Python. 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.
☆33May 22, 2026Updated 2 months ago
Alternatives and similar repositories for pygformula
Users that are interested in pygformula are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- Tutorial_Computational_Causal_Inference_Estimators☆39Oct 29, 2021Updated 4 years ago
- R package for the Evaluation Platform in COPD (EPIC), an agent-based whole-disease model for projection of health and economic outcomes a…☆13Mar 31, 2026Updated 4 months ago
- Targeted Maximum Likelihood Estimation for a binary treatment: A tutorial. Statistics in Medicine. 2017☆21Jun 12, 2020Updated 6 years ago
- Causal Inference for Time Series Data (with CausalML Demo)☆14Jun 11, 2023Updated 3 years ago
- Corresponding code guide to the tutorial paper "Introducing longitudinal modified treatment policies: a unified framework for studying c…☆27May 11, 2023Updated 3 years ago
- Proton VPN Special Offer - Get 70% off • AdSpecial partner offer. Trusted by over 100 million users worldwide. Tested, Approved and Recommended by Experts.
- Tools for Flexible Survival Analysis Using Machine Learning☆18Dec 8, 2025Updated 8 months ago
- Software used for papers published by CAUSALab members☆12Oct 23, 2025Updated 9 months ago
- Code for ICML 2021 paper "Regularizing towards Causal Invariance: Linear Models with Proxies" (ICML 2021)☆11Mar 14, 2022Updated 4 years ago
- ☆98Jan 4, 2024Updated 2 years ago
- ☆13Jan 11, 2019Updated 7 years ago
- ☆45Oct 12, 2021Updated 4 years ago
- Propensity score Matching and Subclassification with 3 or more Treatments☆22Dec 1, 2019Updated 6 years ago
- notebooks on methods for causal inference☆39Aug 5, 2024Updated 2 years ago
- Double Machine Learning for Multiple Treatments☆41Dec 4, 2020Updated 5 years ago
- Deploy to Railway using AI coding agents - Free Credits Offer • AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- Interpretable and model-robust causal inference for heterogeneous treatment effects using generalized linear working models with targeted…☆27Apr 7, 2022Updated 4 years ago
- ☆10Nov 30, 2022Updated 3 years ago
- Slides for my R/Medicine 2022 talk, "Making Swimmer Plots for Longitudinal Data using {ggplot}".☆12Sep 6, 2022Updated 3 years ago
- 🎯 Targeted Learning in R: A Causal Data Science Handbook☆62Oct 24, 2024Updated last year
- 🎯 💯 Targeted Learning and Variable Importance for the Causal Effect of an Optimal Individualized Treatment Intervention☆13Aug 6, 2022Updated 4 years ago
- Tools for estimating causal effects for multivariate continuous exposures☆13Dec 8, 2021Updated 4 years ago
- The gfoRmula package implements the parametric g-formula in R. The parametric g-formula (Robins, 1986) uses longitudinal data with time-v…☆186Nov 3, 2025Updated 9 months ago
- R code to generate simulated data and implement the hierarchical TMLEs described in "A new approach to hierarchical data analysis: Target…☆10Oct 17, 2019Updated 6 years ago
- A generalized joint model for high-dimensional multivariate longitudinal data and censored durations☆13Sep 24, 2024Updated last year
- Managed Database hosting by DigitalOcean • AdPostgreSQL, MySQL, MongoDB, Kafka, Valkey, and OpenSearch available. Automatically scale up storage and focus on building your apps.
- PDF Text Summarization and Q&A Chatbot This project is a Streamlit-based web application that allows users to upload PDF documents, extra…☆12Jul 26, 2024Updated 2 years ago
- 🎯🎓 Generalized Targeted Learning Framework☆43Jun 17, 2025Updated last year
- Course materials for Stat 20: Introduction to Probability and Statistics at UC Berkeley☆36Nov 21, 2024Updated last year
- Deep Treatment Learning (R)☆17Nov 9, 2022Updated 3 years ago
- Continuous-Time Modeling of Counterfactual Outcomes Using Neural Controlled Differential Equations (ICML 2022)☆27Jun 9, 2022Updated 4 years ago
- Specification test for the propensity score☆15Jul 20, 2022Updated 4 years ago
- A collection of visual guides to help applied scientists learn causal inference.☆305Sep 12, 2022Updated 3 years ago
- Deep Counterfactual Prediction with Categorical Backward Variables☆12Feb 8, 2023Updated 3 years ago
- ☆25Oct 12, 2021Updated 4 years ago
- Serverless GPU API endpoints on Runpod - Get Bonus Credits • AdSkip the infrastructure headaches. Auto-scaling, pay-as-you-go, no-ops approach lets you focus on innovating your application.
- A toolbox for simulating and estimating long-term causal effects in the presence of unobserved confounding.☆14Feb 20, 2023Updated 3 years ago
- Data for and description of the ACIC 2023 data competition☆34Jun 9, 2023Updated 3 years ago
- idiosyncratic lecture notes on statistics☆18Apr 26, 2026Updated 3 months ago
- NYU GSAS PhD thesis template☆11May 14, 2020Updated 6 years ago
- Doubly-Robust and Efficient Estimators for Survival and Ordinal Outcomes in RCTs Without Proportional Hazards or Odds Assumptions☆11Jun 26, 2025Updated last year
- ☆23Dec 19, 2022Updated 3 years ago
- R/medoutcon: Efficient Causal Mediation Analysis with Natural and Interventional Direct/Indirect Effects☆16Jan 8, 2026Updated 7 months ago