analysis(matlab): rate + count outputs, variation batch 4

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Experiments DB Dev
2026-07-24 02:32:53 -04:00
parent 0e16690c8f
commit 1606eb698b
72 changed files with 1869 additions and 891 deletions
@@ -1,5 +1,5 @@
==============================================================================
VARIATION: right_only_d0_13
VARIATION: right_only_d0_13 [metric: success COUNT]
==============================================================================
model: behavior ~ stim + day + stim:day + (1|rat) (behavior = success COUNT)
day = training day within window (0 = first analyzed day)
@@ -60,9 +60,9 @@ effect t(df) / F(df1) p (resid) Satterthwaite: p (df)
stim x day (interaction) t(80)= 2.01 F(1)= 4.031 p=0.04804 p=0.04788 (df=84)
day (learning) t(80)= 9.45 F(1)= 89.224 p=1.171e-14 p=7.518e-15 (df=84)
stim (main, window start) t(80)= 0.63 F(1)= 0.401 p=0.5285 p=0.5284 (df=84)
interaction 95% CI: [+0.02, +3.39]
interaction 95% CI: [+0.01501, +3.385]
HONEST LME (per-animal random slope, day|rat): interaction F(1,20.2)=2.92, p=0.1029
(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.04804, slope diff=+1.70)
Paper (N=24): interaction t(227)=2.68, F(1)=7.12, p=0.008.
INTERPRETATION: stim x day interaction SIGNIFICANT positive -- treatment improves FASTER (benefit accumulates) (p=0.04804, slope diff=+1.7)
Paper (N=24, count): interaction t(227)=2.68, F(1)=7.12, p=0.008.