Re: [R] Survival analysis extrapolation

2010-05-28 Thread TReason
Dear Terry, Thanks so much for your help; I'm a bit of an R novice at the moment (as you can probably tell from my failure to use the data argument!) so any help is most welcome. I'm hoping to use this model to generate transition probabilities for a Markov model and, as such, I was wondering if

Re: [R] Survival analysis extrapolation

2010-05-27 Thread Terry Therneau
A few suggestions 1. Use the data argument wfit <- survreg(Surv(Time, Status) ~ Treatment, data=survdata) summary(wfit) 2. Use the predict function to look at your survival curve. This avoids any parameter change mistakes. It also works for any distribution. pp <- 0:60/100 wsurv <-

[R] Survival analysis extrapolation

2010-05-26 Thread TReason
Dear all, I'm trying to fit a curve to some 1 year failure-time data, so that I can extrapolate and predict failure rates up to 3 years. The data is in the general form: Treatment Time Status Treatment A28 0 Treat