[R] AFT-model with time-dependent covariates

spencerg spencer.graves at prodsyse.com
Wed May 13 21:34:56 CEST 2009

To see what's available in other packages, try the following: 

AFT <- RSiteSearch.function('AFT model')
summary(AFT) # 24 help files found in 8 different packages
HTML(AFT) # opens a table with 24 rows in a web browser. 

      There may be nothing here that will help you, but this provides a 
quick overview of what's available.  If this doesn't find what you want, 
it either has not been contributed or its help page does not use the 
phrase "AFT model". 

      Hope this helps. 
      Spencer Graves

Terry Therneau wrote:
>  The coding for an AFT model with time-dependent covariates will be very hard, 
> and I don't know of anyone who has done it.  (But I don't keep watch of other 
> survival packages, so something might be there).
>   In a Cox model, a subject's risk depends only on the current value of his/her 
> covariates; in an AFT model the risk depends on the entire covariate history.  
> (My 'accelerated age' is the sum of all the extra years I have ever gained).  
> Coding this is not theoretically complex, but would be a pain-in-the-rear amount 
> of bookkeeping.
>   	Terry Therneau
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

More information about the R-help mailing list