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

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

Model fit statistics:
    AIC        BIC        LogLikelihood    Deviance
    -159.21    -143.46    85.607           -171.21 

Fixed effects coefficients (95% CIs):
    Name                   Estimate    SE           tStat     DF    pValue    
    {'(Intercept)'}         0.19588      0.02981     6.571    98    2.4247e-09
    {'day'        }         0.04169    0.0039441     10.57    98    7.0294e-18
    {'stim'       }         0.05903      0.05266     1.121    98       0.26504
    {'day:stim'   }        0.011235    0.0066828    1.6812    98      0.095917


    Lower        Upper   
      0.13672     0.25504
     0.033863    0.049517
    -0.045471     0.16353
    -0.002027    0.024497

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


    Lower       Upper   
    0.027158    0.095633

Group: Error
    Name               Estimate    Lower       Upper  
    {'Res Std'}        0.098003    0.084761    0.11331


effect                     t(df) / F(df1)     p (resid)    Satterthwaite: p (df)
----------------------------------------------------------------------------
stim x day (interaction)   t(98)=  1.68 F(1)=  2.826  p=0.09592    p=0.09609 (df=93)
day (learning)             t(98)= 10.57 F(1)=111.730  p=7.029e-18    p=9.281e-18 (df=96)
stim (main, window start)  t(98)=  1.12 F(1)=  1.257  p=0.265    p=0.2735 (df=24)
interaction 95% CI: [-0.002027, +0.0245]
HONEST LME (per-animal random slope, day|rat): interaction F(1,8.4)=2.15, p=0.1786
  (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.09592, slope diff=+0.01123)
Paper (N=24, count): interaction t(227)=2.68, F(1)=7.12, p=0.008.
