| BiSample | R Documentation |
Simulated long-format data for illustrating binary-outcome analyses.
Potential survival is generated with S^1 \ge S^0, matching the
package's treatment-1 survival-favorable convention. The simulation variables
are not observed counterfactual information available in a real study.
BiSample
A simulated long-format data frame with 1,200 rows (400 subjects at three visits) and 16 variables:
Subject identifier.
Analysis time.
Simulated probability of treatment 1 conditional on baseline covariates, stored to three decimal places.
Simulated potential survival indicators under treatment 1 and 0, respectively; 1 denotes alive and 0 denotes dead.
Simulated binary potential outcomes under treatment 1 and
0, respectively. These simulation variables are retained for illustration;
package analyses use the observed outcome Y.
Continuous baseline covariates.
Binary baseline covariates.
Binary treatment indicator.
Binary survival or intermediate-status indicator.
Binary outcome, structurally missing after death.
Simulated for package examples.
data("BiSample", package = "PDRobust")
head(BiSample)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.