bin_bin_sens_stan | Binary (M) - binary (Y) sensitivity analysis |
bin_bin_stan | Simple binary (M) binary (Y) mediation analysis in Stan |
calculate_bias | Calculate bias of posterior mean in Stan parameter samples |
check_coverage | Evaluate Y/N credible interval coverage |
make_bl_types | Construct all 4 possible combinations of binary Z1 and Z2 |
make_bl_weights | Calculate population prevalance of baseline covariate types |
make_prior | Construct prior list based on type of sensitivity analysis |
make_x_m | Construct design matrix for mediator regression model |
make_x_u | Construct design matrix for unmeasured confounder regression... |
make_x_y | Construct design matrix for outcome regression model |
rstanmed-package | Bayesian Mediation in Stan |
simulate_data | Simulate data set |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.