Description Usage Arguments Value
Main Algorithm that performs Bayesian Adjusting for confounding carrying out 1st and 2nd stage.
1 | bacps(w, x, y, U, niter_1st, niter_2nd, burnin_1st, burnin_2nd)
|
w |
a data.frame with at least the following variables: |
x |
a matrix with the exposure (binary) variable |
y |
a matrix with the response (binary) variable |
U |
a data frame with the covariates |
niter_1st |
iteration MCMC for the 1st stage |
niter_2nd |
iteration MCMC for the 2nd stage |
burnin_1st |
burn-in MCMC for the 2nd stage |
burnin_2nd |
burn-in MCMC for the 2nd stage |
a list
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.