Skip to contents

Functions

Causal data

Combine a dataframe with specification of key variables to create a causal data object. These objects are then used in bias-adjusting functions.

data_observed()
Represent observed causal data
data_validation()
Represent validation causal data

Single bias adjustment

For a given exposure and outcome within data_observed, obtain an exposure-outcome effect estimate adjusted for a single source of bias.

adjust_em()
Adust for exposure misclassification.
adjust_om()
Adust for outcome misclassification.
adjust_sel()
Adust for selection bias.
adjust_uc()
Adust for uncontrolled confounding.

Multiple bias adjustment

For a given exposure and outcome within data_observed, obtain an exposure-outcome effect estimate adjusted for multiple sources of bias.

adjust_em_om()
Adust for exposure misclassification and outcome misclassification.
adjust_em_sel()
Adust for exposure misclassification and selection bias.
adjust_uc_em_sel()
Adust for uncontrolled confounding, exposure misclassification, and selection bias.
adjust_uc_em()
Adust for uncontrolled confounding and exposure misclassification.
adjust_uc_om_sel()
Adust for uncontrolled confounding, outcome misclassification, and selection bias.
adjust_uc_om()
Adust for uncontrolled confounding and outcome misclassification.
adjust_uc_sel()
Adust for uncontrolled confounding and selection bias.
adjust_om_sel()
Adust for outcome misclassification and selection bias.

Data

Biased data

Simulated dataframes with known bias of the exposure-outcome effect.

df_em_om
Simulated data with exposure misclassification and outcome misclassification
df_em_sel
Simulated data with exposure misclassification and selection bias
df_em
Simulated data with exposure misclassification
df_om_sel
Simulated data with outcome misclassification and selection bias
df_om
Simulated data with outcome misclassification
df_sel
Simulated data with selection bias
df_uc_em_sel
Simulated data with uncontrolled confounding, exposure misclassification, and selection bias
df_uc_em
Simulated data with uncontrolled confounding and exposure misclassification
df_uc_om_sel
Simulated data with uncontrolled confounding, outcome misclassification, and selection bias
df_uc_om
Simulated data with uncontrolled confounding and outcome misclassification
df_uc_sel
Simulated data with uncontrolled confounding and selection bias
df_uc
Simulated data with uncontrolled confounding

Source for biased data

Simulated dataframes used to derive the respective biased dataframe, with complete information on the source(s) of bias (i.e., the missing data).

df_em_om_source
Data source for df_em_om
df_em_sel_source
Data source for df_em_sel
df_em_source
Data source for df_em
df_om_sel_source
Data source for df_om_sel
df_om_source
Data source for df_om
df_sel_source
Data source for df_sel
df_uc_em_sel_source
Data source for df_uc_em_sel
df_uc_em_source
Data source for df_uc_em
df_uc_om_sel_source
Data source for df_uc_om_sel
df_uc_om_source
Data source for df_uc_om
df_uc_sel_source
Data source for df_uc_sel
df_uc_source
Data source for df_uc

Other

Other miscellaneous dataframes for analysis.

evans
Evans County dataset