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

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 1606eb698b
commit fd40b6fb54
48 changed files with 1247 additions and 595 deletions
@@ -1,5 +1,5 @@
==============================================================================
VARIATION: unmerge_d6_13
VARIATION: unmerge_d6_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(30)= 1.71 F(1)= 2.933 p=0.0971 p=0.09701 (df=30)
day (learning) t(30)= 1.61 F(1)= 2.598 p=0.1175 p=0.1174 (df=30)
stim (main, window start) t(30)= 1.69 F(1)= 2.856 p=0.1014 p=0.1269 (df=9)
interaction 95% CI: [-0.44, +4.97]
interaction 95% CI: [-0.4363, +4.97]
HONEST LME (per-animal random slope, day|rat): interaction F(1,13.9)=2.48, p=0.1382
(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.0971, slope diff=+2.27)
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.0971, slope diff=+2.267)
Paper (N=24, count): interaction t(227)=2.68, F(1)=7.12, p=0.008.