Recently, in a series of papers, a method based on pseudo-values has been proposed for direct regression modeling of the survival function, the restricted mean and cumulative incidence function with right censored data. The models, once the pseudovalues have been computed, can be fit using standard generalized estimating equation software. Here we present SAS macros and R functions to compute these pseudo-values. We illustrate the use of these routines and show how to obtain regression estimates for a study of bone marrow transplant patients. Key words and phrases: Cumulative incidence; GEE; Kaplan-Meier Curves; Pseudovalues; Restricted mean survival.
John P. Klein, Mette Gerster, Per Kragh Andersen,