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

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Experiments DB Dev
2026-07-24 02:32:52 -04:00
parent 6ba21a1a35
commit 0e16690c8f
72 changed files with 1875 additions and 897 deletions
@@ -1,5 +1,5 @@
==============================================================================
VARIATION: naive_boxa_d6_10
VARIATION: naive_boxa_d6_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(46)= -0.73 F(1)= 0.535 p=0.4682 p=0.4687 (df=40)
day (learning) t(46)= 4.77 F(1)= 22.779 p=1.877e-05 p=2.436e-05 (df=40)
stim (main, window start) t(46)= 2.54 F(1)= 6.429 p=0.01469 p=0.02198 (df=16)
interaction 95% CI: [-6.07, +2.84]
interaction 95% CI: [-6.074, +2.836]
HONEST LME (per-animal random slope, day|rat): interaction F(1,10.0)=0.41, p=0.5344
(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.4682, slope diff=-1.62)
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.4682, slope diff=-1.619)
Paper (N=24, count): interaction t(227)=2.68, F(1)=7.12, p=0.008.