search for: vetcph

Displaying 2 results from an estimated 2 matches for "vetcph".

Did you mean: vetch
2012 Jul 17
0
Building a web risk calculator based on Cox PH--definitive method for calculating probability?
...ry(rms) library(survival) library(Hmisc) data(veteran) dd=datadist(veteran) options(datadist='dd') options(digits=4) obj=with(veteran,Surv(time,status)) vetcoxph=coxph(obj~celltype+trt,data=veteran) #I will fit models from both the survival and rms packages so you can #use what you like vetcph=cph(obj~celltype+trt,data=veteran,surv=TRUE,time.inc=5*365,x=T,y=T) #let's say the user inputted that their cell type was smallcell and their treatment was "1". userinput=data.frame(celltype='smallcell',trt=factor(1)) I really appreciate your recommendations Best, Jahan...
2012 Jul 18
0
Building a web risk calculator based on Cox, PH--definitive method for calculating probability?
...; data(veteran) > dd=datadist(veteran) > options(datadist='dd') > options(digits=4) > obj=with(veteran,Surv(time,status)) > vetcoxph=coxph(obj~celltype+trt,data=veteran) #I will fit models from > both the survival and rms packages so you can > #use what you like > vetcph=cph(obj~celltype+trt,data=veteran,surv=TRUE,time.inc=5*365,x=T,y=T) > #let's say the user inputted that their cell type was smallcell and their > treatment was "1". > userinput=data.frame(celltype='smallcell',trt=factor(1)) > > I really appreciate your recommend...