INS and diabetes mellitus: This study investigated changes in the risk of diabetes and the trajectory of β-cell function and insulin sensitivity during the pre-, peri-, and postmenopausal periods using longitudinal data collected over 16 years, considering the timing of incident diabetes and confounding variables.