==============================================================================
VARIATION: naive_a2_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, Naive
N = 9 rats, 45 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              45
    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
    -89.86    -79.02    50.93            -101.86 

Fixed effects coefficients (95% CIs):
    Name                   Estimate     SE          tStat      DF    pValue    
    {'(Intercept)'}          0.46152    0.032656     14.133    41     2.355e-17
    {'day'        }         0.034211    0.008518     4.0163    41    0.00024603
    {'stim'       }          0.18209    0.056562     3.2193    41     0.0025147
    {'day:stim'   }        -0.022011    0.014754    -1.4919    41       0.14338


    Lower        Upper    
      0.39557      0.52747
     0.017008     0.051413
     0.067859      0.29632
    -0.051806    0.0077844

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


    Lower       Upper  
    0.034776    0.10888

Group: Error
    Name               Estimate    Lower       Upper   
    {'Res Std'}        0.06598     0.052372    0.083124


effect                     t(df) / F(df1)     p (resid)    Satterthwaite: p (df)
----------------------------------------------------------------------------
stim x day (interaction)   t(41)= -1.49 F(1)=  2.226  p=0.1434    p=0.1444 (df=36)
day (learning)             t(41)=  4.02 F(1)= 16.131  p=0.000246    p=0.0002875 (df=36)
stim (main, window start)  t(41)=  3.22 F(1)= 10.364  p=0.002515    p=0.005217 (df=16)
interaction 95% CI: [-0.05181, +0.007784]
HONEST LME (per-animal random slope, day|rat): interaction F(1,9.0)=1.61, p=0.2369
  (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.1434, slope diff=-0.02201)
Paper (N=24, count): interaction t(227)=2.68, F(1)=7.12, p=0.008.
