Re: [R] AFT-model with time-dependent covariates

2009-10-20 Thread Ravi Varadhan
n...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Göran Broström Sent: Tuesday, October 20, 2009 10:07 AM To: spencerg Cc: r-help@r-project.org; Terry Therneau Subject: Re: [R] AFT-model with time-dependent covariates Sorry for being late in responding to this thread, but I

Re: [R] AFT-model with time-dependent covariates

2009-10-20 Thread Göran Broström
Sorry for being late in responding to this thread, but I was made aware of it only two weeks ago. In my package 'eha' there is a function 'aftreg', which performs what is asked for, given that the time-varying covariates are step functions of time and that the observation period for each individual

Re: [R] AFT-model with time-dependent covariates

2009-05-13 Thread spencerg
To see what's available in other packages, try the following: library(RSiteSearch) 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,

Re: [R] AFT-model with time-dependent covariates

2009-05-13 Thread Terry Therneau
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 covariat

[R] AFT-model with time-dependent covariates

2009-05-12 Thread Philipp Rappold
Dear R-community, Dear Prof. Therneau, I would like to fit an AFT-model with time-dependent covariates and right-censored data. Searching the mailing list for information on the subject, I found some old posts which said it didn't work back then. My questions: (1) Has this kind of fitting al