search for: statadata0

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

2005 Jan 06
0
Parametric Survival Models with Left Truncation, survreg
...ed the help page for survreg and looked in the R-help archive, and it appears that the R function survreg from the survival library (version 2.16) should allow me to take account of left truncation. However, when I try the command summary(survreg(Surv(t,y,d,type="counting")~x2+x3,data=statadata0,dist="weibull",control=list(maxiter=100),na.action=na.exclude)) or summary(survreg(Surv(t,y,d,type="counting")~x2+x3,data=statadata0,dist="lognormal",control=list(maxiter=100),na.action=na.exclude)) I get the following error message: Error in survreg(Surv(t, y, d,...