969c0205e8
Add make_variations.m + variation_analyze.m generating 20 self-contained subfolders under analysis/matlab/variations/, one per grouping x day-window, each with exactly three files: data.csv (curated subset), analyze.m (a simple standalone script fitting behavior ~ stim + day + stim:day + (1|rat) on the success COUNT), and result.txt (its output). Plus variations/SUMMARY.csv. Groupings (stim=1 / stim=0, other groups dropped): unmerge B2 vs A2 right_only B2+Right vs A2 (Box-A dropped) naive_a2 B2 vs A2+Naive (Right, Box-A dropped) naive_boxa B2 vs A2+Naive+Box-A (Right dropped) Windows: 0-10, 0-13, 0-5, 6-10, 6-13. All 20 have equal day coverage. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1.7 KiB
1.7 KiB
| 1 | subject | group | day | success | total | stim |
|---|---|---|---|---|---|---|
| 2 | Banh-mi-1 | Electrode-Box-B2 | 6 | 90 | 131 | 1 |
| 3 | Banh-mi-1 | Electrode-Box-B2 | 7 | 109 | 148 | 1 |
| 4 | Banh-mi-1 | Electrode-Box-B2 | 8 | 104 | 137 | 1 |
| 5 | Banh-mi-1 | Electrode-Box-B2 | 9 | 119 | 150 | 1 |
| 6 | Banh-mi-1 | Electrode-Box-B2 | 10 | 121 | 158 | 1 |
| 7 | Banh-mi-1 | Electrode-Box-B2 | 11 | 121 | 148 | 1 |
| 8 | Banh-mi-1 | Electrode-Box-B2 | 12 | 120 | 149 | 1 |
| 9 | Banh-mi-1 | Electrode-Box-B2 | 13 | 135 | 154 | 1 |
| 10 | Banh-mi-2 | Electrode-Box-A2 | 6 | 74 | 146 | 0 |
| 11 | Banh-mi-2 | Electrode-Box-A2 | 7 | 70 | 148 | 0 |
| 12 | Banh-mi-2 | Electrode-Box-A2 | 8 | 65 | 130 | 0 |
| 13 | Banh-mi-2 | Electrode-Box-A2 | 9 | 79 | 151 | 0 |
| 14 | Banh-mi-2 | Electrode-Box-A2 | 10 | 93 | 152 | 0 |
| 15 | Egg-tart-1 | Electrode-Box-B2 | 6 | 71 | 142 | 1 |
| 16 | Egg-tart-1 | Electrode-Box-B2 | 7 | 79 | 138 | 1 |
| 17 | Egg-tart-1 | Electrode-Box-B2 | 8 | 98 | 142 | 1 |
| 18 | Egg-tart-1 | Electrode-Box-B2 | 9 | 89 | 139 | 1 |
| 19 | Egg-tart-1 | Electrode-Box-B2 | 10 | 96 | 143 | 1 |
| 20 | Egg-tart-1 | Electrode-Box-B2 | 11 | 96 | 148 | 1 |
| 21 | Egg-tart-1 | Electrode-Box-B2 | 12 | 101 | 156 | 1 |
| 22 | Egg-tart-1 | Electrode-Box-B2 | 13 | 103 | 152 | 1 |
| 23 | Egg-tart-2 | Electrode-Box-A2 | 6 | 85 | 145 | 0 |
| 24 | Egg-tart-2 | Electrode-Box-A2 | 7 | 79 | 143 | 0 |
| 25 | Egg-tart-2 | Electrode-Box-A2 | 8 | 76 | 131 | 0 |
| 26 | Egg-tart-2 | Electrode-Box-A2 | 9 | 88 | 149 | 0 |
| 27 | Egg-tart-2 | Electrode-Box-A2 | 10 | 81 | 151 | 0 |
| 28 | Egg-tart-2 | Electrode-Box-A2 | 11 | 78 | 152 | 0 |
| 29 | Egg-tart-2 | Electrode-Box-A2 | 12 | 96 | 155 | 0 |
| 30 | Egg-tart-2 | Electrode-Box-A2 | 13 | 84 | 155 | 0 |
| 31 | Khoai-lang-1 | Right-Electrode | 6 | 79 | 146 | 1 |
| 32 | Khoai-lang-1 | Right-Electrode | 7 | 81 | 153 | 1 |
| 33 | Khoai-lang-1 | Right-Electrode | 8 | 98 | 144 | 1 |
| 34 | Khoai-lang-1 | Right-Electrode | 9 | 101 | 149 | 1 |
| 35 | Khoai-lang-1 | Right-Electrode | 10 | 103 | 150 | 1 |
| 36 | Khoai-lang-1 | Right-Electrode | 11 | 113 | 154 | 1 |
| 37 | Khoai-lang-1 | Right-Electrode | 12 | 117 | 148 | 1 |
| 38 | Khoai-lang-1 | Right-Electrode | 13 | 114 | 146 | 1 |
| 39 | Root-beer-1 | Electrode-Box-B2 | 6 | 104 | 139 | 1 |
| 40 | Root-beer-1 | Electrode-Box-B2 | 7 | 98 | 148 | 1 |
| 41 | Root-beer-1 | Electrode-Box-B2 | 8 | 81 | 145 | 1 |
| 42 | Root-beer-1 | Electrode-Box-B2 | 9 | 89 | 156 | 1 |
| 43 | Root-beer-1 | Electrode-Box-B2 | 10 | 105 | 158 | 1 |