Skip to main content
Stata × Platypus Economics

Learn economics by doing it.

Some Platypus Economics videos come with a companion worksheet, built in partnership with Stata. Watch the video for the intuition, then open Stata and work through the data yourself — each worksheet pulls real numbers, runs a handful of commands, and lets the pattern emerge in your own hands. Free to use in your classroom or on your own.

New to this? You'll need Stata and a free FRED API key — grab one at fredaccount.stlouisfed.org/apikeys. Each worksheet's first step shows you how to set it up (importing FRED data needs Stata 15.1 or later).

The worksheets

Watch
Worksheet 01

Does higher inflation mean more volatile inflation?

Pull decades of inflation data from FRED and measure it two ways — the average rate and how much it bounces around. See for yourself whether the two move together, and what that means for planning a life around prices you can't fully predict.

What you'll learn

The building blocks of descriptive statistics — the mean as a measure of the average and the standard deviation as a measure of dispersion — plus computing growth rates as percentage changes and comparing the spread of a variable across groups.

Paired with the video “You Can't Stop Inflation, But Here's How to Minimize the Pain”
Watch
Worksheet 02

Rockets and feathers: does gas follow oil up faster than down?

Line up weekly gas and oil prices from FRED, then run one regression to test a famous asymmetry: the price at the pump shoots up like a rocket when oil rises, but drifts down like a feather when oil falls. Measure the pass-through on impact and eight weeks out.

What you'll learn

Regression as the workhorse of econometrics — here a distributed-lag model with several lags of one regressor, dummy and interaction terms that let an effect differ by direction, log changes as approximate percentage changes, and summing coefficients into a cumulative effect.

Paired with the video “You're Not Imagining It: Gas Prices Really Do Fall Slower Than They Rise”
Paired video coming soon
Worksheet 03

Pull monthly import data from FRED for China and all eleven ASEAN members, then smooth it into rolling 12-month totals and watch a 25-year relationship flip sign. Before the 2025 tariffs, America bought more from ASEAN whenever it bought more from China; since then, every dollar lost from China shows up somewhere in Southeast Asia. Run one regression per era and measure the flip yourself.

What you'll learn

Working with time series — building a monthly date, computing rolling 12-month totals that strip out seasonality, and aggregating series across countries — plus splitting a sample at a structural break, reading scatterplots with fitted lines, and interpreting a regression slope that flips from complements to substitutes.