Simulated data with uncontrolled confounding and outcome misclassification
Source:R/data_uc_om.R
df_uc_om.Rd
Data containing two sources of bias, three known confounders, and
100,000 observations. This data is obtained from df_uc_om_source
by removing the columns Y and U. The resulting data
corresponds to what a researcher would see in the real-world: a
misclassified outcome, Ystar, and missing data on the binary
confounder U. As seen in df_uc_omc_source
, the true, unbiased
exposure-outcome odds ratio = 2.