<!-- Generated by book/tools/make-index.py from the book source. -->

> Hedengren, J. (Ed.) (2027). Appendix H: Exam Preparation. In *Data-Driven Athletics: Measuring, Modeling and Coaching Human Performance with Video and Wearable Data* (pp. 504–508). IRSRI Sports Research Institute. CC BY 4.0.

# H Exam Preparation

The course has two individual exams of 75 minutes, taken in class: the midterm
in Class 14 on Chapters 1 to 7, and the final in Class 28 on the whole book.
You may bring one page of notes, both sides. No AI assistant, no internet and no
collaboration; the This Term page of the Course Guide says whether a calculator
is allowed. The questions are like the book's Foundation and Core concept
checks and hand calculations: read a result, compute a number with its units,
choose a method and say why, and write one sentence an athlete could act on.
Nothing on the exams needs a computer.

This appendix lists what each exam covers, shows how to build the note sheet,
gives a practice set for each part of the book drawn from the chapters'
exercises, and works three model answers of the kind the exams ask for.

## H.1 What Each Exam Covers

The midterm covers Parts I and II. The final is cumulative: every chapter can
appear, and the questions on Chapters 8 to 14 build on the measurement ideas of
the first half (scatter, units, frame rate, agreement). Table H.1
lists what you should be able to do *without a computer* for each chapter.

*Table H.1. What to be able to do by hand, chapter by chapter. M: on the midterm; F: on the final.*

| **Chapter** | **Exam** | **Be able to** |
|---|---|---|
| 1 Questions Before Dashboards | M, F | Write a question as a decision; tell measured, derived and modeled quantities apart; use accuracy, precision, validity and reliability correctly; jump height from flight time; the rules for people's data and for an AI assistant |
| 2 The Athlete as a System | M, F | Oxygen uptake from the Fick relation; which energy system dominates a duration; a first-order response and its time constant; pulse resolution |
| 3 Mechanics of Movement | M, F | A joint angle from three points; impulse and takeoff speed; flight and release angle; cadence, step length and duty factor; what one camera cannot see |
| 4 Athlete Data in Python | M, F | Spot missing values, spikes, duplicates, unit mix-ups and clock offsets; noise in a derivative; bias and limits of agreement; read a short listing and predict its output |
| 5 Heart Rate, ECG and HRV | M, F | RR interval and heart rate; RMSSD and SDNN by hand; compare two devices; zones and a load score |
| 6 GPS Watches and Motion Sensors | M, F | Distance between two fixes; why GPS distance runs long or short; cadence from a watch file; critical speed and $D'$ from two efforts; load over weeks |
| 7 Glucose, Lactate and Emerging Sensors | M, F | What a sensor measures and its lag; MARD; a lactate threshold by interpolation; the five questions for a new sensor |
| 8 Seeing Movement | F | Capture and stored frame rates; scale from pixels to meters and its error; the four levels of error; levels of trust |
| 9 Gait and Cyclic Sports | F | Cadence, contact time, flight time and duty factor from frame counts; the frame budget; which measures need a scale |
| 10 Power, Skill and Precision | F | One-frame uncertainty at a key instant; jump height and threshold correction; ball speed from pixels; medians, spread and probability of superiority |
| 11 Is the Change Real? | F | Typical error and smallest worthwhile change; a decision rule in words; limits of agreement; what a $p$ -value says; precision and recall from a confusion table; leakage |
| 12 Build Your Own Performance App | F | A one-page spec; what a test with a known answer catches; privacy by design; what a user test can show |
| 13 From Numbers to Coaching | F | A finding in plain language with its uncertainty; one recommendation and one cue; ratings and labels; when to refer |
| 14 Summary and Outlook | F | For a quantity: how it is measured, the free check, the size of its error and the trust level |

## H.2 The Note Sheet

One page, both sides, is enough for the formulas and too small for worked
solutions. That is the point: building the sheet is a review, and the act of
choosing what goes on it is most of its value. Make it yourself; a sheet
copied from someone else helps much less.

\paragraph{Put on it.}

- **Formulas with units and the meaning of each symbol**, one line each:
  $h=g t^2/8$; $\text{HR}=60\,000/\text{RR}$ with RR in ms; RMSSD; $\text{TE}=s_\text{diff}/\sqrt2$;
  limits of agreement $\bar d\pm1.96\,s_d$; precision and recall; distance from
  critical speed, $d=\text{CS}\,t+D'$.

- **Conversion factors**: 1 mile $=\SI{1609.344}{\metre}$;
  1 m/s $=\SI{3.6}{\kilo\metre\per\hour}$; one frame
  $=1/\text{fps}$ (33.3 ms at 30 fps,
  16.7 ms at 60 fps, 8.3 ms at
  120 fps); 1 mph $=\SI{0.44704}{\metre\per\second}$.

- **Decision rules in words**: the change, the smallest worthwhile
  change, the noise, and the words for each outcome (Section 11.1.3).

- **Checklists**: the five questions for a new sensor; the four levels
  of error; the leakage questions; the data-quality problems to look for.

- **Your own mistakes**: the three errors you made most often in the
  homework, written as warnings (“pace is time per distance: convert through
  speed”).

\paragraph{Leave off.} Worked solutions, definitions you already know, and
anything you could not use without reading it twice. If a line needs a
paragraph to explain, you do not know it yet; practice it instead.

\paragraph{Lay it out.} One side per half of the course works well: Parts I and
II on the front, Parts III and IV on the back. Group by task (“compare two
devices”, “is the change real?”), not by chapter, because exam questions are
asked by task.

## H.3 Practice Sets

The tables below build one practice set for each part of the book from the
chapters' Foundation and Core exercises. The first column lists the CORE concept
checks and hand calculations, which you did in homework a; redo them without
your notes. The second lists exercises **in bold** that were not assigned,
with their topic; these are your fresh practice. Every hand calculation prints a
checkpoint after each part, and short answers to the odd-numbered exercises are
in the Answers to Selected Exercises at the back of the book.

Take at least one set under exam conditions: 75 minutes, your note sheet, no
computer, no assistant. Then mark it and add what you missed to the sheet. For
the midterm, use the sets for Parts I and II; for the final, all four and the
Chapter 14 review.

**Part I. Foundations (midterm and final)**

| Ch. | Redo (homework) | Fresh practice |
|---|---|---|
| 1 | 1.1, 1.2, 1.5 | 1.3 measured, derived or modeled; 1.4 one jump against the smallest worthwhile change; 1.6 heart rate and resolution from a pulse count |
| 2 | 2.1, 2.2, 2.5 | 2.3 what rising lactate shows; 2.4 the three numbers behind endurance; 2.6 metabolic power, heat and sweat; 2.8 the oxygen deficit after a step |
| 3 | 3.1, 3.2, 3.5 | 3.3 noise in a velocity at two frame rates; 3.4 the best release angle; 3.6 takeoff speed, flight time and push; 3.7 step length, stride time and duty factor |
| 4 | 4.1, 4.2, 4.5 | 4.3 correlation is not agreement; 4.4 a slow-motion clip with the wrong header; 4.6 noise in a speed from neighboring frames; 4.7 the clock offset between two devices |

**Part II. Wearable Sensors (midterm and final)**

| Ch. | Redo (homework) | Fresh practice |
|---|---|---|
| 5 | 5.1, 5.2, 5.5 | 5.3 limits of agreement; 5.4 SDNN with $N$ or $N-1$ ; 5.6 RMSSD by hand |
| 6 | 6.1, 6.2, 6.5 | 6.3 which watch output is modeled; 6.4 the largest acute:chronic ratio; 6.6 critical speed and $D'$ from two efforts |
| 7 | 7.1, 7.2, 7.5 | 7.3 bias, scatter and MARD; 7.4 sensors under competition rules; 7.6 a fixed lactate threshold by interpolation; 7.8 sensor lag at marathon speed |

Chapter 7's CORE set was not homework; it is the ungraded practice set
for the midterm.

**Part III. Video and Pose (final)**

| Ch. | Redo (homework) | Fresh practice |
|---|---|---|
| 8 | 8.1, 8.2, 8.5 | 8.3 levels of trust; 8.4 a scale set off the running line; 8.6 a slow-motion header and flight time |
| 9 | 9.1, 9.2, 9.5 | 9.3 duty factor from the wrong time; 9.4 what the cadence studies support; 9.6 the frame budget |
| 10 | 10.1, 10.2, 10.5 | 10.3 why one camera understates separation; 10.4 probability of superiority; 10.6 three apps, three separations; 10.7 ball speed from pixels |

**Part IV. From Data to Decisions (final)**

| Ch. | Redo (homework) | Fresh practice |
|---|---|---|
| 11 | 11.1, 11.2, 11.5 | 11.3 which $R^2$ belongs in the report; 11.4 what a $p$ -value tells a coach; 11.6 bias and limits of agreement by hand; 11.7 a confusion table, precision and recall; 11.8 critical speed and $D'$ |
| 12 | 12.1, 12.2, 12.5 | 12.3 what the Basic screen shows; 12.4 what five users find; 12.6 a missed beat and the filter rule |
| 13 | 13.1, 13.2, 13.5 | 13.3 an external-focus cue; 13.4 learning or performance; 13.7 step rate and a one-frame error |
| 14 | 14.1, 14.3 | Discussion only: sort a season's numbers by trust level, and choose a measurement for a coach's question |

## H.4 On the Day

- **Read every question first** and start with the one you are surest
  of. Share the 75 minutes out by the points each question is worth; leave a
  question that has taken twice its share, and come back to it.

- **Write the units on every line.** Most wrong answers in this course
  are unit errors that a unit on each line would have caught: pace and speed,
  milliseconds and seconds, frames and seconds, stored and capture frame rates.

- **Show the method in words** before the arithmetic: “limits of
  agreement: bias plus and minus 1.96 standard deviations of the differences”.
  A grader can give credit for a right method with a slip; not for a bare
  wrong number.

- **Check one answer a second way**: a rough estimate, a different
  route (Example H.1), or the size it should have (a
  heart rate of 900 is wrong).

- **For a choice question**, say in one line why the key is right and
  why the most tempting other option is wrong.

- **End a written answer with the sentence for the athlete**, with its
  uncertainty in words, when the question asks what you would tell someone.

## H.5 Three Worked Models

These three answers show the level of working an exam expects: every line has
units, the method is named, there is a check, and the answer ends in a sentence
someone could act on. The numbers are recomputed by
`back/appH-exams/code/models.py`.

**Example H.1: A unit conversion.**

A runner's watch shows a pace of 7:15 per mile. Give the speed in
m/s and the pace per kilometer, and predict a 5 km time at
that pace.

**Speed.** Pace is time per distance; convert through speed, which is
distance per time. A pace of 7:15 is $7\times60+15=\SI{435}{\second}$ per mile.

$$v=\frac{\SI{1609.344}{\metre}}{\SI{435}{\second}}=\SI{3.6996}{\metre\per\second}
\approx\SI{3.70}{\metre\per\second}\ (\SI{13.32}{\kilo\metre\per\hour}).$$

**Pace per kilometer.**
$\SI{1000}{\metre}\div\SI{3.6996}{\metre\per\second}=\SI{270.3}{\second}$, that is
4:30.3 per km.

**5 km time.**
$\SI{5000}{\metre}\div\SI{3.6996}{\metre\per\second}=\SI{1351.5}{\second}$, that is
22:31.5.

**Check, a second way.** 5 km is $5000/1609.344=3.1069$ miles, and
$3.1069\times\SI{435}{\second}=\SI{1351.5}{\second}$. The two routes agree. A rough
check also works: five kilometers at about 4:30 each is about 22:30.

**Common errors.** Converting 7.15 as if it were decimal minutes (7:15 is
7.25 minutes); dividing a pace by 1.609 the wrong way (a kilometer is shorter
than a mile, so the pace per kilometer must be the smaller time); averaging two
paces instead of the speeds.

**For the athlete.** “Your 7:15 a mile is 4:30 a kilometer; held for a
5 km, it is about 22:30.”

**Example H.2: A missing-data decision.**

A runner does ten minutes of alternating one-minute efforts: hard on odd
minutes, easy on even ones. The chest strap lost contact twice, in minutes 5
and 9. The one-minute average heart rates (bpm) are:

| Minute | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
|---|---|---|---|---|---|---|---|---|---|---|
| Effort | hard | easy | hard | easy | hard | easy | hard | easy | hard | easy |
| HR | 142 | 118 | 151 | 121 | – | 123 | 158 | 125 | – | 127 |

The coach wants “the average heart rate for the set.” What do you report?

**Look at where the gaps are.** Both missing minutes are hard minutes. The
gaps are not spread at random; they fall where heart rate is high, as strap
dropouts often do when sweat and movement are greatest. Any summary that
ignores them is biased.

**Option 1: drop the gaps.** The mean of the eight minutes present is
133.1 bpm. Five easy minutes and only three hard ones are averaged, so
this is too low.

**Option 2: fill by straight-line interpolation.** Minute 5 lies between
two easy minutes, so a straight line fills it with $(121+123)/2=\SI{122.0}{\bpm}$,
an easy value for a hard minute; minute 9 gets 126.0. The filled mean is
131.3 bpm, lower still. Interpolation is fine for a gap of a few seconds
inside a steady effort, not across a whole effort.

**Option 3: summarize by phase.** The easy minutes are complete: mean
122.8 bpm (5 of 5). The hard minutes have 3 of 5: mean 150.3 bpm.
If one number is needed, average the two phase means, which weights them as the
session did: $(150.3+122.8)/2=\SI{136.6}{\bpm}$.

**Decision.** Report by phase, with coverage, and say how the gaps were
handled. Do not fill the hard minutes from their easy neighbors. Record the
choice in the change log. (A fill from the hard neighbors, $(151+158)/2=154.5$
for minute 5, is defensible for a chart, but minute 9 has only one hard
neighbor, and a filled value should never be reported as measured.)

**For the coach.** “Hard minutes averaged about 150 and easy minutes
about 123. The strap dropped out in two of the five hard minutes, so the hard
figure rests on three minutes; check the strap's fit before the next set.”

*Figure H.1. Residuals of the straight-line fit of Example H.3. They are negative at both ends and positive in the middle, an arch that shows the data curve and the line does not.*

**Example H.3: Reading a residual plot.**

A cyclist rides nine steady stages from 50 to 250 W, and the heart
rate in the last minute of each stage is:

| Power (W) | 50 | 75 | 100 | 125 | 150 | 175 | 200 | 225 | 250 |
|---|---|---|---|---|---|---|---|---|---|
| HR (bpm) | 98 | 107 | 117 | 126 | 134 | 141 | 147 | 151 | 154 |

A straight line fitted to them gives
$\text{HR}=87.46+0.2873\,P$ (bpm, with $P$ in watts) and $R^2=0.974$.
Figure H.1 shows the residuals. Is the straight
line good enough to report the slope, and to predict heart rate at
300 W?

**Read the pattern, not the size.** A residual is the measured value minus
the fitted one. Good residuals scatter about zero with no pattern. These do not:
they are negative at both ends ($-3.8$ and $-5.3$ bpm) and positive through the
middle (up to $+3.4$ bpm), an arch. An arch means the data curve, and the line
does not: heart rate rises less for each extra watt as the cyclist nears the top
of the range.

\textbf{What the high $R^2$ hides.} An $R^2$ of 0.974 says the line follows the
overall rise. It cannot say whether the shape is right; only the residuals can.

**Consequences.** The slope, 2.87 bpm per 10 W, is an
average over a curve: too small at low power and too large at high power. The
line predicts 173.7 bpm at 300 W, outside the data, and the arch
says the real value is probably lower. Do not extrapolate.

**What to do.** Report the slope only for the range measured, and say the
response flattens; or fit the lower stages, where the residuals are flat; or fit
a curve and compare it on stages left out. Other patterns mean other things: a
fan that widens to the right means the scatter grows with power; a single far
point means one stage to check before refitting.

**For the athlete.** “Your heart rate rose about 3 beats for every
10 W over this range, and less near the top. We should not use the line
to guess heart rates above 250 W.”
