==============================================================================
VARIATION: right_only_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, Right-Electrode
control   (stim=0): 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
    -68.28    -59.872    40.14            -80.28  

Fixed effects coefficients (95% CIs):
    Name                   Estimate     SE          tStat      DF    pValue    
    {'(Intercept)'}          0.52619    0.041043      12.82    26    9.5461e-13
    {'day'        }        0.0099391    0.012595    0.78916    26       0.43716
    {'stim'       }         0.090314    0.050267     1.7967    26      0.084015
    {'day:stim'   }           0.0102    0.015425    0.66127    26       0.51426


    Lower        Upper   
      0.44182     0.61055
    -0.015949    0.035828
    -0.013012     0.19364
    -0.021507    0.041907

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


    Lower       Upper   
    0.016862    0.086916

Group: Error
    Name               Estimate    Lower       Upper   
    {'Res Std'}        0.056325    0.042446    0.074741


effect                     t(df) / F(df1)     p (resid)    Satterthwaite: p (df)
----------------------------------------------------------------------------
stim x day (interaction)   t(26)=  0.66 F(1)=  0.437  p=0.5143    p=0.5147 (df=24)
day (learning)             t(26)=  0.79 F(1)=  0.623  p=0.4372    p=0.4377 (df=24)
stim (main, window start)  t(26)=  1.80 F(1)=  3.228  p=0.08402    p=0.09376 (df=14)
interaction 95% CI: [-0.02151, +0.04191]
HONEST LME (per-animal random slope, day|rat): interaction F(1,6.0)=0.23, p=0.6495
  (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.5143, slope diff=+0.0102)
Paper (N=24, count): interaction t(227)=2.68, F(1)=7.12, p=0.008.
