==============================================================================
LOG-DAY MODEL + COHEN'S f + POWER -- boxa_b2_d6_10   [metric: success RATE]
==============================================================================
model: behavior ~ stim + log(day) + stim:log(day) + (1|rat)   (behavior = success RATE)
log(day) uses 1-indexed training day (our day 0 = paper "Day 1")
observed groups: stim n=4, control n=2   nrep=120, alpha=0.05

--- fitted on real data ---
stim x log(day) interaction: F(1,26)=0.195  p(resid)=0.6626  p(Satt)=0.6629 (df=24)
  honest per-animal random slope (log-day): F(1,6.0)=0.11  p=0.7527
Cohen's f (interaction, partial eta^2=0.004) = 0.059  (small; f: .10 small, .25 medium, .40 large)

--- power simulation (log-day ground truth: stim:logday=+0.05955, ratSD=0.03763, resSD=0.05566) ---

 true stim:log(day) = +0.05955 (100% of observed)
  N/group  | per-animal power | LME power
  ------------------------------------------
  3        |  0.02            |  0.04
  5        |  0.06            |  0.12
  8        |  0.11            |  0.09
  12       |  0.11            |  0.14
  16       |  0.12            |  0.15
  24       |  0.27            |  0.31

 true stim:log(day) = +0.02978 (50% of observed)
  N/group  | per-animal power | LME power
  ------------------------------------------
  3        |  0.06            |  0.09
  5        |  0.07            |  0.07
  8        |  0.04            |  0.07
  12       |  0.09            |  0.08
  16       |  0.09            |  0.10
  24       |  0.12            |  0.15

Read per-animal as the honest power; LME matches the paper's power code (optimistic).
