Hi all, let's say we can fit a Cox model with a numeric variable "x" as the independent variable. The we can calculate, say 10-year survival, for any given value of "x" (0 to 10 in increment of 0.1 in the example below):


> fit <- coxph(Surv(time, event)~x,dat)
> surv10yr<-
summary(survfit(fit,newdata=data.frame(x=seq(0,10,0.1))),times=10)

I am wondering if anyone can show me how to replicate this in SAS?

very much appreciated!

John
	[[alternative HTML version deleted]]

