With the advent of the era of artificial intelligence, data analysis has attracted wide attention from all walks of life. The computer language programming method is used to complete the data analysis work, which is not only highly efficient, but also has high reliability of the data analysis results, and has multiple uses. In the data‐driven mode, whether it is product design and development or project management, strong data analysis is required to provide support .The data source of this project is from the World Health Organization, which includes the number of suicides and total number of people in 141 countries from 1979 to 2016 in all ages. Panel data, etc.Analyze the correlation between univariate and multivariate for several of the parameter variables, and mine the associated factors, so as to analyze the suicide rate of countries around the world.