Latent class growth mixed model (LCGMM) was used to identify different BMI trajectories.  Three distinct trajectories were characterized by LCGMM, comprising of low-increasing group (n=5136), medium-increasing group (n=1914), and high-increasing group (n=239). 
LCGMM
Cox proportional hazard models were used to investigate the association between the trajectory group membership and incident hyperglycemia, adjusting for covariates. 
Cox proportional hazard models
Logistic regression analyses were used to examine the association of model-estimated levels and slopes of BMI at each age point with incident hyperglycemia.  Prior to the logistic regression analyses, quartiles of total, baseline, and incremental AUC values were calculated.



Logistic regression analyses