Wake Forest University
Rosenbaum and Rubin showed in observational studies, conditioning on propensity scores can lead to unbiased estimates of the exposure effect
{action}_{effect}_with_{what}
tip_rr_with_continous()
adjust_coef_with_r2()
Meadows SO, Engel CC, Collins RL, Beckman RL, Cefalu M, Hawes-Dawson J, et al. 2015 health related behaviors survey: Substance use among US active-duty service members. RAND; 2018.
tipr
ExampleWhat if we assume the effect of alcohol consumption on lung cancer after adjusting for other confounders is 2?
tipr
ExampleWhat if we assume the effect of alcohol consumption on lung cancer after adjusting for other confounders is 2?
Meadows SO, Engel CC, Collins RL, Beckman RL, Cefalu M, Hawes-Dawson J, et al. 2015 health related behaviors survey: Substance use among US active-duty service members. RAND; 2018.
tipr
ExampleWhat if we assume the effect of alcohol consumption on lung cancer after adjusting for other confounders is 2?
tipr
Example# A tibble: 3 × 5
hr_adjusted hr_observed exposed_confounder_prev unexposed_confounder_prev
<dbl> <dbl> <dbl> <dbl>
1 0.805 0.79 0.04 0.06
2 0.887 0.87 0.04 0.06
3 0.978 0.96 0.04 0.06
# ℹ 1 more variable: confounder_outcome_effect <dbl>
tipr
Exampletipr
Exampletipr
Exampletipr
Example# A tibble: 1 × 1
confounder_outcome_effect
<dbl>
1 3.27
adjust_*
functionsadjust_*
functions in an arraytip_*
functionsadjust_*
or tip_*
functions in an arraytip_coef_with_r2()
(measured confounders)r_value()
& E-values e_value()
tip_coef()
effect_observed
: observed exposure - outcome effect 6.17 minutes (95% CI: 2.02, 10.40)tip_coef()
exposure_confounder_effect
: scaled mean difference between the unmeasured confounder in the exposed and unexposed populationtip_coef()
confounder_outcome_effect
: relationship between the unmeasured confounder and outcome05:00
tip_coef()
function to conduct a sensitivity analysis for the estimate from your previous exercises. Use the lower bound of the confidence interval for the effect and 0.1
for the exposure-confounder effect.