AIP and atrial fibrillation: The associations between the TyG index, AIP, and AF risk were analyzed using multivariate logistic regression, stratified subgroup analyses, and restricted cubic spline regression.