Adjusted for age and sex , baseline HDL-C , apoA-I , and HDL-C/apoA-I were inversely associated with HOMA-IR ( r = -0.233 , -0.134 , and -0.230 ; all P < 0.001 ; n = 8,271 ) but not related to HbA1c ( all P > 0.05 ; n = 9,795 ) .