analysis(matlab): matched-effort comparison (prev _f full vs current 0-3)
Add make_matched_effort.m: pick the current-study day cutoff whose per-animal cumulative attempts best match the previous (_f) study's full-span total (~405 attempts/animal -> current days 0-3), then fit the paper LME on both. Two variation folders (data.csv + analyze.m + result.txt): variations/prev_f_full/ b2_f vs a2_f, days 0-9 (24 rats) variations/matched_current_d0_3/ Box-B2 vs Box-A2, 0-3 (6 rats) At matched cumulative effort both show a significant positive stim x day interaction (prev p=0.008 +0.56/day; current-0-3 p=0.004 +10.2/day) -- the tDCS acceleration replicates at equal practice, though the count slopes are not directly comparable across datasets given differing attempts/session. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
subject,group,day,success,total,stim
|
||||
Banh-mi-1,Electrode-Box-B2,0,13,84,1
|
||||
Banh-mi-1,Electrode-Box-B2,1,35,86,1
|
||||
Banh-mi-1,Electrode-Box-B2,2,47,110,1
|
||||
Banh-mi-1,Electrode-Box-B2,3,65,140,1
|
||||
Banh-mi-2,Electrode-Box-A2,0,25,97,0
|
||||
Banh-mi-2,Electrode-Box-A2,1,22,101,0
|
||||
Banh-mi-2,Electrode-Box-A2,2,22,119,0
|
||||
Banh-mi-2,Electrode-Box-A2,3,29,118,0
|
||||
Egg-tart-1,Electrode-Box-B2,0,7,56,1
|
||||
Egg-tart-1,Electrode-Box-B2,1,16,78,1
|
||||
Egg-tart-1,Electrode-Box-B2,2,23,103,1
|
||||
Egg-tart-1,Electrode-Box-B2,3,63,120,1
|
||||
Egg-tart-2,Electrode-Box-A2,0,9,32,0
|
||||
Egg-tart-2,Electrode-Box-A2,1,2,38,0
|
||||
Egg-tart-2,Electrode-Box-A2,2,31,93,0
|
||||
Egg-tart-2,Electrode-Box-A2,3,44,101,0
|
||||
Root-beer-1,Electrode-Box-B2,0,11,85,1
|
||||
Root-beer-1,Electrode-Box-B2,1,18,76,1
|
||||
Root-beer-1,Electrode-Box-B2,2,40,105,1
|
||||
Root-beer-1,Electrode-Box-B2,3,55,134,1
|
||||
Root-beer-2,Electrode-Box-A2,0,22,74,0
|
||||
Root-beer-2,Electrode-Box-A2,1,31,87,0
|
||||
Root-beer-2,Electrode-Box-A2,2,49,134,0
|
||||
Root-beer-2,Electrode-Box-A2,3,31,89,0
|
||||
|
Reference in New Issue
Block a user