mbias | R Documentation |
Simple sensitivity analysis to correct for selection bias caused by M bias using estimates of the odds ratios relating the variables.
mbias(or, var = c("y", "x", "a", "b", "m"))
or |
Vector defining the input bias parameters, in the following order:
|
var |
Vector defining variable names, in the following order:
|
A list with elements:
model |
Bias analysis performed. |
mbias.parms |
Three maximum bias parameters: in collider-exposure relationship created by conditioning on the collider, in collider-outcome relationship created by conditioning on the collider, and in exposure-outcome relationship created by conditioning on the collider. |
adj.measures |
Selection bias corrected odds ratio. |
bias.parms |
Input bias parameters. |
labels |
Variables' labels. |
Greenland S. Quantifying biases in causal models: classical confounding vs. collider-stratification bias. Epidemiology 2003;14:300-6.
mbias(or = c(2, 5.4, 2.5, 1.5, 1),
var = c("HIV", "Circumcision", "Muslim", "Low CD4", "Participation"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.