View source: R/confounders.ext.R
confounders.ext | R Documentation |
Sensitivity analysis to explore effect of residual confounding using simple algebraic transformation. It provides the relative risk adjusted for unmeasured confounders based on available external information (i.e. from the literature) on the relation between confounders and outcome.
confounders.ext(RR, bias_parms = NULL)
RR |
"True" or fully adjusted exposure relative risk. |
bias_parms |
Numeric vector defining the necessary bias parameters. This vector has 4 elements, in the following order:
|
A list with elements:
model |
Bias analysis performed. |
bias.parms |
Input bias parameters. |
adj.measures |
Output results, with bias as a percentage: (crude.RR - RR)/RR * 100. |
Schneeweiss, S., 2006. Sensitivity analysis and external adjustment for unmeasured confounders in epidemiologic database studies of therapeutics. Pharmacoepidemiol Drug Safety 15: 291-303.
# Schneeweiss, S, Glynn, R.J., Tsai, E.H., Avorn, J., Solomon, D.H. Adjusting for
# unmeasured confounders in pharmacoepidemiologic claims data using external
# information. Epidemiology 2005; 16: 17-24.
confounders.ext(RR = 1, bias_parms = c(0.1, 0.9, 0.1, 0.4))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.