x.test: A data set used in example of 'recur.bart'.

Description Usage References See Also Examples

Description

A matrix containing the testing set 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.

x.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, their external factors are last value carried forward. Therefore, we can use x.test to estimate the cumulative hazard for all patients for all time points.

Usage

1

References

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.

See Also

x.train

Examples

1
2
data(x.test)
head(x.test[ , 1:10])

timebart documentation built on May 2, 2019, 4:43 p.m.

Related to x.test in timebart...