df_uc_emc {multibias}R Documentation

Simulated data with uncontrolled confounding and exposure misclassification

Description

Data containing two sources of bias, a known confounder, and 100,000 observations. This data is obtained from df_uc_emc_source by removing the columns X and U. The resulting data corresponds to what a researcher would see in the real-world: a misclassified exposure, Xstar, and missing data on a confounder U. As seen in df_uc_emc_source, the true, unbiased exposure-outcome odds ratio = 2.

Usage

df_uc_emc

Format

A dataframe with 100,000 rows and 3 columns:

Xstar

misclassified exposure, 1 = present and 0 = absent

Y

outcome, 1 = present and 0 = absent

C1

confounder, 1 = present and 0 = absent


[Package multibias version 1.5.0 Index]