Re: [R] Weibull survival modeling with covariate

2005-06-09 Thread Thomas Lumley
On Thu, 9 Jun 2005, Watalu, Y. (aka Wataru) wrote: Hi, I'm also wondering which expression the survreg() uses for Weibull regression. Referring to help(survreg) and help(survreg.distributions), I guess survreg() fits the following model. survreg() uses a different parametrization, say F(x,

Re: [R] Weibull survival modeling with covariate

2005-06-08 Thread Göran Broström
On Wed, Jun 08, 2005 at 08:39:21PM -0400, [EMAIL PROTECTED] wrote: > I was wondering if someone familiar > with survival analysis can help me with > the following. > I would like to fit a Weibull curve, > that may be dependent on a covariate, > my dataframe "labdata" that has the > fields "cov

Re: [R] Weibull survival modeling with covariate

2005-06-08 Thread Watalu, Y. (aka Wataru)
Hi, I'm also wondering which expression the survreg() uses for Weibull regression. Referring to help(survreg) and help(survreg.distributions), I guess survreg() fits the following model. survreg() uses a different parametrization, say F(x, Wshape, Wscale) = 1-exp(-Wscale*(x^Wshape))), and fit

[R] Weibull survival modeling with covariate

2005-06-08 Thread sms13+
I was wondering if someone familiar with survival analysis can help me with the following. I would like to fit a Weibull curve, that may be dependent on a covariate, my dataframe "labdata" that has the fields "cov", "time", and "censor". Do I do the following? wieb<-survreg(Surv(labdata$time