Data Science, Causal Inference, Statistics, Towards Data Science.
A counterfactual method for causal inference G-computation algorithm was first introduced by Robins in 1986 [1] to estimate the causal effect of a time-varying exposure in the presence of time-varying confounders that are affected by exposure, a scenario where traditional regression-based methods