SAS macro program for non-homogeneous Markov process in modeling multi-state disease progression
Related Experiment Video
Updated: Aug 23, 2026

A Method of Trigonometric Modelling of Seasonal Variation Demonstrated with Multiple Sclerosis Relapse Data
Published on: December 9, 2015
Wu Hui-Min1, Yen Ming-Fang, Tony Hsiu-Hsi Chen
1College of Public Health, Institute of Epidemiology, National Taiwan University, Taipei, Taiwan.
Abstract:
Writing a computer program for modeling multi-state disease process for cancer or chronic disease is often an arduous and time-consuming task. We have developed a SAS macro program for estimating the transition parameters in such models using SAS IML. The program is very flexible and enables the user to specify homogeneous and non-homogeneous (i.e. Weibull distribution, log-logistic, etc.) Markov models, incorporate covariates using the proportional hazards form, derive transition probabilities, formulate the likelihood function, and calculate the maximum likelihood estimate (MLE) and 95% confidence interval within a SAS subroutine. The program was successfully applied to an example of a three-state disease model for the progression of colorectal cancer from normal (disease free), to adenoma (pre-invasive disease), and finally to invasive carcinoma, with or without adjusting for covariates. This macro program can be generalized to other k-state models with s covariates.
More Related Videos
06:49A Quick Phenotypic Neurological Scoring System for Evaluating Disease Progression in the SOD1-G93A Mouse Model of ALS
Published on: October 6, 2015
06:55Inverse Probability of Treatment Weighting (Propensity Score) using the Military Health System Data Repository and National Death Index
Published on: January 8, 2020
Related Concept Videos
Introduction To Survival Analysis
The primary goal of survival analysis is to estimate survival time—the time until a...
Steps in Outbreak Investigation
Kaplan-Meier Approach
Assumptions of Survival Analysis
Mechanistic Models: Compartment Models in Individual and Population Analysis
Comparing the Survival Analysis of Two or More Groups