==============================================================================
POWER SIMULATION -- naive_boxa_d0_5   [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.05713/day, rat SD=0.05041, residual SD=0.09994, days=6

 true stim:day interaction = +0.05713 (100% of observed)
  N/group  | per-animal power | LME power
  ------------------------------------------
  3        |  0.42            |  0.85  <- observed
  5        |  0.86            |  0.96
  8        |  1.00            |  1.00  <- observed
  12       |  1.00            |  1.00
  16       |  1.00            |  1.00
  24       |  1.00            |  1.00

 true stim:day interaction = +0.02856 (50% of observed)
  N/group  | per-animal power | LME power
  ------------------------------------------
  3        |  0.12            |  0.32  <- observed
  5        |  0.32            |  0.44
  8        |  0.57            |  0.66  <- observed
  12       |  0.74            |  0.79
  16       |  0.89            |  0.88
  24       |  0.97            |  0.99

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