Multivariate logistic regression identified peritonitis (OR = 95.635), IL-6 (OR = 1.001), and portal venous gas (OR = 22.551) as independent risk factors for early surgery in NEC (P < 0.05). The gene discussed is IL6; the disease is peritonitis.