==============================================================================
POWER SIMULATION -- naive_a2_d0_13   [metric: success RATE]
==============================================================================
model: behavior ~ stim + day + stim:day + (1|rat)   (behavior = success RATE; day within-window)
observed groups: stim n=3, control n=7   nrep=120, alpha=0.05
ground truth: stim:day=+0.01209/day, rat SD=0.0442, residual SD=0.1045, days=14

 true stim:day interaction = +0.01209 (100% of observed)
  N/group  | per-animal power | LME power
  ------------------------------------------
  3        |  0.27            |  0.64  <- observed
  5        |  0.62            |  0.75
  8        |  0.88            |  0.93
  12       |  0.98            |  1.00
  16       |  0.99            |  0.99
  24       |  1.00            |  1.00

 true stim:day interaction = +0.006044 (50% of observed)
  N/group  | per-animal power | LME power
  ------------------------------------------
  3        |  0.13            |  0.24  <- observed
  5        |  0.21            |  0.24
  8        |  0.46            |  0.47
  12       |  0.53            |  0.55
  16       |  0.70            |  0.77
  24       |  0.82            |  0.81

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