GitHub · Python
CausalInference/pygformula
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.
- Stars
- 34
- Forks
- 10
- Stars gained in 24 hours
- Not enough history yet
- Forks gained in 24 hours
- Not enough history yet
Topics: causal-inference, g-formula, longitudinal-data, parametric-models
Latest data point: Nov 24, 2026 · 34 stars · 10 forks