==============================================================================
VARIATION: boxa_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-A, Electrode-Box-A2
N = 6 rats, 30 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              30
    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
    -67.521    -59.114    39.761           -79.521 

Fixed effects coefficients (95% CIs):
    Name                   Estimate      SE          tStat       DF
    {'(Intercept)'}           0.54193    0.035861      15.112    26
    {'day'        }          0.015949    0.010163      1.5693    26
    {'stim'       }           0.10168    0.050715      2.0049    26
    {'day:stim'   }        -0.0037489    0.014373    -0.26083    26


    pValue        Lower         Upper   
    2.1656e-14       0.46821     0.61564
       0.12868    -0.0049418    0.036839
       0.05549    -0.0025676     0.20592
       0.79628     -0.033292    0.025795

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


    Lower       Upper   
    0.021196    0.094306

Group: Error
    Name               Estimate    Lower       Upper   
    {'Res Std'}        0.055665    0.041949    0.073866


effect                     t(df) / F(df1)     p (resid)    Satterthwaite: p (df)
----------------------------------------------------------------------------
stim x day (interaction)   t(26)= -0.26 F(1)=  0.068  p=0.7963    p=0.7964 (df=24)
day (learning)             t(26)=  1.57 F(1)=  2.463  p=0.1287    p=0.1297 (df=24)
stim (main, window start)  t(26)=  2.00 F(1)=  4.020  p=0.05549    p=0.06743 (df=12)
interaction 95% CI: [-0.03329, +0.02579]
HONEST LME (per-animal random slope, day|rat): interaction F(1,6.0)=0.04, p=0.8467
  (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.7963, slope diff=-0.003749)
Paper (N=24, count): interaction t(227)=2.68, F(1)=7.12, p=0.008.
