==============================================================================
VARIATION: unmerge_d0_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 = 6 rats, 70 sessions   raw day coverage: treat 0..13, control 0..13
(equal day coverage over this window)

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

Linear mixed-effects model fit by ML

Model information:
    Number of observations              70
    Fixed effects coefficients           4
    Random effects coefficients          6
    Covariance parameters                2

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

Model fit statistics:
    AIC        BIC        LogLikelihood    Deviance
    -114.71    -101.22    63.353           -126.71 

Fixed effects coefficients (95% CIs):
    Name                   Estimate    SE           tStat     DF    pValue    
    {'(Intercept)'}         0.25633     0.036798    6.9659    66    1.8623e-09
    {'day'        }        0.032331    0.0047766    6.7686    66    4.1691e-09
    {'stim'       }         0.03233     0.051391    0.6291    66       0.53146
    {'day:stim'   }        0.011248    0.0061725    1.8223    66       0.07294


    Lower         Upper   
       0.18286      0.3298
      0.022794    0.041868
     -0.070275     0.13493
    -0.0010756    0.023572

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


    Lower       Upper   
    0.016492    0.092125

Group: Error
    Name               Estimate    Lower      Upper  
    {'Res Std'}        0.093402    0.07855    0.11106


effect                     t(df) / F(df1)     p (resid)    Satterthwaite: p (df)
----------------------------------------------------------------------------
stim x day (interaction)   t(66)=  1.82 F(1)=  3.321  p=0.07294    p=0.07278 (df=68)
day (learning)             t(66)=  6.77 F(1)= 45.814  p=4.169e-09    p=3.37e-09 (df=70)
stim (main, window start)  t(66)=  0.63 F(1)=  0.396  p=0.5315    p=0.5377 (df=17)
interaction 95% CI: [-0.001076, +0.02357]
HONEST LME (per-animal random slope, day|rat): interaction F(1,41.8)=3.20, p=0.08108
  (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.07294, slope diff=+0.01125)
Paper (N=24, count): interaction t(227)=2.68, F(1)=7.12, p=0.008.
