analysis(matlab): rate + count outputs, variation batch 4
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,68 @@
|
||||
==============================================================================
|
||||
VARIATION: right_only_d0_5 [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 = 7 rats, 42 sessions raw day coverage: treat 0..5, control 0..5
|
||||
(equal day coverage over this window)
|
||||
|
||||
==============================================================================
|
||||
FULL MODEL SUMMARY -- fitlme
|
||||
==============================================================================
|
||||
|
||||
Linear mixed-effects model fit by ML
|
||||
|
||||
Model information:
|
||||
Number of observations 42
|
||||
Fixed effects coefficients 4
|
||||
Random effects coefficients 7
|
||||
Covariance parameters 2
|
||||
|
||||
Formula:
|
||||
behavior ~ 1 + day*stim + (1 | rat)
|
||||
|
||||
Model fit statistics:
|
||||
AIC BIC LogLikelihood Deviance
|
||||
-78.771 -68.345 45.385 -90.771
|
||||
|
||||
Fixed effects coefficients (95% CIs):
|
||||
Name Estimate SE tStat DF pValue
|
||||
{'(Intercept)'} 0.2186 0.041919 5.2147 38 6.7762e-06
|
||||
{'day' } 0.043366 0.010166 4.2656 38 0.00012743
|
||||
{'stim' } -0.074496 0.055454 -1.3434 38 0.18712
|
||||
{'day:stim' } 0.049806 0.013449 3.7033 38 0.00067357
|
||||
|
||||
|
||||
Lower Upper
|
||||
0.13374 0.30346
|
||||
0.022785 0.063946
|
||||
-0.18676 0.037766
|
||||
0.02258 0.077032
|
||||
|
||||
Random effects covariance parameters (95% CIs):
|
||||
Group: rat (7 Levels)
|
||||
Name1 Name2 Type Estimate
|
||||
{'(Intercept)'} {'(Intercept)'} {'std'} 0.049289
|
||||
|
||||
|
||||
Lower Upper
|
||||
0.023894 0.10168
|
||||
|
||||
Group: Error
|
||||
Name Estimate Lower Upper
|
||||
{'Res Std'} 0.073663 0.058279 0.093108
|
||||
|
||||
|
||||
effect t(df) / F(df1) p (resid) Satterthwaite: p (df)
|
||||
----------------------------------------------------------------------------
|
||||
stim x day (interaction) t(38)= 3.70 F(1)= 13.715 p=0.0006736 p=0.0007295 (df=35)
|
||||
day (learning) t(38)= 4.27 F(1)= 18.195 p=0.0001274 p=0.0001438 (df=35)
|
||||
stim (main, window start) t(38)= -1.34 F(1)= 1.805 p=0.1871 p=0.1975 (df=16)
|
||||
interaction 95% CI: [+0.02258, +0.07703]
|
||||
HONEST LME (per-animal random slope, day|rat): interaction F(1,7.0)=9.42, p=0.0181
|
||||
(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 SIGNIFICANT positive -- treatment improves FASTER (benefit accumulates) (p=0.0006736, slope diff=+0.04981)
|
||||
Paper (N=24, count): interaction t(227)=2.68, F(1)=7.12, p=0.008.
|
||||
Reference in New Issue
Block a user