Perform linear exact sequential analysis for poisson and binomial data g-estimation to estimate the controlled direct effect of a treatment net the effect of a mediator Use sequential_g With R Software https://www.youtube.com/watch?v=EIEKqYSd7B0