simdata: Simulated training and testing data of two survival outcomes

Description Usage Format Examples

Description

A list of simulated data, which include 600 patients for training in train, 5000 patients for testing in test, and their true subgroup membership labels in label.train and label.test. In training and testing set, predictive variable 's1' controls the treatment benefit, patients with positive 's1' benefit from treatment, and patients with negative 's1' do not benefit from treatment.Variables 'z1' to 'z20' are confounding baseline variables, 'trt01p' denote treatment assignment, 'evnt1' and 'aval1' are the event indicator(0 censor, 1 event) and survival outcome for the primary outcome overal survival (OS). 'evnt2' and 'aval2' are the event indicator(0 censor, 1 event) and survival outcome for the secondary outcome time to prgression (TTP). label.train and label.test denotes the true subgroup membership (0 tretment nonperforming subgroup, 1 treatment performing subgoup).

Usage

1

Format

a list containing training data train, testing data test, subgroup label label.train, and subgroup label label.test

Examples

1

liupeng2117/SubgroupBoost documentation built on Feb. 7, 2022, 1 p.m.