Abstract
The undergraduate data science curriculum at the University of California, Berkeley is anchored in five new courses that emphasize computational thinking, inferential thinking, and the perspective gained by working on real-world problems. We believe that interleaving these elements within our core courses is essential to preparing students to engage in data-driven inquiry at the scale that contemporary scientific and industrial applications demand. This new curriculum is already reshaping the undergraduate experience at Berkeley, where these courses have become some of the most popular on campus and have led to a surging interest in a new undergraduate major and minor program in data science.
Introduction: Beyond the "Mash-up" Curriculum
Traditional undergraduate paths often force students to choose between the "builder" spirit of Computer Science—focused on abstraction and efficiency—and the "collaborator" spirit of Statistics—focused on uncertainty and populations. Historically, institutions have attempted to bridge this gap with a "mash-up" curriculum, where students simply take existing introductory classes from both departments.
However, this approach often fails because the disciplines remain disjointed. Students struggle to see how a Python loop relates to a p-value, or how algorithmic choices impact social justice. At UC Berkeley, we have implemented a "thoroughgoing redesign" that treats these elements as a single, unified way of thinking. This paper outlines the pedagogical shift toward a deep "interleaving" of computational and inferential thinking, grounded in real-world social contexts.
Pedagogical Innovations
The curriculum is built on a "backbone" of five core courses, utilizing several novel pedagogical strategies designed to scale data science education to thousands of students across dozens of majors.
Interleaving and Simulation-Based Inference
Concepts are taught through their dual nature. For example, a "permutation test" is not presented as a purely statistical concept; it is taught by writing Python code to shuffle data, making the logic of "chance" visible and experimental. By replacing traditional formula-heavy statistics with simulation-based computing, students use the computer to "see" sampling variability through techniques like the bootstrap and randomization. This approach moves away from the "horrors of asymptotics" and toward an intuitive, code-first understanding of inference.
Real-World Vignettes
Every technical lesson is anchored in a "vignette"—a real-world problem that provides immediate context. Rather than using toy datasets, students engage with high-stakes data, including:
- ACLU Jury Pool Study (2010): Used to teach permutation tests and identify systemic bias.
- Twitter Data: Analyzing Russian bot activity to understand digital influence.
- NYC Taxi Data: Predicting ride durations to explore regression and modeling.
- COVID-19 Data: Real-time epidemiological modeling during the pandemic.
Connector Courses and Infrastructure
To support students from diverse academic backgrounds, we utilize "Connector Courses." These are 2-unit satellite courses where students apply what they learn in the main "Foundations" class (Data 8) to specific fields like History, Physics, or Cognitive Science. To remove technical barriers, all students work in a standardized, browser-based Jupyter Notebook environment, eliminating the "it doesn't work on my laptop" hurdle.
Ethics as a Core Pillar
In this curriculum, human context and ethics (Data 104) are treated as a foundational "leg" of the stool rather than an elective. By using datasets like the Pima Indians Diabetes set, students discuss data governance and structural inequity as part of their core technical training. We have found that "research frontier" topics, such as Differential Privacy or Online False Discovery Rate control, are often easier to motivate for undergraduates than classical 20th-century concepts because they were designed for the modern, computer-centric world.
Results and Impact
The program has achieved massive scale and significant cross-campus adoption:
- Massive Scale: Data 8 enrolls nearly 3,000 students annually, with roughly 50% of all Berkeley undergraduates expected to take it before graduation.
- Diversity: The program has successfully attracted a diverse cohort, with 52% female enrollment in Data 8 and 11% from underrepresented groups.
- Institutional Integration: The curriculum now fulfills the statistics requirement for 25 different major programs, ranging from Civil Engineering to Legal Studies.
- Upper-Division Growth: Data 100 has become the largest upper-division course on campus, with over 2,500 students.
Limitations and Future Work
While successful at Berkeley, we acknowledge that our students may have higher prior preparation than the general population; other institutions might need to spread the "Data 8" content over two semesters. Additionally, operating a hosted Jupyter environment for thousands of students requires significant investment in cloud infrastructure. Finally, we suggest that true "intellectual maturity" in data science—the ability to handle the nuances of abstraction and modeling—takes time, potentially requiring a project-based "5th year" program to fully mature.
Summary updated