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

Description Usage Arguments Value References Examples

View source: R/confounders.limit.R

Description

Function to elicit the limits on measures of effect corrected for an unmeasured confounder when only some of the bias parameters are known. Crude relative risk between exposure and outcome has minimally to be provided. Up to 3 other parameters can be entered.

Usage

1
2
3
4
5
6
7
8
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.limits

Limits on confounding.

bias.parms

Input 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

1
confounders.limit(OR = 1.65, crude.RR = 1.5)

episensr documentation built on Aug. 20, 2021, 9:06 a.m.