0
$\begingroup$

I am fitting a weibull model as follows:

s <- Surv(DFBR[,"Time"],DFBR[,"Censor"])

wei <- survreg(s~ Group+ UsefulLife, data = DFBR, dist="weibull")

How can I predict the probability of failure in next 10 days, for a new data with group =10 and usefuleLife =100

$\endgroup$
3
  • 1
    $\begingroup$ Type ?summary.survfit to find out. Better R practice to define s as with(DFBR, Surv(Time, Censor)). Always note which package(s) you are using, in this case survival. $\endgroup$ Commented Mar 14, 2014 at 13:09
  • 2
    $\begingroup$ This question appears to be off-topic because it is about how to use R, but w/o a reproducible example. $\endgroup$ Commented Mar 14, 2014 at 14:01
  • 1
    $\begingroup$ I think there's both a statistical and a coding side to the question, so I think it's potentially on topic $\endgroup$
    – Glen_b
    Commented Mar 14, 2014 at 14:47

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.