Off topic:Help with Censoring using the survival package.
0
0
Entering edit mode
Ahdee ▴ 50
@ahdee-8938
Last seen 17 months ago
United States

Hi all I would like to do some survival analysis using the survival package. The most difficult part for me is setting up the censoring data correctly and I would appreciated if someone can help confirm if I'm doing this correctly. According to the ?Surv function.

"For interval censored data, the status indicator is 0=right censored, 1=event at time" how I interpret this is: 
1=death before event, 0= lost of follow-up or alive AFTER time to event

I'm interested in Overall survival - time to event is 60 months.  Below is my dataframe with some data and what I think censoring should be for the given row.  lastseen is basically the highest data including followup and recurrence that was reported for that particular subject.   death.month sometimes is unavailable, thus denoted as NA.  Can someone confirm if my censor code is correct? 

  death.month    lastseen OS.censor    OS.month
34    9.034166   9.0341656         1   9.0341656
35          NA   2.0367937         0   2.0367937
36          NA   0.4599212         0   0.4599212
39          NA   8.6727989         0   8.6727989
40          NA  97.6675427         0  97.6675427
41  120.6964520 120.6964520        0  120.6964520
42   37.680683  37.6806833         1  37.6806833
43   49.014455  49.0144547         1  49.0144547

 

thank you! 

survival analysis survival kaplan-meier hazard ratio • 286 views
ADD COMMENT
This thread is not open. No new answers may be added
Traffic: 718 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6