Skip to content
National Cancer Institute National Cancer Institute U.S. National Institutes of Health
Division of Cancer Prevention logo
Home Site Map Contact DCP
Programs & Resources

Biometry Research Group

Statistical Software

Discussion of Double Sampling for Survival Analysis

(written by Stuart G. Baker)

These programs are related to the discussion article "Discussion of Double Sampling for Survival Analysis" to appear in Biometrics following the manuscript by Frangakis and Rubin (FR). Most of the software is based on the model in Baker, Wax, and Patterson (1993) (BWP)

The program requires Mathematica Exit Disclaimer.

The first step is to load composite linear model software into a directory called clm.

Then download the following files.

To reproduce calculations in the manuscript, type


For a hypothetical example with time-varying administrative censoring type



Download All (zip 20kb)

File name / sizeDescription
double.m (m, 8kb) main program for discussion (loads all others)
doublev.m (m, 6kb) main program for extension to time-varying administrative censoring
exbwpg.m (m, 7kb) generate hypothetical data
exbwp.m (m, 8kb) BWP for full data
exbwpr.m (m, 9kb) BWP for reduced data
exbwpf.m (m, 8kb) BWP for full follow-up only
exbwpfr.m (m, 6kb) FR method for simple example
exbwpv.m (m, 10kb) BWP for administrative censoring at time 3 for full data
exbwpvr.m (m, 10kb) BWP for administrative censoring at time 3 for reduced data


Baker SB, Wax Y, Patterson B. Regression analysis of grouped survival data:informative censoring and double sampling. Biometrics, 1993;49:379-389.

Frangakis CE, Rubin DB.A note on addressing an idiosyncrasy in estimating survivalcurves using double sampling in the presence ofself-selected right censoring. Biometrics, 2001, In press.

Back to top