==============================================================================
POWER SIMULATION -- boxa_b2_d0_5   [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.0427/day, rat SD=0.04855, residual SD=0.08495, days=6

 true stim:day interaction = +0.0427 (100% of observed)
  N/group  | per-animal power | LME power
  ------------------------------------------
  3        |  0.35            |  0.74  <- 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.02135 (50% of observed)
  N/group  | per-animal power | LME power
  ------------------------------------------
  3        |  0.11            |  0.25  <- observed
  5        |  0.25            |  0.36
  8        |  0.44            |  0.47
  12       |  0.68            |  0.73
  16       |  0.80            |  0.82
  24       |  0.95            |  0.94

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