==============================================================================
VARIATION: naive_boxa_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-A, Electrode-Box-A2, Naive
N = 11 rats, 113 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             113
    Fixed effects coefficients           4
    Random effects coefficients         11
    Covariance parameters                2

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

Model fit statistics:
    AIC        BIC        LogLikelihood    Deviance
    -177.53    -161.16    94.764           -189.53 

Fixed effects coefficients (95% CIs):
    Name                   Estimate     SE           tStat     DF     pValue    
    {'(Intercept)'}          0.19077     0.027729    6.8796    109    3.9606e-10
    {'day'        }         0.044032    0.0036365    12.108    109     6.709e-22
    {'stim'       }         0.064146     0.051551    1.2443    109       0.21605
    {'day:stim'   }        0.0088928    0.0065096    1.3661    109       0.17471


    Lower         Upper   
       0.13581     0.24572
      0.036824    0.051239
     -0.038027     0.16632
    -0.0040089    0.021795

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


    Lower       Upper   
    0.028096    0.092721

Group: Error
    Name               Estimate    Lower       Upper  
    {'Res Std'}        0.09808     0.085453    0.11257


effect                     t(df) / F(df1)     p (resid)    Satterthwaite: p (df)
----------------------------------------------------------------------------
stim x day (interaction)   t(109)=  1.37 F(1)=  1.866  p=0.1747    p=0.1749 (df=103)
day (learning)             t(109)= 12.11 F(1)=146.612  p=6.709e-22    p=1.131e-21 (df=105)
stim (main, window start)  t(109)=  1.24 F(1)=  1.548  p=0.2161    p=0.2244 (df=26)
interaction 95% CI: [-0.004009, +0.02179]
HONEST LME (per-animal random slope, day|rat): interaction F(1,9.6)=1.38, p=0.2681
  (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.1747, slope diff=+0.008893)
Paper (N=24, count): interaction t(227)=2.68, F(1)=7.12, p=0.008.
