Personal tools
You are here: Home / Online Resources / Survival Analysis with Interval-Censored Data: A Practical Approach / Supplemental materials to Survival Analysis with Interval-Censored Data: A Practical Approach

Supplemental materials to Survival Analysis with Interval-Censored Data: A Practical Approach

Introduction

The book "Survival Analysis with Interval-Censored Data: A Practical Approach with examples in R, SAS, and BUGS" by K. Bogaerts, A. Komarek and E. Lesaffre uses several data sets to illustrate different analysis methods. On this page you find the data, programs and other supplemental materials mentioned in the book.

Survival Analysis with Interval-Censored Data

 

 

Data Sets

  1. Homograft study (description, SAS)
  2. Breast cancer study (description, SAS)
  3. AIDS clinical trial (description, SAS)
  4. Sensory shelf life study (description, SAS)
  5. Survey on mobile phone purchases (description, SAS)
  6. Mastitis study (description, SAS)
  7. Signal Tandmobiel study (description, SAS)

 

A program which creates all formats for all data sets can be downloaded here. A SAS data library named library must be created before running the program. This can be accomplished by running an autoexec file (paths to be adapted to local setting).

All data sets are also available in the R-package icensBKL which is available from CRAN.

R package icensBKL

The R-package icensBKL is available from CRAN. In addition to the data sets, it also contains some several smaller functions suitable for analysis of interval-censored data. Note that the package depends on several other packages which are automatically installed with the exception of the package Icens which is not available from CRAN but from BIOCONDUCTOR. You can install the package with the following lines of code.

> ## try http:// if https:// URLs are not supported

> source("https://bioconductor.org/biocLite.R")

> biocLite("Icens")

SAS macros

The SAS macros which are introduced in the book may downloaded here. In the SAS programs below it is assumed that the macros are stored in a directory (e.g. C:\SASmacros ) which is accessible by sasautos. This can be accomplished using the following code.

options mautosource sasautos = (sasautos, "C:/SASmacros");

Alternatively, the respective macro must be run before the program in order to work.

Programs

For SAS, it is assumed that the data are available in a libname called anadata and that macros are autoloaded or run in advance. An example autoexec program performing these requirements can be downloaded here.

Each program can be download separately below or together in a zip-file.

Chapter Example Data Type File
2 2.1 Homograft R 02_1-Homograft-KaplanMeier.R
      SAS 02_1-Homograft-KaplanMeier.sas
  2.2 Homograft R 02_2-Homograft-Logrank.R
      SAS 02_2-Homograft-Logrank.sas
  2.3 Homograft R 02_3-Homograft-CoxPH.R
      SAS 02_3-Homograft-CoxPH.sas
  2.4 Homograft R 02_4-Homograft-AFT.R
      SAS 02_4-Homograft-AFT.sas
3 3.1 Breast cancer R 03_1-BreastCancer-NPMLE.R
      SAS 03_1-BreastCancer-NPMLE.sas
  3.2 Signal Tandmobiel R 03_2-STM-ParamMod.R
      SAS 03_2-STM-ParamMod.sas
  3.3 Breast cancer R 03_3-BreastCancer-LogSpline.R
  3.4 Signal Tandmobiel R 03_4-STM-PenalGaussMix.R
4 4.1 Signal Tandmobiel R 04_1-STM-TwoSample.R
      SAS 04_1-STM-TwoSample.sas
  4.2 Signal Tandmobiel R 04_2-STM-kSample.R
      SAS 04_2-STM-kSample.sas
5 5.1 Breast cancer R

05_1-BreastCancer-PH-ParametricBaseline.R

05_1-BreastCancer-paramPH-icenReg.R

      SAS 05_1-BreastCancer-parametricPH.sas
  5.2 Breast cancer R 05_2-BreastCancer-PH-pwExphazard-frailtypack.R
      SAS 05_2-BreastCancer-pwExpPH.sas
  5.3 Breast cancer SAS 05_3-BreastCancer-SNP_ PH.sas
  5.4 Signal Tandmobiel R 05_4-STM-PH-frailtypack.R
      SAS 05_4-STM-CubicSplinePH.sas
  5.5 Breast cancer R

05_5-BreastCancer-glrt.R

05_5-BreastCancer-semiparamPH-icenReg.R

      SAS

05_5-BreastCancer-FinkelsteinPH.sas

05_5-BreastCancer-Farrington.sas

  5.6 Signal Tandmobiel R 05_6-STM-semiparamPH-icenReg.R
      SAS 05_6-STM-Farrington.sas
  5.7 Signal Tandmobiel R 05_7-STM-PH-CompLogLog.R
      SAS 05_7-STM-groupedPH.sas
  5.8 Breast cancer R 05_8-BreastCancer-MI-PH.R
      SAS 05_8-BreastCancer-MI-PH.sas
  5.9 Sensory shelf life R

05_9-yoghurt-glrt.R

05_9-yoghurt-semiparamPH-icenReg.R

05_9-yoghurt-paramPH-icenReg.R

05_9-yoghurt-PH-MIICD.R

05_9-yoghurt-PH-ParametricBaseline-frailtypack.R

05_9-yoghurt-PH-PenalizedSplines-frailtypack.R

05_9-yoghurt-PH-pwExphazard-frailtypack.R

      SAS

05_9-yoghurt-Farrington.sas

05_9-yoghurt-FinkelsteinPH.sas

05_9-yoghurt-splinesPH.sas

05_9-yoghurt-MI-PH.sas

05_9-yoghurt-pwExpPH.sas

05_9-yoghurt-single imputation.sas

6 6.1 Signal Tandmobiel R 06_1-STM-ParamAFT.R
      SAS 06_1-STM-paramAFT.sas
  6.2 Signal Tandmobiel R 06_2-STM-PenalGaussMixAFT.R
  6.3 Breast cancer SAS 06_3-BreastCancer-SNPAFT.sas
  6.4 Not applicable SAS 06_4-SampleSize_NewBreast Cancer.sas
7 7.1 AIDS Clinical Trial R 07_1-ACTG181-MLEcens.R
      SAS 07_1-ACTG181-BivNPMLE.sas
  7.2 Signal Tandmobiel R 07_2-STM-BivLognormal.R
      SAS 07_2-STM-ParamBiv.sas
  7.3 Signal Tandmobiel SAS 07_3-STM-BivPNM.sas
  7.4 Signal Tandmobiel R 07_4-STM-copula.R
  7.5 Signal Tandmobiel R

07_5-STM-association.R

07_05-STM-PlotLCR.R

8 8.1 Mastitis R 08_1-Mastitis-frailty.R
      SAS 08_1-Mastitis-frailty.sas
  8.2 Signal Tandmobiel SAS 08_2-STM-IWM.sas
  8.3 Signal Tandmobiel R 08_3-STM-ICbiplot.R
  8.4 Mobile phone R 08_4-Mobile.zip
9 9.2 Not applicable R + BUGS

09_2-Toy_BUGS-LogN.R

Toy_BUGS-LogN.txt

  9.3 Not applicable R+JAGS 09_3-Toy_JAGS-LogN.R
  9.4 Homograft R+BUGS

09_4-Homograft-Bayes_ParamAFT.R

Homograft-Bayes_ParamAFT_LogL.txt

Homograft-Bayes_ParamAFT_LogN.txt

Homograft-Bayes_ParamAFT_Weib.txt

 

    Homograft SAS 09_4-Homograft-Bayes_AFT.sas
  9.5 Homograft R 09_5-Homograft-Bayes_NPKM.R
  9.6 Homograft R+BUGS

09_6-Homograft-Bayes_SemipPH.R

Homograft-Bayes_SemipPH_1covar.txt

Homograft-Bayes_SemipPH_moreCovar.txt

10 10.1 Signal Tandmobiel R 10_1-STM-Bayes_ParamSurv.R
      SAS 10_1-STM-Bayes_param.sas
  10.2 Signal Tandmobiel R 10_2-STM-Bayes_ClassGaussMix.R
  10.3 Breast cancer R 10_3-BreastCancer-Bayes_NPSurv.R
  10.4 Signal Tandmobiel R 10_4-STM-Bayes_DPmixture.R
11 11.1 Breast cancer R 11_1-BreastCancer-Bayes_Weibull_PH.R
      SAS 11_1-BreastCancer_bayesian_PH.sas
  11.2 Breast cancer R 11_2-BreastCancer-Bayes_smoothPH_ICBayes.R
  11.3 Signal Tandmobiel R 11_3-STM-Bayes_smoothPH_dynsurv.R
12 12.1 Signal Tandmobiel R

12_1-STM-Bayes_LogLogist_AFT.R

12_1-STM-Bayes_LogNorm_AFT.R

12_1-STM-Bayes_Weibull_AFT.R

      SAS 12_1-STM-Bayes_paramAFT.sas
  12.2 Signal Tandmobiel R 12_2-STM-Bayes_CGM_AFT.R
  12.3 Signal Tandmobiel R 12_3-STM-Bayes_PGM_AFT.R
  12.4 Signal Tandmobiel R 12_4-STM-Bayes_MDP_AFT.R
13 13.1 Mastistis R+ JAGS 

13_1-Mastitis-AFT_PH_Frailty.R

      SAS 13_1-Mastitis-frailty.sas
  13.2 Signal Tandmobiel R

13_2-STM-AFT_RandIntcpt_PGM.R

  13.3 Signal Tandmobiel R + JAGS

13_3-STM-Bivariate_Param.R

      SAS 13_3-STM-biv_LogNormal.sas
  13.4 Signal Tandmobiel R

13_4-STM-Bivar_PGM.R

  13.5 Signal Tandmobiel R

13_5-STM-Bivar_PoissDirichl.R

  13.6 Mobile phone purchases R +  JAGS

13_6-Mobile-DI_Lognormal.R

  13.7 Mobile phone purchases R

13_7-Mobile-PGM_DI.R

  13.8 Mobile phone purchases R

13_8-Mobile-Dirichl_DI.R

 

Some additional programs from other authors mentioned in the book but not discussed in detail can be downloaded here.

Errata

Although the manuscript was carefully prepared, some misprints and minor mistakes were still found after publication. The current list of errors can be found here (last updated on 08/03/2019).

  • Last modified 08-03-2019