==============================================================================
VARIATION: unmerge_d0_10   [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, 61 sessions   raw day coverage: treat 0..10, control 0..10
(equal day coverage over this window)

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

Linear mixed-effects model fit by ML

Model information:
    Number of observations              61
    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
    -105.35    -92.689    58.677           -117.35 

Fixed effects coefficients (95% CIs):
    Name                   Estimate    SE           tStat      DF    pValue    
    {'(Intercept)'}         0.22998     0.038137     6.0304    57    1.2826e-07
    {'day'        }        0.040747    0.0055227      7.378    57    7.4583e-10
    {'stim'       }         0.02493     0.053569    0.46538    57       0.64343
    {'day:stim'   }        0.012178    0.0073113     1.6656    57       0.10127


    Lower         Upper   
       0.15361     0.30635
      0.029687    0.051806
     -0.082339      0.1322
    -0.0024627    0.026819

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


    Lower      Upper   
    0.01883    0.097462

Group: Error
    Name               Estimate    Lower       Upper  
    {'Res Std'}        0.087035    0.072173    0.10496


effect                     t(df) / F(df1)     p (resid)    Satterthwaite: p (df)
----------------------------------------------------------------------------
stim x day (interaction)   t(57)=  1.67 F(1)=  2.774  p=0.1013    p=0.1013 (df=57)
day (learning)             t(57)=  7.38 F(1)= 54.435  p=7.458e-10    p=6.427e-10 (df=59)
stim (main, window start)  t(57)=  0.47 F(1)=  0.217  p=0.6434    p=0.6483 (df=15)
interaction 95% CI: [-0.002463, +0.02682]
HONEST LME (per-animal random slope, day|rat): interaction F(1,40.5)=2.61, p=0.1136
  (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.1013, slope diff=+0.01218)
Paper (N=24, count): interaction t(227)=2.68, F(1)=7.12, p=0.008.
