APOB and diabetes mellitus: And ApoA1, as a categorical variable, remained strongly associated with osteoporosis when adjusted for age, sex, race, hypertension, diabetes, gout, hypotensive drugs, hypoglycemic drugs, SBP, TC, LDL-C, HDL-C, ApoB, BUN, albumin, uric acid, HbA1c, ALP, and total calcium (Model 3, OR: 1.712, 95% CI: 1.183–2.478, P = 0.004).