==============================================================================
POWER SIMULATION -- right_only_d0_10   [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.01393/day, rat SD=0.04403, residual SD=0.08402, days=11

 true stim:day interaction = +0.01393 (100% of observed)
  N/group  | per-animal power | LME power
  ------------------------------------------
  3        |  0.28            |  0.53  <- observed
  5        |  0.65            |  0.81
  8        |  0.89            |  0.90
  12       |  0.99            |  1.00
  16       |  1.00            |  1.00
  24       |  1.00            |  1.00

 true stim:day interaction = +0.006967 (50% of observed)
  N/group  | per-animal power | LME power
  ------------------------------------------
  3        |  0.13            |  0.16  <- observed
  5        |  0.15            |  0.23
  8        |  0.36            |  0.44
  12       |  0.43            |  0.48
  16       |  0.72            |  0.72
  24       |  0.84            |  0.87

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