To characterize how sleep groups differed across sleep characteristics, we used chi-square for categorical variables and Kruskal–Wallis tests for Likert-scale variables [median (Q1–Q3) reported]. Post hoc pairwise group differences at unadjusted P < 0.05 were reported.
Three sensitivity analyses were conducted to investigate the consistency of sleep group assignments and to examine whether between sleep group patterns in our outcomes were stable across different sample selection criteria. Alternative 1: we used LPA to characterize sleep subgroups (‘Mclust’ package in R). Briefly, LPA was a data-driven approach using continuous variables and indicators to identify subgroups of individuals. In this statistical approach, subgroup membership was determined by examining the pattern of interrelationships among indicator variables (maximizing homogeneity within each subgroup and heterogeneity between subgroups).66 Alternative 2 (cognitively unimpaired subset only): we reduced the original set to include only those who were cognitively unimpaired (n = 21 with mild cognitive impairment were removed; leaving n = 598), and K-means cluster analysis was used in this subset. Alternative 3 (expanded set with imputed ISI): as previously noted, the primary cluster analysis was based on the first visit with MOS, ESS and ISI. Since the MOS and ESS questionnaires were added to the battery several years before the ISI, we opted to enlarge ‘baseline sleep’ in sensitivity analyses to include those who had not yet completed an ISI but had completed MOS and ESS at least once. The imputation method used the sleep data on a person both before and after the ‘missing value’. The next observation carried backward assigned the person’s next known sleep score after the ‘missing’ one to the ‘missing value’. If the person did not have the next value, the last observation carried forward, assigned the person’s last previous known sleep score to the ‘missing value’, was used.67 (link) The resulting enlarged set included n = 1237 available.