==============================================================================
POWER SIMULATION -- boxa_a2_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=4   nrep=120, alpha=0.05
ground truth: stim:day=+0.04308/day, rat SD=0.03963, residual SD=0.08479, days=6

 true stim:day interaction = +0.04308 (100% of observed)
  N/group  | per-animal power | LME power
  ------------------------------------------
  3        |  0.36            |  0.73  <- observed
  5        |  0.78            |  0.91
  8        |  0.98            |  0.98
  12       |  1.00            |  1.00
  16       |  1.00            |  1.00
  24       |  1.00            |  1.00

 true stim:day interaction = +0.02154 (50% of observed)
  N/group  | per-animal power | LME power
  ------------------------------------------
  3        |  0.11            |  0.25  <- observed
  5        |  0.26            |  0.38
  8        |  0.44            |  0.46
  12       |  0.68            |  0.72
  16       |  0.81            |  0.81
  24       |  0.95            |  0.94

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