[R] Survival Analysis questions

From: Viet Le <eveud_at_hotmail.com>
Date: Wed, 02 Jul 2008 10:20:44 +0700

Dear all,I'm a newbie to Survival Analysis and I have some questions about the functions in the survival package.First, what's the difference between survreg and coxph? Say fit1<- survreg(survObj ~ var1 + var2 + var3, dist= 'whatever') and fit2<- coxph(survObj ~ var1 + var2 + var3), what's the difference between fit1 and fit2? They all do regression on explanatory variables. What does it mean dist in survreg?Second, what's the difference in these two specifications of the proportional hazard model?coxph(survObj ~ var1 + strata(var2))coxph(survObj ~ var1*strata(var2))Thanx,Pierre

[[elided Hotmail spam]]

        [[alternative HTML version deleted]]

R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Wed 02 Jul 2008 - 03:24:41 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 02 Jul 2008 - 03:31:32 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive