apopt.comCBE 493R Data-Driven Athletics

Course / Tutorials / Week 13 / Q-39

Quick tutorial Q-39 · Week 13 · about 20 min · Core

Turn a table into an action card

Rank five shooting measures by how well they separate one player's made and missed shots, with a bootstrap range, and fill the five lines of an action card by rules so the words never claim more than the numbers.

  1. 1Gather
  2. 2Statistics
  3. 3Visualize
  4. 4Cleanse
  5. 5Features
  6. 6Balance
  7. 7Scale
  8. 8Split
  9. 9Deploy (used)
  1. Ask
  2. Collect
  3. Check
  4. Interpret (this week)
  5. Coach (this week)
  6. Reassess (this week)

Every cell runs in this page; the first run downloads Python (about 30 s). Nothing you load leaves your browser. Helpful first: Q-38 Say how sure you are in one sentence.

The decision

A player asks what separates their made shots from their misses. Decide what the card can honestly say from ten shots and five measures, and the one thing the player should try next.

The raw data

Try it

A results table answers "what was measured". An action card answers what the athlete should do: five lines, written for them (the course's case-study template):

  1. Finding: the one thing the data showed.
  2. Evidence: the numbers behind it, in the athlete's units.
  3. How sure: in words, with the reason.
  4. Action: one thing to do, specific enough to do tomorrow.
  5. Retest: when and how to look again.

The table is Chapter 10's synthetic set of ten jump shots by one player: five measures from the basketball app's results files for each shot, and whether it went in. The player's question: what separates my makes from my misses?

The table, made against missed

PythonMedians of made and missed shots

Type a prediction to enable Run.

Show the expected result without running
10 shots, 6 made
                        made median  missed median
Ball Release Angle            46.85         44.900
Ball Release Height            1.07          1.045
Elbow Angle                  159.50        160.000
Knee Flexion                  99.50        103.500
Release Timing vs Apex       -22.50         -7.500

A difference in medians is not yet a finding. With six makes and four misses, the probability of superiority (Section 10.6) says how often a made shot beats a missed one on a measure (0.5 means no difference), and a bootstrap gives it a range.

PythonProbability of superiority, with a range, for every measure

Type a prediction to enable Run.

Show the expected result without running
               measure    A  low  high  clear
Release Timing vs Apex 0.04 0.00  0.25   True
   Ball Release Height 0.90 0.62  1.00   True
    Ball Release Angle 0.71 0.33  1.00  False
          Knee Flexion 0.31 0.04  0.67  False
           Elbow Angle 0.33 0.04  0.71  False

From the table to the card

The card is filled from the table by rules, so the words cannot claim more than the numbers: a measure goes in the finding only if its range leaves out 0.5; otherwise the finding says so, and the action is to collect what would decide it.

PythonFive lines for the player

Show the expected result without running
Finding   On your makes you let the ball go earlier, on the way up.
Evidence  Release Timing vs Apex: median -22.5 on makes, -7.5 on misses (ms; minus is before the top of the jump); the make was earlier in 96% of make-miss pairs.
How sure  Moderate: ten shots in one session, and 5 measures checked, so one clear result could be luck.
Action    Next session, aim to let the ball go on the way up, before the top of your jump.
Retest    Film 20 more shots from the same spot over two sessions and rerun this card.
Release timing relative to the top of the jump for ten shots, as dots on one line for made shots (filled) and one for missed shots (open), with each group's median marked; made shots sit further before the top.

The release angle, the measure the chapter looked at first, does not separate the shots: its range runs from 0.33 to 1.00. Release timing does: in 96% of make-miss pairs the make left the hand earlier before the top of the jump, and release height points the same way. Two cautions go on the card in words, not numbers: ten shots from one session, and five measures checked, so one clear result could still be luck. That is why the action is one small change and the retest is already booked. Had no range left out 0.5, the rule would have written "not yet", which is a finding too.

For the athlete: "On your makes you let the ball go a little earlier, on the way up; try that on purpose next session, and we will film 20 more to see if it holds."

Action card

Action card
Finding
On your makes you let the ball go earlier, on the way up.
Evidence
Release timing: median 22.5 ms before the top of the jump on makes, 7.5 ms on misses; the make was earlier in 96% of make-miss pairs.
How sure
Moderate: ten shots in one session, and five measures checked, so one clear result could be luck.
Action
Next session, aim to let the ball go on the way up, before the top of your jump.
Test again
Film 20 more shots from the same spot over two sessions and rerun the card.

Check yourself

  1. The release-angle medians differ by two degrees, yet release angle is not on the card. Why?

  2. Why fill the card's lines from the table by rules instead of writing them by hand?

0 of 2 answered · 0 right the first time

Built 2026-11-30 with Python packages numpy 2.5.5, pandas 3.1.1, matplotlib 3.11.2. In the browser the same code runs on Pyodide, so the last digit can differ.