Learn R Programming

episensr (version 0.7.1)

confounders.limit: Bounding the bias limits of unmeasured confounding.

Description

Function to elicit the limits on measures of effect corrected for an unmeasured confounder when only some of the bias parameters are known.

Usage

confounders.limit(p = NA, RR = NA, OR = NA, crude.RR = NULL, dec = 4,
  print = TRUE)

Arguments

p
Proportion with the confounder among the unexposed group.
RR
Relative risk between the confounder and the outcome.
OR
Odds ratio between the confounder and the outcome.
crude.RR
Crude relative risk between the exposure and the outcome.
dec
Number of decimals in the printout.
print
A logical scalar. Should the results be printed?

Value

  • A list with elements:
  • conf.limitsLimits on confounding.
  • bias.parmsInput bias parameters p, RR, OR, and crude RR.

References

Lash, T.L., Fox, M.P, Fink, A.K., 2009 Applying Quantitative Bias Analysis to Epidemiologic Data, pp.59--78, Springer.

Flanders, W. Dana, Khoury, Muin J., 1990. Indirect Assessment of Confounding: Graphic Description and Limits on Effect of Adjusting for Covariates. Epidemiology 1(3): 239--246.

Examples

Run this code
confounders.limit(OR = 1.65, crude.RR = 1.5)

Run the code above in your browser using DataLab