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.
20Updated this week

Related projects

Alternatives and complementary repositories for pygformula