-- begin included message ---
Hi,
I am fitting a weibull model as follows
my models is
s <- Surv(DFBR$Time,DFBR$Censor)
wei <- survreg(s~Group+UsefulLife,data = DFBR,dist="weibull")
How can i predict the probabilty of failure in next 10 days, for a new data with group =10
and usefuleLife =10
Perhaps:
G10 <- predict(wei, list(Group =10 , UsefulLife =10), type="response")
You should get a single km-type object and will need to extract a time-specific
value.
(You really _should_ post what you have tried.)
--
David
Sent from my iPhone
Sent from my iPhone
> On Mar 14, 2014, at 9:11
Perhaps:
G10 <- predict(wei, list(Group =10 , UsefulLife =10), type="response")
You should get a single km-type object and will need to extract a time-specific
value.
(You really _should_ post what you have tried.)
--
David
Sent from my iPhone
> On Mar 14, 2014, at 7:11 PM, shilpi harpavat
Perhaps:
G10 <- predict(wei, list(Group =10 , UsefulLife =10), type="response")
You should get a single km-type object and will need to extract a time-specific
value.
(You really _should_ post what you have tried.)
--
David
Sent from my iPhone
> On Mar 14, 2014, at 7:11 PM, shilpi harpavat
Hi,
I am fitting a weibull model as follows
my models is
s <- Surv(DFBR$Time,DFBR$Censor)
wei <- survreg(s~Group+UsefulLife,data = DFBR,dist="weibull")
How can i predict the probabilty of failure in next 10 days, for a new data
with group =10 and usefuleLife =100
Thx
shilpi
5 matches
Mail list logo