R package and code for "Efficient and flexible causal mediation with time-varying mediators, treatments, and confounders."
The main R package can be installed with:
devtools::install_github("nt-williams/lcm", subdir = "lcm")
The binary version of the package using HAL is lcm_0.1.0.5000.tar.gz
. The binary version of the package with incorrect model specification at time one is lcm_0.1.0.6666.tar.gz
.