==============================================================================
POWER SIMULATION -- boxa_b2_d0_10   [metric: success RATE]
==============================================================================
model: behavior ~ stim + day + stim:day + (1|rat)   (behavior = success RATE; day within-window)
observed groups: stim n=4, control n=3   nrep=120, alpha=0.05
ground truth: stim:day=+0.01317/day, rat SD=0.04399, residual SD=0.08748, days=11

 true stim:day interaction = +0.01317 (100% of observed)
  N/group  | per-animal power | LME power
  ------------------------------------------
  3        |  0.23            |  0.45  <- observed
  5        |  0.56            |  0.71
  8        |  0.82            |  0.86
  12       |  0.99            |  0.99
  16       |  0.98            |  1.00
  24       |  1.00            |  1.00

 true stim:day interaction = +0.006586 (50% of observed)
  N/group  | per-animal power | LME power
  ------------------------------------------
  3        |  0.12            |  0.13  <- observed
  5        |  0.12            |  0.19
  8        |  0.33            |  0.34
  12       |  0.38            |  0.42
  16       |  0.64            |  0.64
  24       |  0.77            |  0.77

Read the per-animal column as the honest power; LME is optimistic (obs-level DF).
