Displaying 1 result from an estimated 1 matches for "edmadj".
Did you mean:
edad
2006 Sep 03
2
Running cox models
...agerty/Books/Biostatistics/chapter16.html
(Primary Biliary Cirrhosis data link at top of the page),
I'm using the following 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 tha...