Description Usage References See Also Examples
Two vectors containing the training and testing set outcomes for a real data example of recurrent events survival analysis. There are 488 patients in the cohort: 235 in the training set and 253 in the testing set. See the Reference below (and the References therein) for more detailed information; a brief synopsis follows.
y.train
contains the training set only. y.test
contains
both the training set and the testing set. There are 798 unique time
points so there are 235*798=187530 rows of the training set followed by
253*798=201894 rows of the testing set. For patient's who died prior to
the end of follow-up, no event, i.e., zero, is carried forward.
1 2 |
Sparapani R., Rein L., Tarima S., Jackson T., Meurer J. (2017) Nonparametric recurrent events analysis with BART and an application to the hospital admissions of patients with diabetes. Biostatistics manuscript submitted.
x.train
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.