Re: [R] Calculate survival function for AFT model

2011-12-30 Thread David Winsemius
On Dec 30, 2011, at 6:19 PM, Milan Bouchet-Valat wrote: Le vendredi 30 décembre 2011 à 12:46 -0800, thebennjammin a écrit : I have fit an accelerated failure time model using coxph, and have what seems to be a simple question that I can't figure out. Please specify the exact package, functi

Re: [R] Calculate survival function for AFT model

2011-12-30 Thread Milan Bouchet-Valat
Le vendredi 30 décembre 2011 à 12:46 -0800, thebennjammin a écrit : > I have fit an accelerated failure time model using coxph, and have what seems > to be a simple question that I can't figure out. Please specify the exact package, functions and actual code you use. coxph(), as the name says, ru

[R] Calculate survival function for AFT model

2011-12-30 Thread thebennjammin
I have fit an accelerated failure time model using coxph, and have what seems to be a simple question that I can't figure out. Given a vector of predictor values X, the survival time S[t|X] is the probability the entity will survive longer than some time t. Now, how do I calculate this for a sp