Part 4: From Data to Decisions · Week 11 · Tue, Mar 16
Chapter 11: Is the Change Real? Statistics and Machine Learning
The athlete jumped 2 cm higher than last month. Is that training, or noise?
- Ask
- Collect
- Check (this week)
- Interpret (this week)
- Coach
- Reassess (this week)
Read
Read Chapter 11 pp. 291–328
- 11.1One Athlete, Many Days
- 11.2Two Methods
- 11.3Groups
- 11.4Regression
- 11.5Individual Models
- 11.6Classification
- 11.7Leakage
- Read to here before Tuesday
- 11.8Time Series
- 11.9Small Data, Honestly
- 11.10How Good Is the Number?
- 11.11Telling the Athlete
- 11.12Build Step B-11: A Baseline on the Device
- 11.13Summary
- 11.14Exercises
- Read to here before Thursday
Bring to class
- Your results files from the jump in week 1 and the morning heart recordings of week 5; a phone and tripod for a retest; a laptop with Python.
Data you collect: Repeat of earlier tests; first athlete sessions.
No one has to exercise hard, buy a device, or share health data: every collection has a case-file path.
Lecture slides
Class 21Typical Error, Agreement and a First Model
29 slides · about 38 min · PDF
Class 22Models, Leakage and Honest Small Data
29 slides · about 38 min · PDF
Classes
One athlete over many days; two methods; groups; regression
Due: P21 Many trials
Class 22 · Thu, Mar 18Individual models; classification; leakage; time series
Due: P22 Is the change real?
Homework
Is the change real?
Typical error and smallest worthwhile change from the repeat of your Week 1–3 tests. Project baseline: regression against a simple baseline with a held-out plan.
Project checkpoint 2
Classification and a leakage audit
A classifier on project or open data with confusion matrix, precision and recall, plus the written leakage audit the book asks of every project.
Tutorials
From a raw file to something an athlete can act on. The case study is this week's worked example in class; the quick tutorials prepare you for it and for the homework. The data workflow · Your athlete record
Predicting peak left-leg force
Reproduce the course regression of peak left-foot force from gait measures, then find out why its R² of 0.94 does not hold for a new runner, and what physics adds.
Is the change real? One test, twelve weeks
Read twelve weeks of a simulated jump record with a typical error, a smallest worthwhile change, a band, a run rule and the decision rule of Chapter 11, through a learning effect, a bad Monday and a new phone; then repeat the method on two and a half years of an athlete's real runs, where pace and heart rate tell different stories.
Forecast next week, and beat "same as last week"
Turn two and a half years of watch activity summaries into weekly training load from heart rate, build forecasts from the past only, split by time, and test whether a regression really beats the persistence baseline; end with next week's load and a range.
Build step B-11: A baseline on the device
Store an athlete's baseline locally, flag a real change.
Exercise board
33 exercises in 10 strands; 8 are CORE, the set homework draws on. Tick them off as you go; ticks stay in this browser.
Data for this week
watch
John Hedengren: COROS watch runs, spring 2026
19 runs recorded on a COROS PACE Pro between 2026-04-10 and 2026-05-18: one row per run, lap splits, weekly totals, and a per-second record file for every run. GPS coordinates removed.
heart
John Hedengren: Polar H10 chest-strap recordings
4 chest-strap sessions (ECG at 130 Hz with beat-by-beat RR) from June 2026: 2 full nights and 2 daytime sessions, with 3-minute excerpts and nightly HRV.
watch
COROS activity history, 2024-2026 (summaries)
693 activity summaries from a COROS Training Hub archive of an adult male athlete in his mid-40s, 2024-06-28 to 2026-11-28: the watch's own session fields and units, a cleaned table in SI units, and weekly totals. GPS coordinates removed.
book
Book data, Chapter 11: Is the Change Real? Statistics and Machine Learning
The 10 example files that Chapter 11 of Data-Driven Athletics reads, under the same names the listings use.
tutorial
Tutorial CS-15: Is the change real? One test, twelve weeks
Read twelve weeks of a simulated jump record with a typical error, a smallest worthwhile change, a band, a run rule and the decision rule of Chapter 11, through a learning effect, a bad Monday and a new phone; then repeat the method on two and a half years of an athlete's real runs, where pace and heart rate tell different stories.
tutorial
Tutorial CS-16: Forecast next week, and beat "same as last week"
Turn two and a half years of watch activity summaries into weekly training load from heart rate, build forecasts from the past only, split by time, and test whether a regression really beats the persistence baseline; end with next week's load and a range.
tutorial
Tutorial Q-31: Scale two features, the right way and the wrong way
Predict running pace from step rate and step length with a nearest-neighbor model, and see what scaling does, and what fitting the scaler on the test runs too does, with only 30 runs.
tutorial
Tutorial Q-32: Split by athlete, not by row
Score one nearest-neighbor model of peak foot force twice, with shuffled steps and with whole runners held out by fixed folds, and see where the difference comes from.
tutorial
Tutorial Q-33: A rolling mean and a band
Set a baseline band from four weeks of simulated morning heart rate, add a seven-day rolling mean that looks back only, and see which of the two shows a real rise first.
open
Boston Marathon results with splits
Finishers' results with 5 km splits.
open
Long-distance running training 2019–2020
Training volume for tens of thousands of runners at daily to quarterly resolution (Parquet; quarterly file 3 MB).
open
International football results
Over 50,000 matches since 1872 in one CSV.
open
Injury prediction in competitive runners (Lövdal et al.)
Daily and weekly training logs with injury labels for a Dutch high-level running team; two CSV files of 13–15 MB.
open
Treadmill maximal exercise tests (Málaga)
992 tests with speed, heart rate and oxygen uptake.
open
Running Injury Clinic kinematic dataset (Ferber et al.)
1,798 healthy and injured runners; two small metadata CSVs with gait variables (the 22.7 GB marker archive is not needed).
open
IPF powerlifting (TidyTuesday 2019-10-08)
One clean CSV: sex, age, bodyweight, best lifts.
open
UCI Human Activity Recognition (smartphones)
30 people, 10,299 labelled windows, engineered features; 58 MB.
open
WISDM, PAMAP2, Daily and Sports Activities
Three larger activity-recognition sets, 160–660 MB each.
open
MHEALTH
10 people, 12 activities including jogging, running, cycling, jumping; body sensors and 2-lead ECG; 72 MB.
open
RecGym
Gym exercise recognition (squat, bench press and others) from wearable sensors; 103 MB.
Go further
- Companion reading: the IRSRI Data-Driven Coaching course, module 11.
- Cite this chapter: citation in BibTeX, RIS or text.