All functions |
|
|---|---|
Apply case_when logics (e.g. policy, censoring) to clones |
|
Duplicate data frame for each treatment arm to emulate |
|
Generate censoring logic for scenario A |
|
Create training data for censoring probability estimation |
|
Generate clone policy for scenario A |
|
Estimate the emulated trial effect |
|
Bootstrap a complete clone-censor-weight analysis |
|
Estimate censoring probabilities |
|
Simulated lung cancer patients data by Maringe et al. (2020) |
|
Construct a survival response |
|
13 types of patient records in Maringe et al. (2020) |
|
Read trial-style data from CSV |
|
Add inverse probability of censoring weights |
|