
You know how to run a regression in Stata. This course is about what comes after that.
Most real questions are causal: did the policy work, does the treatment help, what would have happened otherwise? A regression coefficient doesn't answer them by itself. In this course you'll learn the methods that do, when to use each one, and how to check whether the answer holds up. Then we'll add the tools that have changed how analysts work in the last few years: machine learning, Python and AI assistants, all from inside Stata.
Every video follows the same pattern. A few slides explain the idea in plain language, then we go into Stata and work through a real example, command by command, and I show you how to read the output. The emphasis is on interpretation: what does this number mean, and what would you write in your report?
What's in the course
A modern Stata workflow. Reproducible projects, frames, survey data, missing data and multiple imputation.
Publication-ready tables, graphs and reports. Table 1 with dtable, regression tables with etable, custom tables with collect, Word and Excel output with putdocx and putexcel, automated reports with dyndoc, and graphs that are ready for a journal.
Advanced categorical models. Marginal effects in depth, interactions in non-linear models, ordered and multinomial outcomes, and choice models with conditional and nested logit.
The causal inference toolkit. Potential outcomes, regression adjustment, inverse probability weighting, doubly robust estimators, matching, regression discontinuity, instrumental variables, extended regression models, event studies, staggered difference-in-differences, the wild bootstrap, mediation, heterogeneous treatment effects and sensitivity checks.
Multilevel models. Nested data, the intraclass correlation, random intercepts and slopes, three-level models and multilevel logit.
Machine learning in Stata. Prediction versus inference, lasso and elastic net, lasso for inference, classification, random forests and gradient boosting, and how to explain what a model has learned.
Python inside Stata. Running Python from a do-file, moving data both ways, pandas, scikit-learn and Jupyter.
AI-assisted analysis. What AI can and can't do for a Stata user, prompting, debugging, validating results, documenting and translating code, and AI agents.
What you get
55 focused videos, about seven hours in total
A do-file for every demonstration, so you can run everything yourself
A one-page cheat sheet for each section
A practice exercise for each section, on a different dataset from the videos, with a full solution
A quiz at the end of each section
All examples use datasets that ship with Stata or are free to download, so there's nothing to buy beyond Stata itself.
By the end, you'll be able to pick the right method for a causal question, defend it, present the results in a form a journal or a client will accept, and use machine learning, Python and AI where they help.