ex_binary_df {beastt} | R Documentation |
External Binary Control Data for Propensity Score Balancing
Description
This is a simulated dataset used to illustrate Bayesian dynamic borrowing in the case when borrowing from an external control arm with a binary endpoint, where the baseline covariate distributions of the internal and external data are balanced via inverse probability weighting.
Usage
ex_binary_df
Format
ex_binary_df
A data frame with 150 rows and 6 columns:
- subjid
Unique subject ID
- cov1
Covariate 1, which is normally distributed around 65 with a SD of 10
- cov2
Covariate 2, which is binary (0 vs. 1) with about 30% of participants having level 1
- cov3
Covariate 3, which is binary (0 vs. 1) with about 40% of participants having level 1
- cov4
Covariate 4, which is binary (0 vs. 1) with about 50% of participants having level 1
- y
Response, which is binary (0 vs. 1)
[Package beastt version 0.0.1 Index]