Re: [R] time-dependent covariate survival curves

From: Joel Dubin <>
Date: Sat 13 May 2006 - 02:21:31 EST

    Dear Hua,

    One approach: use the function event.history in the Hmisc library. A citation for a 2001 Statistics in Medicine paper (Dubin, Muller, Wang) describing the method for plotting survival data with time-dependent covariates is contained in the help file.

    Good luck, Joel.

Joel Dubin
Departments of Statistics & Actuarial Science and Health Studies & Gerontology
University of Waterloo

Message: 44
Date: Thu, 11 May 2006 12:35:52 -0500
From: Hua Ding <> Subject: [R] time-dependent covariate survival curves To:
Message-ID: <> Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Dear r-users,

Does anyone know how to draw time-dependent survival curves?


Event outcome: CHD
Time-dependent covariate: NSAID use, which changes over time for each subject
I'm interested in survival curves stratified by NSAID use.

I'd like to implement Simon & Makuch (1984) method. Is there a R package/function to draw this graph?

Two related papers:

Simon R, Makuch RW. A non-parametric graphical representation of the relationship between survival and the occurrence of an event: application to responder versus non-responder bias. Statistics in Medicine 1984; 3: 35-44.

Schultz LR, Peterson EL, Breslau N. Graphing survival curve estimates for time-dependent covariates. Int'l J of Methods in Psychiatric Research 2002; 11: 68-74. mailing list PLEASE do read the posting guide! Received on Sat May 13 02:25:33 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Sat 13 May 2006 - 04:10:08 EST.

Mailing list information is available at Please read the posting guide before posting to the list.