==============================================================================
VARIATION: unmerge_d6_13   [metric: success RATE (success/attempts)]
==============================================================================
model: behavior ~ stim + day + stim:day + (1|rat)   (behavior = success RATE (success/attempts))
day = training day within window (0 = first analyzed day)
treatment (stim=1): Electrode-Box-B2
control   (stim=0): Electrode-Box-A2
N = 5 rats, 34 sessions   raw day coverage: treat 6..13, control 6..13
(equal day coverage over this window)

==============================================================================
FULL MODEL SUMMARY -- fitlme
==============================================================================

Linear mixed-effects model fit by ML

Model information:
    Number of observations              34
    Fixed effects coefficients           4
    Random effects coefficients          5
    Covariance parameters                2

Formula:
    behavior ~ 1 + day*stim + (1 | rat)

Model fit statistics:
    AIC        BIC        LogLikelihood    Deviance
    -85.035    -75.877    48.518           -97.035 

Fixed effects coefficients (95% CIs):
    Name                   Estimate     SE           tStat      DF    pValue   
    {'(Intercept)'}          0.53562       0.0416     12.875    30    9.415e-14
    {'day'        }        0.0032833    0.0069042    0.47554    30      0.63784
    {'stim'       }          0.10269     0.053584     1.9164    30      0.06488
    {'day:stim'   }         0.012156    0.0086128     1.4114    30      0.16841


    Lower         Upper   
       0.45066     0.62058
     -0.010817    0.017384
    -0.0067429     0.21212
    -0.0054334    0.029746

Random effects covariance parameters (95% CIs):
Group: rat (5 Levels)
    Name1                  Name2                  Type           Estimate
    {'(Intercept)'}        {'(Intercept)'}        {'std'}        0.048154


    Lower       Upper   
    0.023654    0.098032

Group: Error
    Name               Estimate    Lower       Upper   
    {'Res Std'}        0.050284    0.038906    0.064989


effect                     t(df) / F(df1)     p (resid)    Satterthwaite: p (df)
----------------------------------------------------------------------------
stim x day (interaction)   t(30)=  1.41 F(1)=  1.992  p=0.1684    p=0.1684 (df=30)
day (learning)             t(30)=  0.48 F(1)=  0.226  p=0.6378    p=0.6378 (df=30)
stim (main, window start)  t(30)=  1.92 F(1)=  3.673  p=0.06488    p=0.09052 (df=8)
interaction 95% CI: [-0.005433, +0.02975]
HONEST LME (per-animal random slope, day|rat): interaction F(1,2.3)=0.03, p=0.8749
  (Satterthwaite DF ~= residual on this random-intercept model; the random-slope
   model above is the honest learning-rate test -- DF collapses toward the animal count.)
INTERPRETATION: stim x day interaction n.s. -- slopes parallel (no differential learning rate) (p=0.1684, slope diff=+0.01216)
Paper (N=24, count): interaction t(227)=2.68, F(1)=7.12, p=0.008.
