CausalInference / pygformulaView on GitHub
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.
32Feb 25, 2026Updated last month

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:

Are these results useful?