search for: leukem

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

Did you mean: leuker
2009 May 18
1
discrepancies between stata and r for a cox regression
...I would like to develop the use of R. Trying R and more particulary the cox model, I am surprised by discrepancies between results with stata and R for a cox model With the same data base, I get a hazard ratio (4.82) that is not the same obtained with stata (4.52) You will find attached the file leukemia.dta I used (Stata) Here are the codes for R library(foreign) leukemia<-read.dta("leukemia.dta") library(survival) res <- coxph(Surv(TIME, STATUS)~TREAT, data=leukemia) summary(res) and here the codes for for stata use "leukemia.dta",clear stset TIME, failure(STATUS=...