Online Program Home
My Program

Abstract Details

Activity Number: 84 - SPEED: A Mixture of Topics in Health, Computing, and Imaging
Type: Contributed
Date/Time: Sunday, July 29, 2018 : 4:00 PM to 4:45 PM
Sponsor: Section for Statistical Programmers and Analysts
Abstract #332834
Title: Creating Counting Process Intervals with Ease
Author(s): Cynthia Crowson* and Terry M Therneau and Elizabeth J Atkinson
Companies: Mayo Clinic and Mayo Clinic and Mayo Clinic
Keywords: counting process; time-dependent; multi-state

A common task in time-to-event analysis is the creation of multiple start/stop intervals for each subject, along with the covariate values that apply over that interval. There are a lot of ways to program this incorrectly, so tools and procedures for the task are important. We introduce the function 'tmerge' in the 'survival' package in R, which is based on the idea of sequential insertion. It aids in the creation of the data sets needed for analysis of time-dependent covariates, multiple outcomes per subject, competing risks and multistate models. The 'tmerge' function is very flexible and greatly reduces the effort usually expended to create these data sets. In addition, it is a useful tool for examining data checks related to date ordering. Examples involving several different contexts for use of the function will be discussed.

Authors who are presenting talks have a * after their name.

Back to the full JSM 2018 program