[Paper Review] Expanding the scope of statistical computing: Training statisticians to be software engineers
This paper proposes a graduate-level statistical computing course that trains statisticians in software engineering practices—focusing on programming practices, software design, algorithms and data structures, and essential tools—through hands-on code review, revision, and a semester-long software project. The course successfully equips students with the skills to build and maintain complex statistical software, such as R packages and production-grade systems, addressing a critical gap in traditional statistics curricula.
Traditionally, statistical computing courses have taught the syntax of a particular programming language or specific statistical computation methods. Since the publication of Nolan and Temple Lang (2010), we have seen a greater emphasis on data wrangling, reproducible research, and visualization. This shift better prepares students for careers working with complex datasets and producing analyses for multiple audiences. But, we argue, statisticians are now often called upon to develop statistical software, not just analyses, such as R packages implementing new analysis methods or machine learning systems integrated into commercial products. This demands different skills. We describe a graduate course that we developed to meet this need by focusing on four themes: programming practices; software design; important algorithms and data structures; and essential tools and methods. Through code review and revision, and a semester-long software project, students practice all the skills of software engineering. The course allows students to expand their understanding of computing as applied to statistical problems while building expertise in the kind of software development that is increasingly the province of the working statistician. We see this as a model for the future evolution of the computing curriculum in statistics and data science.
Motivation & Objective
- To address the growing need for statisticians to develop and maintain complex statistical software, not just perform one-off analyses.
- To bridge the gap between traditional statistical computing courses and the software engineering demands of modern data science and statistical research.
- To equip statistics graduate students with essential software engineering skills—such as version control, testing, and scalable design—through a project-based, feedback-rich curriculum.
- To create a model curriculum that integrates software engineering principles into statistics and data science education, tailored to the needs of future practitioners and researchers.
Proposed method
- The course is structured around four core themes: programming practices, software design, algorithms and data structures, and essential tools and methods.
- Students engage in regular code review and revision to internalize best practices in software development.
- A semester-long software project allows students to apply all course concepts in building a complex, maintainable statistical software system.
- The course uses a flexible, mastery-based grading system with no fixed deadlines, allowing students to choose assignments based on interest and difficulty.
- Active learning techniques and in-class activities are used to enhance engagement and deepen understanding of abstract concepts.
- Teaching assistants with strong programming experience provide targeted feedback, and course materials are publicly available for replication.
Experimental results
Research questions
- RQ1How can statistics graduate programs better prepare students to develop and maintain complex statistical software systems?
- RQ2What pedagogical strategies are most effective for teaching software engineering skills to statisticians with limited prior software development experience?
- RQ3How does integrating software engineering principles into statistical computing education impact student learning, engagement, and project outcomes?
- RQ4What challenges arise in implementing a flexible, project-based software engineering curriculum within a statistics graduate program?
Key findings
- Students reported spending an average of 11 hours per week on the course, exceeding the intended 9 hours, indicating a rigorous and conceptually demanding workload.
- Despite the heavy workload, students appreciated the interactive and flexible nature of the course, particularly the ability to choose assignments based on interest and skill level.
- The course’s flexible homework system led to challenges with time management, with some students procrastinating and rushing to complete assignments before the end of the term.
- Version control with Git posed a significant challenge, as students often created tangled histories through ad-hoc fixes, requiring instructor and TA intervention to resolve.
- The course’s emphasis on real-world software engineering practices significantly enhanced students’ ability to build maintainable, scalable statistical software.
- The course has become a foundational component of the M.S. in Statistical Practice and Ph.D. in Statistics & Data Science at Carnegie Mellon University, with strong student engagement and feedback.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.