==============================================================================
VARIATION: naive_a2_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, Naive
N = 9 rats, 65 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              65
    Fixed effects coefficients           4
    Random effects coefficients          9
    Covariance parameters                2

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

Model fit statistics:
    AIC        BIC       LogLikelihood    Deviance
    -124.85    -111.8    68.424           -136.85 

Fixed effects coefficients (95% CIs):
    Name                   Estimate     SE           tStat      DF    pValue    
    {'(Intercept)'}          0.49381     0.029854     16.541    61    3.1921e-24
    {'day'        }         0.012224    0.0052666      2.321    61      0.023647
    {'stim'       }          0.14414     0.051782     2.7835    61      0.007149
    {'day:stim'   }        0.0034682    0.0093748    0.36995    61        0.7127


    Lower        Upper   
      0.43411      0.5535
    0.0016924    0.022755
     0.040593     0.24768
    -0.015278    0.022214

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


    Lower       Upper   
    0.029753    0.095724

Group: Error
    Name               Estimate    Lower       Upper   
    {'Res Std'}        0.076088    0.063265    0.091511


effect                     t(df) / F(df1)     p (resid)    Satterthwaite: p (df)
----------------------------------------------------------------------------
stim x day (interaction)   t(61)=  0.37 F(1)=  0.137  p=0.7127    p=0.7128 (df=58)
day (learning)             t(61)=  2.32 F(1)=  5.387  p=0.02365    p=0.02384 (df=58)
stim (main, window start)  t(61)=  2.78 F(1)=  7.748  p=0.007149    p=0.01177 (df=19)
interaction 95% CI: [-0.01528, +0.02221]
HONEST LME (per-animal random slope, day|rat): interaction F(1,7.4)=0.04, p=0.8393
  (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.7127, slope diff=+0.003468)
Paper (N=24, count): interaction t(227)=2.68, F(1)=7.12, p=0.008.
