Self-paced course · Advanced · 136 lessons
MODEL ANYTHING.
Ship production-grade Bayesian models, survival analysis, Gaussian processes, physics-constrained systems.
An agent can write the model. This course is about knowing when it is wrong.
Who it is for. Practitioners who finished BayeZian I (or have equivalent Stan experience) and want the advanced, production-grade toolkit.

The artifact. Advanced Bayesian models across sports, each fit, checked and explained.
# Empirical-Bayes shrinkage on nineteen hitters: how far each moves toward the group, by how little data he has.
import sys, pathlib, csv
sys.path.insert(0, str(pathlib.Path(__file__).parent))
from _palette import plt, emit, GOLD, AQUA, CREAM, MUTE
import numpy as np
rows = list(csv.DictReader(open("site/18-practice/hot-start-hitters/files/batting_2026.csv")))
ab = np.array([int(r["at_bats"]) for r in rows]); h = np.array([int(r["hits"]) for r in rows])
raw = h / ab; m = raw.mean(); v = raw.var(ddof=1); k = m * (1 - m) / v - 1
post = (m * k + h) / (k + ab)
fig, ax = plt.subplots(figsize=(7.2, 4.0))
ax.plot([raw.min(), raw.max()], [raw.min(), raw.max()], color=MUTE, lw=1, ls="--", label="no pooling")
ax.axhline(m, color=MUTE, lw=1, ls=":", label="complete pooling")
ax.scatter(raw, post, color=GOLD, s=40, zorder=3, label="partial pooling")
for r0, p0 in zip(raw, post):
ax.plot([r0, r0], [r0, p0], color=AQUA, lw=1, alpha=.8)
ax.set_xlabel("average, first 45 at-bats"); ax.set_ylabel("posterior mean"); ax.legend(frameon=False, fontsize=9)
ax.set_title(f"Partial pooling: every hitter pulled toward {m:.3f}, the hot starts most of all")
emit(fig)
with pm.Model() as m:
...From the academy course record, in the order it is taught.
136 lessons in 19 sections. Every lesson is yours to keep.
PhD · Lecturer, Applied Analytics @ Columbia University
Teaches the course the way the work is done in the role above. The team page lists everything they teach here.
Also teaches Becoming a BayeZian.
Refunds. If you enrolled and it is the wrong course for you, write to michael@athlyticz.com and a person will answer.
Yes. Membership includes this and the entire course catalog, plus the live Masterclass. If you plan to take more than a couple of courses, Membership is the better math.
Practitioners who finished BayeZian I (or have equivalent Stan experience) and want the advanced, production-grade toolkit. If the "not for you" list above reads like you, start elsewhere; if the outcome at the top reads like something you could use next week, it is pitched right.
19 sections · 136 lessons. Every lesson, the project files and code, and all future updates. Lifetime access: it is yours to keep.
Yes. Start today and go at your own pace, with lifetime access to every lesson and all future updates.
19 sections · 136 lessons, the project files, and every future update.
Enroll nowThis course, the whole catalog, and the Masterclass: every live session and every recording.
Get Membership