==============================================================================
VARIATION: unmerge_d6_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 = 5 rats, 25 sessions   raw day coverage: treat 6..10, control 6..10
(equal day coverage over this window)

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

Linear mixed-effects model fit by ML

Model information:
    Number of observations              25
    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
    -55.071    -47.758    33.535           -67.071 

Fixed effects coefficients (95% CIs):
    Name                   Estimate     SE          tStat      DF    pValue    
    {'(Intercept)'}          0.52619    0.041587     12.653    21    2.7251e-11
    {'day'        }        0.0099391    0.012456    0.79797    21       0.43382
    {'stim'       }          0.11742    0.053689      2.187    21      0.040203
    {'day:stim'   }        0.0022606     0.01608    0.14058    21       0.88954


    Lower        Upper   
       0.4397     0.61267
    -0.015964    0.035842
    0.0057634     0.22907
     -0.03118    0.035701

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


    Lower       Upper   
    0.016761    0.095298

Group: Error
    Name               Estimate    Lower       Upper   
    {'Res Std'}        0.055703    0.040859    0.075939


effect                     t(df) / F(df1)     p (resid)    Satterthwaite: p (df)
----------------------------------------------------------------------------
stim x day (interaction)   t(21)=  0.14 F(1)=  0.020  p=0.8895    p=0.8896 (df=20)
day (learning)             t(21)=  0.80 F(1)=  0.637  p=0.4338    p=0.4343 (df=20)
stim (main, window start)  t(21)=  2.19 F(1)=  4.783  p=0.0402    p=0.05066 (df=11)
interaction 95% CI: [-0.03118, +0.0357]
HONEST LME (per-animal random slope, day|rat): interaction F(1,5.0)=0.01, p=0.9219
  (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.8895, slope diff=+0.002261)
Paper (N=24, count): interaction t(227)=2.68, F(1)=7.12, p=0.008.
