Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
The Essential Guide to Stata
Rating: 4.5 out of 5(909 ratings)
5,287 students

The Essential Guide to Stata

Learn Stata from the ground up: manage data, make graphs, run regressions and fit models from logit to panel data
Created byF. Buscha
Last updated 11/2026
English
English [Auto],Indonesian [Auto],

What you'll learn

  • Work confidently in Stata: the interface, help files, command syntax, do-files, log files and importing data
  • Explore and summarise a dataset with describe, summarize, tabulate and the table command
  • Clean and reshape data: recode, create and label variables, handle strings and dates, combine datasets, use macros and loops
  • Make clear graphs: bar charts, histograms, box plots, scatterplots and contour plots, then combine and customise them
  • Test associations between categorical variables, compare means, check correlations and run ANOVA
  • Fit and check linear regressions: factor variables, diagnostics, hypothesis tests, and tables and graphs of results
  • Model binary, ordered, multinomial and fractional outcomes with logit, probit and related models, and read marginal effects
  • Use random numbers, simulation and Monte Carlo methods to see how estimators behave
  • Analyse count data, survival data and panel data with the right model for each
  • Estimate causal effects with difference-in-differences, instrumental variables and Heckman selection models

Course content

19 sections • 103 lectures • 14h 17m total length
  • Introduction1:42

    Explore Stata's data management and statistical capabilities, including loading, re-ordering, merging, and manipulating data. Leverage wide statistical options, robust graphing, and multi-core processing to handle large datasets efficiently.

Requirements

  • Stata installed on your computer (Stata 15 or newer; a few lectures use features from Stata 17)
  • No previous experience with Stata is needed. We start from opening the program.
  • Some basic statistics (what a mean or a regression is) helps, but the course explains each method as it goes

Description

Refreshed for 2026: every topic now opens with a short animated explainer, the audio has been cleaned up throughout, and there's a quiz at the end of each section plus a practice test at the end of the course.

Stata can do almost anything with your data, once you know how to ask. This course teaches you how, from the ground up. We start with opening Stata and writing your first do-file, and finish with panel data, difference-in-differences and instrumental variables.

Every topic follows the same pattern. A short animated explainer shows what the method does and when to use it. Then we work through it in Stata, command by command, with real output and what it means. The focus is on doing the analysis and interpreting it correctly, not on statistical theory.

What's in the course

  • Getting started: the interface, help, command syntax, do-files, log files and importing data

  • Exploring data: describing, summarising and tabulating, including the table command

  • Manipulating data: recoding, new variables, labels, strings, dates, combining datasets, macros and loops

  • Visualising data: bar charts, distributions, scatterplots and contour plots, and combining and customising graphs

  • Statistical tests: association between categorical variables, t-tests, correlation and ANOVA

  • Linear regression: factor variables, diagnostics, hypothesis tests, presenting and graphing results, standardised coefficients, Oaxaca decomposition and mixed models

  • Beyond linear models: logit and probit, ordered and multinomial models, and models for fractions and proportions

  • Simulation: random numbers and Monte Carlo methods

  • Count data, survival analysis and panel data

  • Causal questions: difference-in-differences, instrumental variables and Heckman selection models

  • Also: epidemiological tables, power analysis and matrix operations

What you get

  • 103 videos, about 14 hours in total

  • A do-file for every Stata lecture, and the data for the lectures that don't use Stata's built-in datasets

  • 16 section quizzes and a 97-question practice test

How to use it

New to Stata? Work through the course in order. Already know the basics? Jump to the section you need: each one stands on its own, and the quiz at the end tells you whether it has sunk in.

I've used Stata for 20 years in research and teaching. By the end of this course, you'll be able to take a real dataset, prepare it, analyse it with the right method and explain what the results mean.

Who this course is for:

  • Students and researchers in economics, the social sciences, health and business who need Stata for coursework, a thesis or a paper
  • Analysts in government, policy and industry who work with survey, panel or administrative data
  • Users of SPSS, Excel or R who want to switch to Stata or add it to their toolkit
  • Stata users who know the basics and want to go further: count data, survival, panel data and causal methods