In-Class Data Analysis Replications: Teaching Students While Testing Science

Kristina Gligorić, Tiziano Piccardi, Jake M. Hofman, Robert West

Introduction

The scientific community is currently grappling with a "reproducibility crisis," where a significant portion of published findings cannot be independently verified. A primary driver of this crisis is an incentive gap: professional researchers are rewarded for novel discoveries, while the time-consuming work of replication offers little professional recognition. This paper explores a potential "double-win" solution: integrating data analysis replications into large-scale university classrooms. By transforming the classroom into a "distributed laboratory," educators can provide students with rigorous training while simultaneously benchmarking the state of science.

The EPFL Case Study: Methods and Pipeline

The study was conducted within the Applied Data Analysis (ADA) course at EPFL, involving 354 students. To manage the complexity of replicating diverse scientific papers, the researchers implemented a structured five-step pipeline designed to guide students from initial interest to creative extension.

The five-step replication pipeline and survey schedule used in the CS-401 course.

The pipeline consists of the following stages:

  1. Bidding: Students ranked 10 pre-selected papers based on their interests.
  2. Reading: Students summarized their assigned paper and completed a pre-survey regarding their expectations of the replication process.
  3. Basic Replication: Individuals replicated a primary figure or table, focusing on fundamental data skills like counting or basic hypothesis testing.
  4. Advanced Replication: In groups, students tackled more complex figures involving regressions or network analysis.
  5. Creative Extension: Finally, groups proposed and executed a novel analysis building upon the replicated work.

The researchers used surveys at multiple points (as shown in the figure) to track how student perceptions evolved. To evaluate the quality of the "Creative Extensions," the authors used GPT-4 to code and compare project descriptions from the replication-based cohort (2020) against a subsequent year (2021) where students performed unconstrained, traditional projects.

Key Insights: Expectation vs. Reality

The study revealed a "Laborious but Not Hard" paradox. Students initially overestimated the technical difficulty of "data wrangling" but significantly underestimated the total time required. Replication was found to be iterative and time-intensive rather than mathematically insurmountable.

Furthermore, the experience had a "spillover effect" on student skepticism. After attempting a replication, students' skepticism increased across the board—even for papers they had not personally worked on. Their estimates for how long a replication would take increased by an average of two hours after completing the assignment.

Impact on Project Quality and Scientific Benchmarking

One of the most significant findings was the improvement in project quality. By "standing on the shoulders" of existing work rather than starting from scratch, students produced more methodologically rigorous extensions. Replication-based projects were significantly more likely to utilize advanced methods like causal inference (9.57% vs. 0.88% in unconstrained projects) and were rated as more "scientifically relevant" (15.65% vs. 5.26%).

From a scientific perspective, the student replications served as a diagnostic tool for the field. The most common reason for replication failure was not a lack of student skill, but "Poor Description" in the original papers (60% of cases). Missing parameters, vague preprocessing steps, and inconsistent data releases were identified as the primary barriers to reproducibility.

Educational and Scientific Implications

While successful, this approach requires substantial educational overhead. The researchers noted that two TAs were required to work half-time just to coordinate projects and provide paper-specific support.

However, the benefits are clear. Incorporating replication tasks into a large data science class can increase the reproducibility of scientific work as a direct by-product of instruction. The authors advocate for a shift toward an "auditing paradigm," where classrooms are systematically used to evaluate random samples of published findings, supported by better tools like software containers to standardize computing environments.

Conclusion

This study demonstrates that classroom-based replications offer a viable path toward addressing the reproducibility crisis. By aligning educational goals with scientific needs, universities can train a new generation of skeptical, methodologically sound data scientists while providing the scientific community with much-needed verification of published results.

Summary updated

BibTeX
@article{gligoric2024class,
  author = {Kristina Gligorić and Tiziano Piccardi and Jake M. Hofman and Robert West},
  title = {{In-Class Data Analysis Replications: Teaching Students While Testing Science}},
  journal = {Harvard Data Science Review},
  year = {2024},
  doi = {10.1162/99608f92.f9720d1f},
}
Figure