Pearson's correlation coefficient was used to determine the correlation between two quantitative variables: PSQI index and HbA1c (or blood glucose level at cross time, or oscillation of blood glucose among 1 month).