Displaying 1 result from an estimated 1 matches for "riseval".
Did you mean:
rf_eval
2006 Feb 26
0
frailty in coxph or repeated measures in cph (Design)
...For example:
id <- c(a,a,a,b,b,b) # patient id
risenumber <- c(1,2,3,1,2,3) # number of each rise per patient
clinfail <- c(1,1,1,0,0,0) # censored indicator of clinical failure status (the endpoint)
clinfailtime <- c(5,4,3,10,9,8) # time from rise to clinical failure endpoint
riseval <- c(10,20,30,1,2,3) # value of test at the time of rise
timesinceRx <- c(1,2,3,1,2,3) # years since treatment
Rxtype <- c(c,c,c,d,d,d) # type of treatment
...plus other variables at time of rise plus pre-treatment variables
In generic terms, analysis would be:
fit <- cph(Surv(c...