==============================================================================
POWER SIMULATION -- naive_boxa_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=8   nrep=120, alpha=0.05
ground truth: stim:day=+0.009461/day, rat SD=0.04773, residual SD=0.1046, days=14

 true stim:day interaction = +0.009461 (100% of observed)
  N/group  | per-animal power | LME power
  ------------------------------------------
  3        |  0.13            |  0.37  <- observed
  5        |  0.40            |  0.52
  8        |  0.70            |  0.72  <- observed
  12       |  0.96            |  0.96
  16       |  0.97            |  0.97
  24       |  0.99            |  0.99

 true stim:day interaction = +0.00473 (50% of observed)
  N/group  | per-animal power | LME power
  ------------------------------------------
  3        |  0.07            |  0.18  <- observed
  5        |  0.18            |  0.20
  8        |  0.34            |  0.32  <- observed
  12       |  0.38            |  0.39
  16       |  0.48            |  0.53
  24       |  0.64            |  0.63

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