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. The gene discussed is ALB; the disease is acute respiratory failure.