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

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Experiments DB Dev
2026-07-24 02:32:51 -04:00
parent 1009f263e8
commit 0a438a4649
72 changed files with 1873 additions and 895 deletions
@@ -1,5 +1,5 @@
==============================================================================
VARIATION: boxa_a2_d0_10
VARIATION: boxa_a2_d0_10 [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(68)= 1.18 F(1)= 1.397 p=0.2414 p=0.2412 (df=72)
day (learning) t(68)= 12.04 F(1)=144.862 p=1.64e-18 p=6.575e-19 (df=72)
stim (main, window start) t(68)= 1.16 F(1)= 1.336 p=0.2517 p=0.2515 (df=72)
interaction 95% CI: [-0.83, +3.22]
interaction 95% CI: [-0.8251, +3.222]
HONEST LME (per-animal random slope, day|rat): interaction F(1,14.0)=0.68, p=0.4245
(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.2414, slope diff=+1.20)
Paper (N=24): interaction t(227)=2.68, F(1)=7.12, p=0.008.
INTERPRETATION: stim x day interaction n.s. -- slopes parallel (no differential learning rate) (p=0.2414, slope diff=+1.198)
Paper (N=24, count): interaction t(227)=2.68, F(1)=7.12, p=0.008.