Under the development strategy of "new economy and management", many financial institutions focus on the deep integration of the new generation of information technology and education and teaching, and information technology teaching has been paid attention to. The new training program requires students to be able to analyze large-scale data and have strong data analysis ability on the basis of mastering a programming language. The establishment of cases in line with the integration of theoretical teaching and programming teaching can cultivate students' interest in learning statistics and improve the teaching quality of statistics. In this paper, the experimental teaching is divided into three parts: The first part is to familiarize students with basic commands.The second part is to simplify the calculation. The third part is to let students understand the basic theory of statistics, which not only helps students improve Gauss programming ability, but also helps students understand the depth and breadth of statistical knowledge.