Cox proportional hazard models with robust estimator were fit to examine the association between the TyG index and the incidence of T2DM in three models which included different potential covariates of sex, age, ethanol consumption, fatty liver, BMI, waist circumference, the habit of exercise, gamma-glutamyl transferase (GGT), alanine aminotransferase (ALT), aspartate aminotransferase (AST), high-density lipoprotein cholesterol (HDL-C), total cholesterol (TC), smoking status, systolic blood pressure (SBP), and diastolic blood pressure (DBP). Here, GPT is linked to type 2 diabetes mellitus.