Interactive

Why no defiers? The Wald ratio and the draft lottery

Statistics · Alexis Diamond0 comments

Interactive

What Settles and What Doesn't

Flip a fair coin up to 10,000 times in 20 runs: the share of heads settles at 0.5 while the heads-minus-tails gap keeps growing, which is why the gambler's fallacy fails. Then a Cauchy running mean that never settles.

Statistics · Alexis Diamond0 comments

Interactive

Turn the V dial: predictor weights in synthetic control

Statistics · Alexis Diamond0 comments

Interactive

The Internship Sprint: random assignment with unequal probabilities

Economics · Alexis Diamond0 comments

Interactive

The draft lottery as an encouragement

Students use a simulated cohort of men born in 1950 and the 1969 draft lottery to see why the veteran-versus-non-veteran gap misleads. They then compute an instrumental-variables estimate and discover that it is the effect of serving for compliers only.

Economics · Alexis Diamond0 comments

Interactive

The Balance Point

The lesson's wheel game as a probability distribution with a fulcrum at its expected value: a penalty dial moves the balance point, 1,000 spins land on it, and students find the penalty that makes the game fair.

Statistics · Alexis Diamond0 comments

Hybrid· R

Real, or Big? A difference of means and its effect size in R

Statistics · Alexis Diamond0 comments

Hybrid· R

Racquetball, One Rally at a Time

Debrief of the pre-class racquetball simulation: step through one game as a two-state machine, fix the R model, rerun it with dials against the exact 82.6%, and decide how sure 1,000 simulated games can make you.

Statistics · Alexis Diamond0 comments

Interactive

Praise or Yell?

Daniel Kahneman's flight-instructor story, made interactive: landings get worse after praise and better after yelling, even when neither does anything. Students run a simulated flight school (skill plus luck, a luck dial, a coin-flip fair test that reveals yelling's real effect), try Kahneman's coin-toss demonstration, and apply regression to the mean to a case of their own.

Statistics · Alexis Diamond0 comments

Interactive

Measured in Standard Errors: z-scores and t-statistics

A quick reminder of the sampling distribution of the mean (SE = σ/√n), z-scores for a single value and for a sample mean, and the t-statistic: why using s for σ thickens the tails, df = n − 1, and when to use t instead of z.

Statistics · Alexis Diamond0 comments

Interactive

How Tight Is the Bunch?

Students predict what happens to the scatter of sample means when n goes from 9 to 36, then click through samples of 1 to 100 exam scores and watch 1,000 sample means bunch tighter: the standard error is SD ÷ √n, and about 68% and 95% of sample means fall within 1 and 2 standard errors.

Statistics · Alexis Diamond0 comments

Hybrid· R

How Surprising Is 496 Grams? (pre-class): what a p-value means

Shorter, more conceptual pre-class version of How Surprising Is 496 Grams?: predict, simulate the world of the null hypothesis in one short R edit, then say what the p-value means and decide at α = 0.05.

Statistics · Alexis Diamond0 comments

Hybrid· R

How Surprising Is 496 Grams? Hypothesis tests and p-values in R

Statistics · Alexis Diamond0 comments

Interactive

Did the Queenpin Reduce Violence?

Groups investigate a 2026 synthetic-control study claiming a woman cartel leader reduced visible violence: they read the claim, run placebo, leave-one-out and backdating checks on the authors' own data, and find the headline homicide result reverses when one comparison cartel is dropped.

Political science · Alexis Diamond0 comments

Hybrid· R

Catch the Mean (pre-class): confidence intervals for a mean in R

Pre-class version of Catch the Mean: where sample means land, a 95% confidence interval for a mean wait time, and a prediction and R calculation of the 99% interval. Three short R edits with hints.

Statistics · Alexis Diamond0 comments

Hybrid· R

Catch the Mean: confidence intervals for a mean in R

Statistics · Alexis Diamond0 comments

Hybrid· R

Angry or weary? Sensitivity analysis in Darfur

Statistics · Alexis Diamond0 comments

Hybrid· R

A Line That Predicts Earnings

Groups guess 1975 earnings from 1974 earnings in the lalonde data, fit lm(re75 ~ re74) in R, read the intercept and slope, separate variables from parameters, then judge the line by its RMSE against guessing the average.

Statistics · Alexis Diamond0 comments

Coding· R

R together: is this coin fair?

Groups write and run R together in the browser: simulate coin flips, then use read.csv, aggregate and binom.test on a class dataset to judge whether a coin is fair.

Statistics · Alexis Diamond0 comments

Interactive

Five Forces in Action

Breakout groups predict the profitability of a fast-growing fictional meal-kit market, sort eight facts into the five forces, then set the dials and watch the profit left to the industry shrink while growth barely matters.

Business and finance · Torsten Doering0 comments

Interactive

Reading the jump (pre-class): regression discontinuity at age 21

A 15-minute pre-class version of a regression discontinuity tour built on Carpenter and Dobkin's (2009) drinking-age data. Students predict the jump at 21, size it under different windows and curve shapes, compare it with the naive difference of averages, and separate what the design supports from what it does not.

Statistics · Alexis Diamond0 comments

Hybrid· R

Real, or Big? (pre-class): testing a difference of means

Shorter pre-class version of Real, or Big?: read two outbreak data sets, test the gap between two pesticide means in one short R edit, and see why the 95% interval for the gap leaves out 0 exactly when the p-value is below 0.05.

Statistics · Alexis Diamond0 comments

Interactive

Rawls and AI: what political liberalism asks of AI governance

Philosophy · Margaret Jenkins0 comments

Interactive

Movers and Fakers: what an alignment-faking test can and cannot tell you

Statistics · Alexis Diamond0 comments

Hybrid· R

Area, Not Height: the normal curve in R

Statistics · Alexis Diamond0 comments

Hybrid· R

Averages Pile Up: building a sampling distribution in R

Take 10,000 random samples of 30 from a skewed population in R, average each one, and watch the averages pile into a narrow bell around μ: the sampling distribution of the mean, its standard error σ/√n, and how its shape depends on n.

Statistics · Alexis Diamond0 comments

Interactive

How Large Is Large Enough?

Five populations (bell, flat, skewed, two-peaked, Cauchy) and a sample-size dial: sample means turn bell-shaped fast for symmetric populations, slowly for skewed ones, and never for the Cauchy, which has no mean or SD.

Statistics · Alexis Diamond0 comments

Interactive

Build a Sampling Distribution

Students build a sampling distribution by hand: each press draws a random sample of 5, 10 or 25 students from a skewed population of 1,000 commute times and drops the sample's mean into a growing pile. The pile centres on the population mean, is narrower (SD about σ ÷ √n) and more bell-shaped than the population, and more samples sharpen the picture while only bigger samples narrow it.

Statistics · Alexis Diamond0 comments

Interactive

Does the Shape Matter?

A pre-class poll, made interactive: one draw lands far from the mean; is a second sample's mean of 31 likely closer, whatever the population's shape? Students switch between Normal, skewed, two-peaked, flat and heavy-tailed populations and sample sizes from 1 to 100, and see that averaging washes out the shape unless the population has no finite SD.

Statistics · Alexis Diamond0 comments

Hybrid· R

Lucky, or Protected?

Three crew members with antibodies escaped a virus that infected 103 of the other 117 aboard a fishing trawler. Step by step, students model "just luck" two ways, a hat of names and weighted coins, compute the chance all three escape by multiplying fractions and by the multiplication rule, and check the hat model by simulation in R.

Statistics · Alexis Diamond0 comments

Interactive

Build a Binomial

Sixteen admitted students who each accept with probability 0.7: n, p and k sliders build the binomial, shade P(X ≤ k), and show when the shape is lopsided; one run of the trials shows the Bernoullis being counted.

Statistics · Alexis Diamond0 comments

Interactive

Disjoint Is Not Independent

On the 36-outcome grid for two dice, groups test whether events overlap, compare P(A and B) with P(A) × P(B), discover that disjoint events can never be independent, and hunt for a pair that overlaps yet is independent.

Statistics · Alexis Diamond0 comments

Interactive

The Midnight Fact-Check

A fact-check desk has until midnight to rate a mayor's claim that equal household incomes mean equal pay. A census table on workers per household shows when a proxy variable tracks what it stands for, and when the same number means different things.

Statistics · Alexis Diamond0 comments

Interactive

The Positive Test

A COVID test that catches 95% of cases, 1,000 test-takers and a slider for how common COVID is: when 2% have it, a positive result means only 16%. Counting, not formulas, untangles confusion of the inverse.

Statistics · Alexis Diamond0 comments

Hybrid· R

Who voted for peace? Sensitivity analysis in Colombia

Statistics · Alexis Diamond0 comments

Interactive

Who Took the Hint? What a monitorability score can and cannot see

An AI model answers a quiz question with and without a hint. Comparing the two shows how many answers the hint changed, but not how often the model used the hint, and the usual monitorability score checks only the first. Sliders show how a monitor can miss half of the hint use and still score 0.95, why a falling score can mean the model stopped writing about the hint rather than stopped using it, and which numbers a report needs so readers can tell the difference.

Statistics · Alexis Diamond0 comments

Interactive

Sort the LaLonde Columns

Groups sort the 12 lalonde columns into nominal, ordinal, discrete and continuous, then see which summaries each type allows (a 0/1 column's mean is a share) and classify a new 5-point satisfaction scale.

Statistics · Alexis Diamond0 comments

Interactive

The Computer Will Average Anything

Groups drag mean, median, mode, SD and range into Yes / No / It depends for four columns (commute minutes, pets, spice level, pizza toppings), after seeing that the computer happily computes all five for each, including a mean pizza topping of 2.25.

Statistics · Alexis Diamond0 comments

Interactive

Matching and genetic matching: ten questions

Statistics · Alexis Diamond0 comments

Interactive

Build a synthetic West Germany

Political science · Alexis Diamond0 comments

Interactive

Subclassification on the Titanic

Statistics · Alex Korablev0 comments

Interactive

Unconfoundedness, common support, and which effect you want

Statistics · Alex Korablev0 comments

Interactive

Confounder, collider, or neutral? Choosing controls on the Titanic

Statistics · Alex Korablev0 comments

Interactive

Same estimator, four ways to assign treatment

Statistics · Alex Korablev0 comments

Interactive

Why 95%? Finding the Herd Immunity Threshold for Measles

Groups predict how much vaccination stops measles, then run a seeded 400-person outbreak model to see why the threshold depends on how many people one case infects. They compare measles with a flu-like disease and break the model with an imperfect vaccine and clustered neighbourhoods.

Medicine and health · Cheryl Moy0 comments

Interactive

Seven Types of Induction — Skeleton Forms

Students sort nine skeleton argument forms into Wilkins's seven types of induction, after predicting whether all induction runs from particular to general. This revision removes the word "authority" from the authority form so its name no longer gives it away, and darkens the muted text to pass contrast.

Philosophy · Alexis Diamond0 comments

Interactive

Turn the V dial: District 13 (one page)

Statistics · Alexis Diamond0 comments

Interactive

Do These Two Mutants Break the Same Gene?

Run a simulated C. elegans screen: four recessive mutants all give a vulval-less worm. Cross them in pairs, read the complementation table, sort the mutants into genes, then see how a dominant allele misleads the test.

+ 1 variant

Biology · Jon Wilkins0 comments

Hybrid· Python

The Beach on the Hill: isostasy and the rising land

Why is there a beach 286 m up a Swedish hillside? Students float crust on the mantle, find a mountain's root in one line of Python, melt an ice sheet and watch the land rise for thousands of years, and discover why the mantle must be solid yet flow.

Earth and environmental science · Alexis Diamond0 comments

Interactive

A treaty to stop superintelligence: MIRI’s draft agreement on one page

Political science · Alexis Diamond0 comments

Interactive

Favorite learning techniques: three hearts each

Education · Alexis Diamond0 comments

Interactive

Brazil and Switzerland

Rodrik's teaser, run on 2024 WID data for 195 countries. Students predict the winner, then find that the answer reverses as the percentile narrows and reverses again before tax.

Economics · Alexis Diamond0 comments

Interactive

Read “Utopia” twice: connotation in Szymborska's poem

A group reads Szymborska's "Utopia" twice, tagging the connotation of words, then compares how the ending changes the beginning. The "move on" guard now protects readers who are marking words as well as those typing.

Literature and the arts · Alexis Diamond0 comments

Interactive

Who Stops the Spread? Herd Immunity in a Virus Model

Students predict how many people a measles-like virus infects when half the population is vaccinated, then run an agent-based contagion model and a coverage sweep. They find that the unvaccinated stay infected until coverage nears 1 - 1/R0, compare measles with two COVID-19 presets, and break the result with clustered unvaccinated pockets.

Medicine and health · Cheryl Moy0 comments

Coding· R

Exclusive or in R

Three short R exercises on one connective, exclusive or: predict what xor(P, Q) gives in each row of a truth table, build XOR from AND, OR and NOT, then find the row where inclusive OR and XOR disagree.

Stands on its own; differs from Truth in R: A short workbook on exclusive or (XOR) alone, not the full nine-cell Truth in R lesson.

Philosophy · Alexis Diamond0 comments

Interactive

Balanced but biased? Genetic matching with and without a missing confounder

Statistics · Alexis Diamond0 comments

Interactive

Do Random Events Cluster?

Students test Steven Pinker's claim that random events cluster: they try to spot the truly random star field, then commit to a guess for the longest streak in 100 coin flips and simulate it, discovering that runs of about 7 are normal.

Statistics · Alexis Diamond0 comments

Interactive

What is Truth? (remix)

A conceptual companion on logical sentences, tautologies, contradictions, consistency, and why R's == is not logical equivalence.

Computer science · Alexis Diamond0 comments

Anything wrong with this page? Submit feedback