Description Usage Arguments Value
Using bootstrap to calculate the confidence intervals in the scenario of binary outcome and binary mediator.
1 2 3 4 5 6 7 8 9 10 11 12 13 |
data |
A dataset. |
outcome |
The outcome variable. |
mediator |
The mediator variable. |
exposure |
The exposure variable. |
covariateY |
A vector of confounders in the outcome regression. |
covariateM |
A vector of confounders in the mediator regression. |
x0 |
The baseline exposure level. |
x1 |
The new exposure level. |
cY |
conditional levels of covariateY |
cM |
conditional levels of covariateM |
R |
The number of replications. |
The 95
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.