Objective. The study aimed to explore the risk factors of infections after enterostomy through the information data analysis method based on a mathematical model. Methods. 156 cases of enterostomy patients admitted to the hospital were retrospectively selected as the study subjects and were divided into the infection group (17 cases) and normal group (139 cases) according to whether they were complicated with infections. Then, the factors of infection and related indexes before and after surgery were analyzed, and the data of the whole hospital were estimated by mathematical modelling. Results. The length of hospital stay in the infection group was 21 ± 11.2 days, which is longer than 10.1 ± 7.1 days in the normal group (
P
< 0.05). The incidence of anastomotic fistula in the infection group was 14%, which is higher than 2% in the normal group. The mortality rate of infection group (44%) was higher than that of normal group (5%). In the infection group, the incidence of single-cavity stoma (69%) was higher than that of double-cavity stoma (31%), the nosocomial infection rate (11%) was significantly higher compared with out of hospital (2%), and there were significant differences (
P
< 0.05). Conclusions. Patients with malnutrition and hypoproteinemia before enterostomy, the use of gastric tube and ventilator in the treatment, single lumen stomy in the operation, and the occurrence of anastomotic fistula were more likely to have concurrent infections.