Skip to content

Latest commit

 

History

History
6 lines (4 loc) · 434 Bytes

File metadata and controls

6 lines (4 loc) · 434 Bytes

Code for carrying out simulation and data analysis using the Bayesian g-formula

Source paper: Keil, Alexander P., et al. "A Bayesian approach to the g-formula." Statistical Methods in Medical Research (2015): 0962280217694665.

Note that the code here fixes one bug from the Stan code (which was not used in the published analysis) and notates the applied example code to more explicitly to define the causal effect being estimated