testhare | R Documentation |
Fake survival analysis data set for testing hare
and heft
testhare
A matrix with 2000 lines (observations) and 8 columns. Column 1 is intended to be the survival time, column 2 the censoring indicator, and columns 3 through 8 are predictors (covariates).
Charles Kooperberg clk@fredhutch.org.
I started out with a real data set; then I sampled, transformed and added noise. Virtually no number is unchanged.
Charles Kooperberg, Charles J. Stone and Young K. Truong (1995). Hazard regression. Journal of the American Statistical Association, 90, 78-94.
Charles J. Stone, Mark Hansen, Charles Kooperberg, and Young K. Truong. The use of polynomial splines and their tensor products in extended linear modeling (with discussion) (1997). Annals of Statistics, 25, 1371–1470.
hare
, heft
.
harefit <- hare(testhare[,1], testhare[,2], testhare[,3:8])
heftfit <- heft(testhare[,1], testhare[,2])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.