Related Experiment Video
Updated: Jul 8, 2026

An R-Based Landscape Validation of a Competing Risk Model
Published on: September 16, 2022
SAS and R functions to compute pseudo-values for censored data regression
John P Klein1, Mette Gerster, Per Kragh Andersen
1Division of Biostatistics, Department of Population Health, Medical College of Wisconsin, 8701 Watertown Plank Road, Milwaukee, WI 53226, USA. klein@mcw.edu
This study introduces user-friendly SAS macros and R functions for calculating pseudo-values. These tools enable direct regression modeling of survival data, crucial for analyzing censored outcomes in medical research.
Area of Science:
- Biostatistics
- Survival Analysis
- Medical Informatics
Background:
- Direct regression modeling of survival data, including the survival function, restricted mean, and cumulative incidence function, is essential for analyzing right-censored outcomes.
- Existing methods often require complex statistical techniques or specialized software.
- Pseudo-value-based approaches offer a promising alternative for direct modeling.
Purpose of the Study:
- To present user-friendly SAS macros and R functions for computing pseudo-values.
- To facilitate direct regression modeling of survival functions, restricted mean, and cumulative incidence functions using standard generalized estimating equation software.
- To demonstrate the application of these tools in a bone marrow transplant patient study.
Main Methods:
- Development and implementation of SAS macros and R functions to compute pseudo-values from right-censored survival data.
- Utilizing generalized estimating equation (GEE) software for fitting regression models after pseudo-value computation.
- Application of the developed routines to a real-world dataset from bone marrow transplant patients.
Main Results:
- The provided SAS macros and R functions successfully compute pseudo-values.
- Regression estimates for survival analysis can be readily obtained using standard GEE software with the computed pseudo-values.
- The methodology is effectively illustrated using data from a bone marrow transplant study.
Conclusions:
- The developed SAS macros and R functions provide accessible tools for pseudo-value computation.
- This approach simplifies direct regression modeling of survival outcomes with right-censored data.
- The routines are practical for researchers in biostatistics and clinical epidemiology, particularly those analyzing transplant data.
Related Concept Videos
Censoring Survival Data
Statistical Analysis System (SAS)
Applications: SAS finds applications in numerous fields, including healthcare for clinical trial analysis, finance for risk assessment, marketing for customer data analysis, and...
Parametric Survival Analysis: Weibull and Exponential Methods
Weibull Distribution
The Weibull distribution is a flexible model used in parametric survival analysis. It can handle both increasing and decreasing hazard rates, depending on its shape parameter...
Residuals and Least-Squares Property
If the observed data point lies above the line, the residual is positive, and the line underestimates the actual data value for y. If the observed data point lies below the line, the residual is negative, and the line overestimates the actual data value for y.
The process of fitting the best-fit...
Survival Tree
Building a Survival Tree
Constructing a survival tree begins...
Assumptions of Survival Analysis

