Plotting growth curves is a powerful graphical approach used in exploratory data analysis for continuous longitudinal data. However, plotting growth curves for multiple participants rapidly becomes uninterpretable with categorical data. Categorical data defines specific states (e.g. being single, married, divorced). And these states do not necessarily need to represent any hierarchical order. Thus a trajectory becomes a sequence of states rather than a continuum. We introduce a horizontal line plot that uses shade or color to differentiate between states on a categorical longitudinal variable for multiple participants. With appropriate sorting, stacking the horizontal lines representing each participant can reveal important patterns such as the shape of, or heterogeneity in, the trajectories. We illustrate the plotting techniques for large sample sizes, observed groups, the exploration of unobserved latent classes, large numbers of time points such as are found with intensive longitudinal designs or multivariate time series data, individually varying times observation, unique numbers of observations, and missing data. We used the R package longCatEDA to create the illustrations. Illustrative data include both simulated data and alcohol consumption data in adult schizophrenics from the Clinical Antipsychotic Trials of Intervention Effectiveness.
Visualization of categorical longitudinal and times series data
By Stephen Tueller, Richard Van Dorn, Georgiy Bobashev.
February 2016 Open Access Peer Reviewed
© 2021 RTI International. This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.