Re: [R] Weibull Prediction?

2009-07-16 Thread Sean Brummel
e since my example it is greater than one. Sean On 7/16/09, David Winsemius wrote: > > > On Jul 16, 2009, at 8:19 PM, Sean Brummel wrote: > > Thanks for the help but... > > I did the required transformations at the end of the code. The thing that > I dont understand is: Wh

Re: [R] Weibull Prediction?

2009-07-16 Thread Sean Brummel
wrote: > > > On Jul 16, 2009, at 7:41 PM, Sean Brummel wrote: > > I am trying to generate predictions from a weibull survival curve but it >> seems that the predictions assume that the shape(scale for >> survfit) parameter is one(Exponential but with a strange rate estim

[R] Weibull Prediction?

2009-07-16 Thread Sean Brummel
response"))[1] ### Here is the mean and median of the data mean(y) median(y) ### Fitted Mean and Median from survreg fitScale<-exp(model$coef) fitShape<-1/model$scale fitScale*gamma(1 + 1/fitShape) fitScale*(log(2))^(1/fitShape) Is this done on purpose? If so does anyone know wh