Time dependent covariate model - Infection vs. No Infection

## Call:
## coxph(formula = Surv(tstart, tstop, tech.failure.or.death) ~ 
##     infection, data = tdata)
## 
##   n= 13835, number of events= 4556 
## 
##              coef exp(coef) se(coef)     z Pr(>|z|)    
## infection 0.99547   2.70598  0.03315 30.03   <2e-16 ***
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
##           exp(coef) exp(-coef) lower .95 upper .95
## infection     2.706     0.3696     2.536     2.888
## 
## Concordance= 0.598  (se = 0.003 )
## Rsquare= 0.065   (max possible= 0.996 )
## Likelihood ratio test= 930.1  on 1 df,   p=0
## Wald test            = 901.9  on 1 df,   p=0
## Score (logrank) test = 952.2  on 1 df,   p=0

Time dependent covariate model for death - Infection vs. No Infection

## Call:
## coxph(formula = Surv(tstart, tstop, death) ~ infection, data = tdata5)
## 
##   n= 13835, number of events= 2008 
## 
##              coef exp(coef) se(coef)  z Pr(>|z|)    
## infection 0.62846   1.87472  0.04833 13   <2e-16 ***
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
##           exp(coef) exp(-coef) lower .95 upper .95
## infection     1.875     0.5334     1.705     2.061
## 
## Concordance= 0.558  (se = 0.005 )
## Rsquare= 0.012   (max possible= 0.911 )
## Likelihood ratio test= 170.1  on 1 df,   p=0
## Wald test            = 169.1  on 1 df,   p=0
## Score (logrank) test = 173.1  on 1 df,   p=0

Time to Tech Failure by Early/Late Groups; Time 0 set at 1st Infection

## Call: survfit(formula = Surv(Time2Fu - Time2Infection.1, Event) ~ group, 
##     data = dat3, start.time = cut.day)
## 
##                         n events median 0.95LCL 0.95UCL
## group=Early (<0.5yr) 1601    748   2.95    2.77    3.26
## group=Late (>0.5yr)   722    326   2.97    2.71    3.53

##                       yr1 yr2 yr3 yr4 yr5 yr6 yr7 yr8 yr9 yr10
## group=Early (<0.5yr) 1228 753 410 241 150  91  52  24   5    0
## group=Late (>0.5yr)   549 306 184  98  60  33  18   7   0    0
## Call:
## coxph(formula = Surv(Time2Fu - Time2Infection.1, Event) ~ group, 
##     data = dat3)
## 
##   n= 2714, number of events= 1390 
## 
##                       coef exp(coef) se(coef)     z Pr(>|z|)    
## groupLate (>0.5yr) 0.32712   1.38697  0.05531 5.914 3.34e-09 ***
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
##                    exp(coef) exp(-coef) lower .95 upper .95
## groupLate (>0.5yr)     1.387      0.721     1.244     1.546
## 
## Concordance= 0.561  (se = 0.007 )
## Rsquare= 0.012   (max possible= 0.999 )
## Likelihood ratio test= 33.94  on 1 df,   p=5.693e-09
## Wald test            = 34.98  on 1 df,   p=3.338e-09
## Score (logrank) test = 35.29  on 1 df,   p=2.844e-09

Time to Death by Early/Late Groups; Time 0 set at 1st Infection

## Call: survfit(formula = Surv(Time2Fu - Time2Infection.1, Event.Death) ~ 
##     group, data = dat3, start.time = cut.day)
## 
##                         n events median 0.95LCL 0.95UCL
## group=Early (<0.5yr) 1601    328     NA    7.04      NA
## group=Late (>0.5yr)   722    139     NA      NA      NA

##                       yr1 yr2 yr3 yr4 yr5 yr6 yr7 yr8 yr9 yr10
## group=Early (<0.5yr) 1228 753 410 241 150  91  52  24   5    0
## group=Late (>0.5yr)   549 306 184  98  60  33  18   7   0    0
## Call:
## coxph(formula = Surv(Time2Fu - Time2Infection.1, Event.Death) ~ 
##     group, data = dat3)
## 
##   n= 2714, number of events= 582 
## 
##                       coef exp(coef) se(coef)     z Pr(>|z|)  
## groupLate (>0.5yr) 0.18865   1.20761  0.08722 2.163   0.0305 *
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
##                    exp(coef) exp(-coef) lower .95 upper .95
## groupLate (>0.5yr)     1.208     0.8281     1.018     1.433
## 
## Concordance= 0.54  (se = 0.011 )
## Rsquare= 0.002   (max possible= 0.954 )
## Likelihood ratio test= 4.58  on 1 df,   p=0.03229
## Wald test            = 4.68  on 1 df,   p=0.03055
## Score (logrank) test = 4.69  on 1 df,   p=0.0303