Learn R Programming

TreatmentSelection (version 2.1.1)

tsdata: sample data for R package TreatmentSelection

Description

Simulated data set consisting of two continuous markers, two discrete markers, treatment, and event status.

Usage

data(tsdata)

Arguments

Format

A data frame with 1000 simulated observations reflecting the following clinical context. Markers Y1 and Y2 are candidates for identifying a subset of women with estrogen-receptor positive breast cancer who do not benefit from adjuvant chemotherapy over and above tamoxifen. The clinical outcome of interest, termed "event", is 5-year breast cancer recurrence or death. Data come from a hypothetical randomized trial where subjects are randomly assigned to tamoxifen alone or tamoxifen plus chemotherapy and followed to ascertain this outcome; markers Y1 and Y2 are measured at baseline.

trt

a numeric vector distinguishing chemotherapy-treated individuals (trt = 1) vs individuals treated with tamoxifen alone (trt = 0)

event

a numeric vector indicating event status (1 for recurrence or death within 5 years, 0 otherwise)

Y1

a numeric vector of values for marker 1. This marker has relatively weak performance.

Y2

a numeric vector of values for marker 2. This marker has strong performance.

Y1_disc

a discrete version of marker 1, coded 1 if Y1 > mean(Y1) and 0 otherwise.

Y2_disc

a discrete version of marker 2, coded 1 if Y2 > 0, and 0 otherwise.

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.