Public Health Data Science and Data Equity at Yale
AI Tools for Data Science and Statistics
Erik Westlund · Johns Hopkins Bloomberg School of Public Health · Graduate · Class size: 10–40 students
Last offered Fall 2026
Course Description
A hands-on course in using AI tools to do applied data science and statistics well. This course teaches structured, repeatable AI-assisted workflows for:
coding
data cleaning
debugging
data visualization
statistical modeling
data simulation
writing documentation
pipeline development.
We cover:
how large language models work and where they fail
choosing among chatbots, coding agents, and models based on cost, speed, reasoning
cloud versus local LLM tradeoffs
managing context with context files, skill files, and agent configurations
organizing projects for reproducibility
critically verifying AI-generated code and output
A central theme is responsible use with sensitive or regulated data. Students learn privacy-aware workflows where AI tools can be used to help conduct analyses while being prevented from ever being able to "see" data.
Problem sets cover AI-assisted data visualization and statistical modeling with diagnostics and verification. Exercises use R, but the concepts are relevant to any statistical language.
I also teach a short workshop version of this course, most recently for the Public Health Data Science and Data Equity series, hosted by the Yale School of Public Health.
Offerings
Fall 2026
Public Health Data Science and Data Equity at Yale · Yale School of Public Health
Summer 2026
Johns Hopkins Bloomberg School of Public Health
Q3 2026
Johns Hopkins Bloomberg School of Public Health