==============================================================================
POWER SIMULATION -- right_only_d0_13   [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.01351/day, rat SD=0.03866, residual SD=0.09009, days=14

 true stim:day interaction = +0.01351 (100% of observed)
  N/group  | per-animal power | LME power
  ------------------------------------------
  3        |  0.37            |  0.82  <- observed
  5        |  0.85            |  0.93
  8        |  0.99            |  0.99
  12       |  1.00            |  1.00
  16       |  1.00            |  1.00
  24       |  1.00            |  1.00

 true stim:day interaction = +0.006756 (50% of observed)
  N/group  | per-animal power | LME power
  ------------------------------------------
  3        |  0.20            |  0.34  <- observed
  5        |  0.33            |  0.39
  8        |  0.66            |  0.69
  12       |  0.78            |  0.82
  16       |  0.93            |  0.94
  24       |  0.95            |  0.94

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