| tsdata_scc {TreatmentSelection} | R Documentation |
sample stratified nested case-control data for R package TreatmentSelection
Description
Simulated stratified case-control data set consisting of two continuous markers, two discrete markers, treatment, and event status.
Usage
data(tsdata)
Format
A data frame with 468 observations reflecting a 1:1 stratified case control subcohort sample from the tsdata dataset. Observations are stratified on treatment status. See ?tsdata for the clinical context these data were simulated under.
trta numeric vector distinguishing chemotherapy-treated individuals (trt = 1) vs individuals treated with tamoxifen alone (trt = 0)
eventa numeric vector indicating event status (1 for recurrence or death within 5 years, 0 otherwise)
Y1a numeric vector of values for marker 1. This marker has relatively weak performance.
Y2a numeric vector of values for marker 2. This marker has strong performance.
Y1_disca discrete version of marker 1, coded 1 if Y1 > mean(Y1) and 0 otherwise.
Y2_disca discrete version of marker 2, coded 1 if Y2 > 0, and 0 otherwise.
Note
In order to evaluate the markers in this dataset, we need to provide the function trtsel with information from the full cohort tsdata. See the example below for help.
References
Janes, Holly; Brown, Marshall D; Pepe, Margaret; Huang, Ying; "An Approach to Evaluating and Comparing Biomarkers for Patient Treatment Selection" The International Journal of Biostatistics. Volume 0, Issue 0, ISSN (Online) 1557-4679, ISSN (Print) 2194-573X, DOI: 10.1515/ijb-2012-0052, April 2014
See Also
trtsel for creating trtsel objects, plot.trtsel for plotting risk curves and more, evaluate.trtsel for evaluating marker performance, calibrate.trtsel for assessing model calibration, and compare.trtsel to compare two trtsel object.