In this study, predictors were screened through LASSO logistic analysis, and a prediction model for the risk of acute respiratory failure in elderly patients with hip fracture was constructed based on 7 variables, including age, height, albumin, chloride, pneumonia, AKI, and heparin. This evidence concerns the gene ALB and acute kidney injury.