The odds ratios of type 2 diabetes from restricted cubic spline models. Abbreviation: SHBG, sex hormone binding globulin. Restricted cubic spline models with the inclusion of transformed variables in the conditional logistic regression models (with knots at the 33.3th and 67.7th percentiles) were used to estimate odds ratios (solid curve) with pointwise 95% confidence limits (dashed curves). The median value (Table3) in the lowest quartile of each variable was used to estimate odds ratios. Adjustment was performed for matched strata, smoking status, physical activity, history of hypertension, family history of diabetes, alcohol use, menopausal status (women only), BMI, and the fatty liver index (quartiles). Panel A shows the results for total testosterone levels among men. Panel B shows the results for total testosterone levels among women. Panel C shows the results for SHBG levels among men. Panel D shows the results for SHBG levels among women.