A SAS macro for a clustered logrank test
Margaret R Stedman1, David R Gagnon, Robert A Lew
1Harvard Medical School, Boston, MA, United States. mstedman2@partners.org
Abstract:
The clustered logrank test is a nonparametric method of significance testing for correlated survival data. Examples of its application include cluster randomized trials where groups of patients rather than individuals are randomized to either a treatment or a control intervention. We describe a SAS macro that implements the 2-sample clustered logrank test for data where the entire cluster is randomized to the same treatment group. We discuss the theory and applications behind this test as well as details of the SAS code.
Related Concept Videos
The Mantel-Cox Log-Rank Test
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...
Comparing the Survival Analysis of Two or More Groups
Friedman Two-way Analysis of Variance by Ranks
Wald-Wolfowitz Runs Test II
For binary data, runs are identified using symbols such as + and −, or equivalently, 1s and 0s. In...
Wilcoxon Rank-Sum Test


