ANALYSIS OF UNBALANCED MULTI-OUTCOME LONGITUDINAL DATA USING QUASI-LEAST SQUARES IN SAS

Hanjoo Kim, University of Pennsylvania School of Medicine
Justine Shults, Univeristy of Pennsylvania Department of Biostatistics

Abstract

Many studies consider multiple outcomes that are measured on subjects over time. This manuscript describes our user-written SAS macro, QLS version 2, which can be used to analyze longitudinal data for multiple outcomes in the framework of generalized estimating equations (GEE) via application of quasi-least squares (QLS). A special feature of our software is that it can handle unbalanced data, which result when study investigators planned for an equal number of measurements to be collected on several outcomes on each participant, but some measurements were missed on some subjects. For unbalanced data, the working correlation structure for subjects with missing measurements is represented by a sub-matrix of a larger Kronecker product structure that describes the pattern of association among measurements on subjects with complete data. QLS version 2 is an extended version of our previous macro QLS version 1 for implementing QLS for a single outcome that can be downloaded from \url{http://www.cceb.upenn.edu/~sratclif/QLSproject.html}. QLS version 2 can implement various working correlations structures including the first-order autoregressive (AR(1)); exchangeable; Markov; and tri-diagonal structures for single outcomes; and an additional four correlation structures that are formed by taking Kronecker products between the exchangeable structure and the AR1, exchangeable, Markov, or tri-diagonal structures for multiple outcomes.