search for: mhc2

Displaying 1 result from an estimated 1 matches for "mhc2".

Did you mean: mdc2
2009 Mar 14
1
obtaining the values for the hazard function in a cox regression
...v) summary (cox.V) # produces a log-log plot mvfit <- survfit (Surv(recidivismv$intDaysUntilFVPO, recidivismv$Event_v) ~ MHC, data = recidivismv) neg.ll <- function(mvfit) -log(-log(mvfit)) library (Design) survplot(mvfit, fun = neg.ll, conf = "none", logt=TRUE) # hazard values mhc2 <- coxph (Surv(recidivismv$intDaysUntilFVPO, recidivismv$Event_v) ~ MHC, data = recidivismv) basehaz(mhc2)