==============================================================================
LOG-DAY MODEL + COHEN'S f + POWER -- boxa_a2_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=3, control n=3   nrep=120, alpha=0.05

--- fitted on real data ---
stim x log(day) interaction: F(1,26)=0.064  p(resid)=0.8023  p(Satt)=0.8025 (df=24)
  honest per-animal random slope (log-day): F(1,6.0)=0.04  p=0.8568
Cohen's f (interaction, partial eta^2=0.001) = 0.034  (small; f: .10 small, .25 medium, .40 large)

--- power simulation (log-day ground truth: stim:logday=-0.03226, ratSD=0.04467, resSD=0.05581) ---

 true stim:log(day) = -0.03226 (100% of observed)
  N/group  | per-animal power | LME power
  ------------------------------------------
  3        |  0.05            |  0.05  <- observed
  5        |  0.03            |  0.03
  8        |  0.07            |  0.08
  12       |  0.12            |  0.12
  16       |  0.15            |  0.12
  24       |  0.08            |  0.09

 true stim:log(day) = -0.01613 (50% of observed)
  N/group  | per-animal power | LME power
  ------------------------------------------
  3        |  0.03            |  0.07  <- observed
  5        |  0.07            |  0.04
  8        |  0.04            |  0.03
  12       |  0.06            |  0.07
  16       |  0.06            |  0.05
  24       |  0.07            |  0.07

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