The results of Pearson correlation analyses showed AIP was positively and significantly correlated with TC (r = 0.092, P < 0.001), TG (r = 0.775, P = 0.015), APOB (r = 0.140, P < 0.001), non-HDL-C (r = 0.295, P < 0.001), TC/HDL-C (r = 0.626, P < 0.001), LDL-C/HDL-C (r = 0.469, P < 0.001), AI (r = 0.626, P < 0.001), LCI (r = 0.665, P < 0.001), APOB/APOA-1(r = 0.290, P < 0.001) and was negatively correlated with APOA-1 (r = − 0.278, P < 0.001) and HDL-C (r = − 0.665, P < 0.001). This evidence concerns the gene APOA1 and autoimmune pancreatitis.