search for: labadata

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

2005 Jun 09
2
Weibull survival modeling with covariate
...vival 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, labadata$censor)~labdata$cov, dist="weibull") This returns: > weib Call: survreg(formula = Surv(labdata$time, labdata$censor) ~ labdata$cov, dist = "weibull") Coefficients: (Intercept) labdata$cov 8.091955112 0.001552897 Scale= 0.7532474 Loglik(model)= -12633.6 Loglik(inter...