Description Usage Arguments Value Author(s) References Examples
Controlled Direct Effect (CDE) of the G-estimation model.
1 2 3 4 |
x |
: (datatype) Description of structure. What it represents. |
m |
: (datatype) Description of structure. What it represents. |
c_xy |
: (datatype) Description of structure. What it represents. |
c_my |
: (datatype) Description of structure. What it represents. |
y |
: (datatype) Description of structure. What it represents. |
mX |
: (datatype) Description of structure. What it represents. |
mM |
: (datatype) Description of structure. What it represents. |
mY |
: (datatype) Description of structure. What it represents. |
famX |
: (datatype) Description of structure. What it represents. |
famM |
: (datatype) Description of structure. What it represents. |
famY |
: (datatype) Description of structure. What it represents. |
boot |
: (boolean) A boolean variable that indicates whether a non-parametric bootstrap will be used to calculate confidence intervals |
sims |
: (positive integer) If boot is TRUE, sims is the number of simulations used to generate the confidence intervals. |
ci |
: (float) A float between 0 and 1 representing the desired confidence interval to be used for the non-parametric bootstrap. |
: (vector) a length-2 list with the CDE with RR-interaction and RD-interaction. If boot is TRUE, it will also return the right and left bounds of the desired confidence interval, ci.
Ashley Naimi ashley.naimi@pitt.edu
Cantwell Carson carsonc@gmail.com
Naimi, A. I., Schnitzer, M. E., Moodie, E. E. M., & Bodnar, L. M. (2016). Mediation Analysis for Health Disparities Research. American Journal of Epidemiology, 184(4), 315–324. https://doi.org/10.1093/aje/kwv329
1 | 'examples/cde_example.R'
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.