==============================================================================
POWER SIMULATION -- right_only_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.04981/day, rat SD=0.04929, residual SD=0.07366, days=6

 true stim:day interaction = +0.04981 (100% of observed)
  N/group  | per-animal power | LME power
  ------------------------------------------
  3        |  0.60            |  0.91  <- observed
  5        |  0.97            |  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 = +0.0249 (50% of observed)
  N/group  | per-animal power | LME power
  ------------------------------------------
  3        |  0.15            |  0.37  <- observed
  5        |  0.49            |  0.55
  8        |  0.73            |  0.81
  12       |  0.88            |  0.89
  16       |  0.97            |  0.97
  24       |  1.00            |  1.00

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