Displaying 1 result from an estimated 1 matches for "surall2".
Did you mean:
muralla
2005 Nov 22
3
Weibull and survival
...s nicely and is the same as commercial
software (only the graphs are superior in R).
The Weibull does not and produces an error (see below).
Any ideas why this error should occur?
My approach may be spurious.
Code follows
#The following works fine
> surv.mod1 <- survfit( Surv(SURALL2, relall6==1)~randgrpc,
type=c("kaplan-meier"),data=Dataset)
>
#The following works produces the error below
> surv.mod2 <- survreg( Surv(SURALL2, relall6 == 1)~randgrpc,
data=Dataset, dist="weibull")
Error in survreg(Surv(SURALL2, relall6 == 1) ~ randgrpc, data =...