Apertus
← Library
sleep experiment

AM vs PM exercise

Test whether evening exercise affects your sleep. 4-week crossover: alternate AM (before 9am) and PM (after 5pm) exercise blocks.

A
Treatment A
AM exercise (before 9am)
B
Treatment B
PM exercise (after 5pm)
Outcome
Total sleep time
measured in minutes
Design
ABAB crossover
28 days · 14 A/B pairs
Statistical power
79%
With 14 A/B pairs and an expected effect size of d = 0.80, this experiment has a 79% chance of detecting a real effect (α = 0.05, two-sided).
To reach 80% power for this effect you'd need ~15 pairs.
Confounders to control
  • ·caffeine after 2pm
  • ·alcohol the night before
  • ·bedtime ±15min of 10pm
Full protocol document
## Protocol: AM vs PM exercise

**Goal:** Determine whether the timing of your daily workout affects your total sleep time.

**Design:** 4-week crossover, ABAB. 7 days AM exercise, 7 days PM exercise, repeat.

**Constraints (apply every day):**
- Caffeine cutoff at 2pm.
- No alcohol the night before any test day.
- Bedtime within ±15 minutes of 10:00pm.
- Same intensity and duration for AM and PM workouts (zone-2, 45 min).

**Outcome:** Total sleep time (minutes), pulled from your sleep tracker.

**Analysis:** Paired t-test on (mean A) vs (mean B); 80% power to detect a 20-minute delta.
Start a run
Mode