Session · 90 min · Available now · Modeling & Inference
TRUST THE CHAINS
Tell a sampler that ran clean from a model that is actually right, and fix the three classic failures on your own data.
An agent can write the model. This session is about knowing when it is wrong.

A model-checking workflow you can run on every model you build, with the examples it was built on.
From the jobs board, in the postings' own words; the board carries the date each was read.
intercept = pm.Normal("intercept", mu=0, sigma=100000)
beta_fastball = pm.Normal("beta_fastball", mu=0, sigma=100000)
beta_slider = pm.Normal("beta_slider", mu=0, sigma=100000)
beta_curveball = pm.Normal("beta_curveball", mu=0, sigma=100000)
sigma = pm.HalfNormal("sigma", sigma=5)
# Expected value
mu = (
intercept
+ beta_fastball * fastball_data
+ beta_slider * slider_data
+ beta_curveball * curveball_data
)From the session's own notebook, model_fitting_mcmc.py, verbatim; verified against the file at build.
The artifact. A model-checking workflow you can run on every model you build, with the examples it was built on.
# Six thousand simulated pitches: release speed by pitch type, the data the model-checking loop runs on.
import sys, pathlib, csv
from collections import defaultdict
sys.path.insert(0, str(pathlib.Path(__file__).parent))
from _palette import plt, emit, GOLD, TEAL, AQUA, CREAM, MUTE
by = defaultdict(list)
for r in csv.DictReader(open("site/18-practice/pitch-speeds/files/pitches_2026.csv")):
by[r["pitch_type"]].append(float(r["release_speed"]))
colors = {"FF": GOLD, "SL": TEAL, "CH": AQUA, "CU": CREAM, "SI": MUTE}
fig, ax = plt.subplots(figsize=(7.2, 4.0))
for pt, speeds in sorted(by.items(), key=lambda kv: -len(kv[1])):
ax.hist(speeds, bins=40, range=(65, 102), histtype="step", lw=1.8, color=colors.get(pt, MUTE), label=f"{pt} n={len(speeds)}")
ax.set_xlabel("release speed, mph"); ax.set_ylabel("pitches")
ax.set_title("Three pitch types, three speed distributions: one residual scale cannot fit them all")
ax.legend(frameon=False, fontsize=9)
emit(fig)Data: Pitch speeds by type. Simulated for practice by AthlyticZ (agents/sim_data.py, seed 20261109). License CC BY 4.0.

The chart on this page, drawn by code you can edit. R runs on webR and Python on Pyodide; nothing loads until you press Run, and nothing you type leaves the page.
Edit me: Move the prior sd, or change first_n to 200 and run: the data overwhelms the prior.
Data: Pitch speeds by type (pitches_2026.csv). Simulated for practice by AthlyticZ (agents/sim_data.py, seed 20261109). License CC BY 4.0.
The code runs in your browser on Pyodide; nothing you type leaves the page.
From the academy course record, as it is taught.
One live session, recorded, 90 minutes. Yours to keep and watch any time.
PhD · Biostatistics @ Vanderbilt University Medical Center
Teaches the method the way it is used in the role above. The team page lists everything they teach here.
Also teaches Variational Inference in Sports, Hierarchical Modeling using PyMC in Baseball.
Refunds. If you bought it and it is the wrong one for you, write to michael@athlyticz.com and a person will answer.
Built for someone who already writes code in the session's language and wants the method, not the syntax. If the outcome line at the top reads like something you could use next week, it is pitched right. If it reads like a different job, start with the courses on /browse.
The full recording, yours to keep: buy once, watch any time. Masterclass subscribers get every live session for a year and can watch every recorded session for as long as they are a member. Everyone else can buy a recording on its own.
No. The recording plays in the browser.
Twenty minutes on a call before you buy costs nothing, and the call is the fastest way to tell. If you bought it and it is the wrong one for you, email michael@athlyticz.com and a person will answer.
The Masterclass is all of it, live and recorded, for $1,899 a year, or $199 a month. Paid by the month, it renews monthly at $199, cancel any time by replying to your receipt.
Every live session this year, and every recording.
Join the MasterclassLoading the calendar.
The calendar did not load here. Open it on Calendly.
Confirmed
Calendly has sent the invitation to your inbox, with the link for the call. Michael will see you then.
We've teamed up with AthlyticZ to supercharge how we use data science and statistics to impact our sports. More clarity in the numbers means bigger results for our athletes.
AthlyticZ has completely transformed the learning approach to data science through the use of sports-based problems. The instructors are the best of the best, and the practical projects have immediate impact to students.
The sports industry moves fast. Managing the pace of evolving technology, data, and AI isn't optional - it's imperative. Our Analytics team was looking for a partner to meet us where we are, to help us in the continued investment of our people and capabilities without pulling us away from the work that matters. AthlyticZ delivers exactly that: a structured, practitioner-led platform that fits how modern sports analytics groups actually operate.