analysis(matlab): rate + count outputs, variation batch 1
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,68 @@
|
||||
==============================================================================
|
||||
VARIATION: boxa_b2_d6_10 [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-A, Electrode-Box-B2
|
||||
control (stim=0): Electrode-Box-A2
|
||||
N = 6 rats, 30 sessions raw day coverage: treat 6..10, control 6..10
|
||||
(equal day coverage over this window)
|
||||
|
||||
==============================================================================
|
||||
FULL MODEL SUMMARY -- fitlme
|
||||
==============================================================================
|
||||
|
||||
Linear mixed-effects model fit by ML
|
||||
|
||||
Model information:
|
||||
Number of observations 30
|
||||
Fixed effects coefficients 4
|
||||
Random effects coefficients 6
|
||||
Covariance parameters 2
|
||||
|
||||
Formula:
|
||||
behavior ~ 1 + day*stim + (1 | rat)
|
||||
|
||||
Model fit statistics:
|
||||
AIC BIC LogLikelihood Deviance
|
||||
-69.131 -60.724 40.566 -81.131
|
||||
|
||||
Fixed effects coefficients (95% CIs):
|
||||
Name Estimate SE tStat DF pValue
|
||||
{'(Intercept)'} 0.52619 0.040432 13.014 26 6.8005e-13
|
||||
{'day' } 0.0099391 0.012422 0.80014 26 0.43088
|
||||
{'stim' } 0.099864 0.049519 2.0167 26 0.054168
|
||||
{'day:stim' } 0.0062025 0.015213 0.4077 26 0.68683
|
||||
|
||||
|
||||
Lower Upper
|
||||
0.44308 0.6093
|
||||
-0.015594 0.035472
|
||||
-0.0019243 0.20165
|
||||
-0.025069 0.037474
|
||||
|
||||
Random effects covariance parameters (95% CIs):
|
||||
Group: rat (6 Levels)
|
||||
Name1 Name2 Type Estimate
|
||||
{'(Intercept)'} {'(Intercept)'} {'std'} 0.037656
|
||||
|
||||
|
||||
Lower Upper
|
||||
0.016562 0.085613
|
||||
|
||||
Group: Error
|
||||
Name Estimate Lower Upper
|
||||
{'Res Std'} 0.055552 0.041864 0.073715
|
||||
|
||||
|
||||
effect t(df) / F(df1) p (resid) Satterthwaite: p (df)
|
||||
----------------------------------------------------------------------------
|
||||
stim x day (interaction) t(26)= 0.41 F(1)= 0.166 p=0.6868 p=0.6871 (df=24)
|
||||
day (learning) t(26)= 0.80 F(1)= 0.640 p=0.4309 p=0.4315 (df=24)
|
||||
stim (main, window start) t(26)= 2.02 F(1)= 4.067 p=0.05417 p=0.06308 (df=14)
|
||||
interaction 95% CI: [-0.02507, +0.03747]
|
||||
HONEST LME (per-animal random slope, day|rat): interaction F(1,6.0)=0.10, p=0.7623
|
||||
(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.6868, slope diff=+0.006202)
|
||||
Paper (N=24, count): interaction t(227)=2.68, F(1)=7.12, p=0.008.
|
||||
Reference in New Issue
Block a user