Codes to estimate the cluster-specific effects
- paper "A Bayesian Semiparametric Latent Variable Approach to Causal Mediation"
- based on the simulation study in the main paper
- Download all files under the same folder
- Run script Sampling.R
- Run script Postprocessing.R
An R package is under development