Displaying 1 result from an estimated 1 matches for "urinecu".
Did you mean:
urine
2006 Sep 03
2
Running cox models
...g code:
--------------- start of code
library(survival)
liver <- scan("liver2.txt",list(age=0,albumin=0,alkphos=0,ascites=0,bili=0,
cholest=0,edema=0,edmadj=0,hepmeg=0,obstime=0,platelet=0,protime=0,
sex=0,sgot=0,spiders=0,stage=0,status=0,treatmnt=0,
triglyc=0,urinecu=0))
fit<-coxph(Surv(obstime,status)~bili+edmadj+albumin+protime+age,data=liver)
summary(fit)
----------------- End of code
but the answer is rather different from that in the book (p.688 - for
anyone with the book).
The book refers to EDTRT, but the dataset has EDMADJ and EDMEMA, also
the book...