==============================================================================
POWER SIMULATION -- right_only_d6_13   [metric: # successes (count)]
==============================================================================
model: behavior ~ stim + day + stim:day + (1|rat)   (behavior = # successes (count); day within-window)
observed groups: stim n=4, control n=2   nrep=120, alpha=0.05
ground truth: stim:day=+2.758/day, rat SD=6.469, residual SD=7.367, days=8

 true stim:day interaction = +2.758 (100% of observed)
  N/group  | per-animal power | LME power
  ------------------------------------------
  3        |  0.56            |  0.83
  5        |  0.93            |  0.98
  8        |  1.00            |  1.00
  12       |  1.00            |  1.00
  16       |  1.00            |  1.00
  24       |  1.00            |  1.00

 true stim:day interaction = +1.379 (50% of observed)
  N/group  | per-animal power | LME power
  ------------------------------------------
  3        |  0.15            |  0.28
  5        |  0.36            |  0.53
  8        |  0.61            |  0.69
  12       |  0.80            |  0.85
  16       |  0.93            |  0.93
  24       |  0.99            |  0.99

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