@brainpilot/skills 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (229) hide show
  1. package/dist/index.d.ts +6 -0
  2. package/dist/index.d.ts.map +1 -0
  3. package/dist/index.js +28 -0
  4. package/dist/index.js.map +1 -0
  5. package/package.json +35 -0
  6. package/skills/01_Meta-Skills/contribute-skill/SKILL.md +277 -0
  7. package/skills/01_Meta-Skills/contribute-skills-via-pr/SKILL.md +163 -0
  8. package/skills/01_Meta-Skills/paper-to-skill/SKILL.md +435 -0
  9. package/skills/01_Meta-Skills/paper-to-skill/references/extraction-guide.md +286 -0
  10. package/skills/01_Meta-Skills/paper-to-skill/references/skill-template.md +250 -0
  11. package/skills/01_Meta-Skills/repo-to-skill/SKILL.md +289 -0
  12. package/skills/01_Meta-Skills/share-case/SKILL.md +253 -0
  13. package/skills/01_Meta-Skills/share-usage/README.md +63 -0
  14. package/skills/01_Meta-Skills/share-usage/SKILL.md +395 -0
  15. package/skills/01_Meta-Skills/verify-skill/SKILL.md +331 -0
  16. package/skills/02_Cross-Domain_Foundation/cogsci-power-analysis/SKILL.md +194 -0
  17. package/skills/02_Cross-Domain_Foundation/cogsci-power-analysis/references/effect-sizes.md +352 -0
  18. package/skills/02_Cross-Domain_Foundation/cogsci-power-analysis/references/sample-size-guide.md +407 -0
  19. package/skills/02_Cross-Domain_Foundation/cogsci-statistics/SKILL.md +361 -0
  20. package/skills/02_Cross-Domain_Foundation/cogsci-statistics/references/common-analyses.md +517 -0
  21. package/skills/02_Cross-Domain_Foundation/cogsci-visualization/SKILL.md +292 -0
  22. package/skills/02_Cross-Domain_Foundation/cogsci-visualization/references/plot-recipes.md +709 -0
  23. package/skills/02_Cross-Domain_Foundation/research-literacy/SKILL.md +286 -0
  24. package/skills/02_Cross-Domain_Foundation/research-literacy/references/common-assumptions.md +320 -0
  25. package/skills/02_Cross-Domain_Foundation/research-literacy/references/planning-template.md +143 -0
  26. package/skills/03_Cognitive_Psychology/alternative-uses-task-designer/SKILL.md +197 -0
  27. package/skills/03_Cognitive_Psychology/alternative-uses-task-designer/references/instruction-templates.md +60 -0
  28. package/skills/03_Cognitive_Psychology/cognitive-paradigm-design/SKILL.md +246 -0
  29. package/skills/03_Cognitive_Psychology/cognitive-paradigm-design/references/classic-paradigms.md +435 -0
  30. package/skills/03_Cognitive_Psychology/cognitive-paradigm-design/references/design-principles.md +256 -0
  31. package/skills/03_Cognitive_Psychology/creativity-self-efficacy-mediation/SKILL.md +270 -0
  32. package/skills/03_Cognitive_Psychology/creativity-self-efficacy-mediation/references/lavaan-templates.md +172 -0
  33. package/skills/03_Cognitive_Psychology/divergent-thinking-scoring/SKILL.md +238 -0
  34. package/skills/03_Cognitive_Psychology/divergent-thinking-scoring/references/scoring-rubric.md +143 -0
  35. package/skills/03_Cognitive_Psychology/drift-diffusion-model/SKILL.md +203 -0
  36. package/skills/03_Cognitive_Psychology/drift-diffusion-model/references/fitting-guide.md +571 -0
  37. package/skills/03_Cognitive_Psychology/drift-diffusion-model/references/model-variants.md +427 -0
  38. package/skills/03_Cognitive_Psychology/evidence-accumulation-selector/SKILL.md +310 -0
  39. package/skills/03_Cognitive_Psychology/evidence-accumulation-selector/references/ez-diffusion-formulas.md +137 -0
  40. package/skills/03_Cognitive_Psychology/signal-detection-analysis/SKILL.md +300 -0
  41. package/skills/03_Cognitive_Psychology/signal-detection-analysis/references/application-guide.md +278 -0
  42. package/skills/03_Cognitive_Psychology/signal-detection-analysis/references/sdt-formulas.md +318 -0
  43. package/skills/03_Cognitive_Psychology/visual-search-array-generator/SKILL.md +283 -0
  44. package/skills/03_Cognitive_Psychology/visual-search-array-generator/references/array-generation-parameters.yaml +111 -0
  45. package/skills/04_Psycholinguistics/reading-time-analysis/SKILL.md +301 -0
  46. package/skills/04_Psycholinguistics/reading-time-analysis/references/measure-computation-guide.md +195 -0
  47. package/skills/04_Psycholinguistics/self-paced-reading-designer/SKILL.md +257 -0
  48. package/skills/04_Psycholinguistics/self-paced-reading-designer/references/analysis-guide.md +356 -0
  49. package/skills/04_Psycholinguistics/self-paced-reading-designer/references/region-segmentation.md +266 -0
  50. package/skills/04_Psycholinguistics/sentence-stimulus-norming/SKILL.md +346 -0
  51. package/skills/04_Psycholinguistics/sentence-stimulus-norming/references/lexical-databases-guide.md +184 -0
  52. package/skills/05_EEG_ERP/eeg-paradigm-designer/SKILL.md +226 -0
  53. package/skills/05_EEG_ERP/eeg-paradigm-designer/references/component-paradigm-map.md +276 -0
  54. package/skills/05_EEG_ERP/eeg-paradigm-designer/references/timing-parameters.md +244 -0
  55. package/skills/05_EEG_ERP/eeg-preprocessing-pipeline-guide/SKILL.md +367 -0
  56. package/skills/05_EEG_ERP/eeg-preprocessing-pipeline-guide/references/parameter-lookup-tables.md +138 -0
  57. package/skills/05_EEG_ERP/erp-analysis/SKILL.md +185 -0
  58. package/skills/05_EEG_ERP/erp-analysis/references/erp-components.md +447 -0
  59. package/skills/05_EEG_ERP/erp-analysis/references/preprocessing-pipeline.md +277 -0
  60. package/skills/05_EEG_ERP/erp-analysis/references/statistical-approaches.md +351 -0
  61. package/skills/05_EEG_ERP/mne-python-guide/SKILL.md +174 -0
  62. package/skills/05_EEG_ERP/mne-python-guide/references/decoding.md +178 -0
  63. package/skills/05_EEG_ERP/mne-python-guide/references/io_formats.md +160 -0
  64. package/skills/05_EEG_ERP/mne-python-guide/references/preprocessing.md +259 -0
  65. package/skills/05_EEG_ERP/mne-python-guide/references/simulation.md +173 -0
  66. package/skills/05_EEG_ERP/mne-python-guide/references/source_localization.md +234 -0
  67. package/skills/05_EEG_ERP/mne-python-guide/references/statistics.md +196 -0
  68. package/skills/05_EEG_ERP/mne-python-guide/references/time_frequency.md +165 -0
  69. package/skills/05_EEG_ERP/mne-python-guide/references/visualization.md +175 -0
  70. package/skills/06_fMRI_Neuroimaging/brain-connectivity-modeler/SKILL.md +317 -0
  71. package/skills/06_fMRI_Neuroimaging/brain-connectivity-modeler/references/method-implementation-guide.md +116 -0
  72. package/skills/06_fMRI_Neuroimaging/fmri-glm-analysis-guide/SKILL.md +296 -0
  73. package/skills/06_fMRI_Neuroimaging/fmri-glm-analysis-guide/references/design-matrix-guide.md +214 -0
  74. package/skills/06_fMRI_Neuroimaging/fmri-glm-analysis-guide/references/statistical-inference.md +288 -0
  75. package/skills/06_fMRI_Neuroimaging/fmri-preprocessing-pipeline-guide/SKILL.md +274 -0
  76. package/skills/06_fMRI_Neuroimaging/fmri-preprocessing-pipeline-guide/references/quality-control.md +336 -0
  77. package/skills/06_fMRI_Neuroimaging/fmri-preprocessing-pipeline-guide/references/step-by-step-pipeline.md +380 -0
  78. package/skills/06_fMRI_Neuroimaging/fmri-task-design-guide/SKILL.md +264 -0
  79. package/skills/06_fMRI_Neuroimaging/fmri-task-design-guide/references/design-optimization-examples.md +114 -0
  80. package/skills/06_fMRI_Neuroimaging/neural-decoding-analysis/SKILL.md +273 -0
  81. package/skills/06_fMRI_Neuroimaging/neural-decoding-analysis/references/decoding-methods.md +170 -0
  82. package/skills/06_fMRI_Neuroimaging/neural-decoding-analysis/references/rsa-guide.md +266 -0
  83. package/skills/06_fMRI_Neuroimaging/pycortex-guide/SKILL.md +123 -0
  84. package/skills/06_fMRI_Neuroimaging/pycortex-guide/references/database-subjects.md +179 -0
  85. package/skills/06_fMRI_Neuroimaging/pycortex-guide/references/dataset-types.md +208 -0
  86. package/skills/06_fMRI_Neuroimaging/pycortex-guide/references/freesurfer-fmriprep.md +162 -0
  87. package/skills/06_fMRI_Neuroimaging/pycortex-guide/references/mapping-transforms.md +181 -0
  88. package/skills/06_fMRI_Neuroimaging/pycortex-guide/references/mni-utils.md +207 -0
  89. package/skills/06_fMRI_Neuroimaging/pycortex-guide/references/surface-analysis.md +219 -0
  90. package/skills/06_fMRI_Neuroimaging/pycortex-guide/references/visualization.md +251 -0
  91. package/skills/07_Computational_Modeling/act-r-model-builder/SKILL.md +297 -0
  92. package/skills/07_Computational_Modeling/act-r-model-builder/references/model-patterns.md +197 -0
  93. package/skills/07_Computational_Modeling/act-r-model-builder/references/parameter-table.yaml +204 -0
  94. package/skills/07_Computational_Modeling/bayesian-cognitive-model-builder/SKILL.md +294 -0
  95. package/skills/07_Computational_Modeling/bayesian-cognitive-model-builder/references/diagnostics-checklist.md +351 -0
  96. package/skills/07_Computational_Modeling/bayesian-cognitive-model-builder/references/prior-selection-guide.md +241 -0
  97. package/skills/07_Computational_Modeling/parameter-recovery-checker/SKILL.md +269 -0
  98. package/skills/07_Computational_Modeling/parameter-recovery-checker/references/recovery-diagnostics.md +207 -0
  99. package/skills/08_Computational_Neuroscience/brain-connectivity-modeler/SKILL.md +317 -0
  100. package/skills/08_Computational_Neuroscience/brain-connectivity-modeler/references/method-implementation-guide.md +116 -0
  101. package/skills/08_Computational_Neuroscience/neural-decoding-analysis/SKILL.md +273 -0
  102. package/skills/08_Computational_Neuroscience/neural-decoding-analysis/references/decoding-methods.md +170 -0
  103. package/skills/08_Computational_Neuroscience/neural-decoding-analysis/references/rsa-guide.md +266 -0
  104. package/skills/08_Computational_Neuroscience/neural-population-analysis-guide/SKILL.md +305 -0
  105. package/skills/08_Computational_Neuroscience/neural-population-analysis-guide/references/data-requirements.md +60 -0
  106. package/skills/08_Computational_Neuroscience/neural-population-analysis-guide/references/method-comparison.md +151 -0
  107. package/skills/08_Computational_Neuroscience/spiking-network-model-builder/SKILL.md +376 -0
  108. package/skills/08_Computational_Neuroscience/spiking-network-model-builder/references/hh-parameters.md +117 -0
  109. package/skills/08_Computational_Neuroscience/spiking-network-model-builder/references/network-regimes.md +130 -0
  110. package/skills/09_Cellular_Molecular_Neuroscience/calcium-imaging-analysis-guide/SKILL.md +258 -0
  111. package/skills/09_Cellular_Molecular_Neuroscience/calcium-imaging-analysis-guide/references/indicator-parameters.md +242 -0
  112. package/skills/09_Cellular_Molecular_Neuroscience/calcium-imaging-analysis-guide/references/pipeline-details.md +211 -0
  113. package/skills/09_Cellular_Molecular_Neuroscience/optogenetics-protocol-designer/SKILL.md +261 -0
  114. package/skills/09_Cellular_Molecular_Neuroscience/optogenetics-protocol-designer/references/opsin-catalog.md +124 -0
  115. package/skills/09_Cellular_Molecular_Neuroscience/optogenetics-protocol-designer/references/stimulation-parameters.md +304 -0
  116. package/skills/10_Clinical_Neuropsychology/lesion-symptom-mapping-guide/SKILL.md +367 -0
  117. package/skills/10_Clinical_Neuropsychology/lesion-symptom-mapping-guide/references/disconnection-guide.md +152 -0
  118. package/skills/10_Clinical_Neuropsychology/lesion-symptom-mapping-guide/references/vlsm-pipeline.md +182 -0
  119. package/skills/10_Clinical_Neuropsychology/neuropsych-battery-selector/SKILL.md +250 -0
  120. package/skills/10_Clinical_Neuropsychology/neuropsych-battery-selector/references/deficit-profiles.md +302 -0
  121. package/skills/10_Clinical_Neuropsychology/neuropsych-battery-selector/references/test-catalog.md +304 -0
  122. package/skills/11_Developmental_Cognition/infant-looking-time-designer/SKILL.md +345 -0
  123. package/skills/11_Developmental_Cognition/infant-looking-time-designer/references/age-parameters.yaml +186 -0
  124. package/skills/12_Social_Cognition/tom-task-selector/SKILL.md +379 -0
  125. package/skills/12_Social_Cognition/tom-task-selector/references/task-database.md +317 -0
  126. package/skills/13_Visualization/nature-figure/README.md +442 -0
  127. package/skills/13_Visualization/nature-figure/SKILL.md +60 -0
  128. package/skills/13_Visualization/nature-figure/assets/chart-atlas/atlas-01-bar-charts.png +0 -0
  129. package/skills/13_Visualization/nature-figure/assets/chart-atlas/atlas-02-line-trends.png +0 -0
  130. package/skills/13_Visualization/nature-figure/assets/chart-atlas/atlas-03-heatmaps.png +0 -0
  131. package/skills/13_Visualization/nature-figure/assets/chart-atlas/atlas-04-scatter-bubble.png +0 -0
  132. package/skills/13_Visualization/nature-figure/assets/chart-atlas/atlas-05-radar-polar.png +0 -0
  133. package/skills/13_Visualization/nature-figure/assets/chart-atlas/atlas-06-distributions.png +0 -0
  134. package/skills/13_Visualization/nature-figure/assets/chart-atlas/atlas-07-forest-interval.png +0 -0
  135. package/skills/13_Visualization/nature-figure/assets/chart-atlas/atlas-08-area-stacked.png +0 -0
  136. package/skills/13_Visualization/nature-figure/assets/chart-atlas/atlas-09-image-plates.png +0 -0
  137. package/skills/13_Visualization/nature-figure/assets/chart-atlas/atlas-10-network-matrix.png +0 -0
  138. package/skills/13_Visualization/nature-figure/assets/figures4papers/assets/Dispersion_motivation.png +0 -0
  139. package/skills/13_Visualization/nature-figure/assets/figures4papers/assets/Dispersion_observation.png +0 -0
  140. package/skills/13_Visualization/nature-figure/assets/figures4papers/assets/Dispersion_observation_distillation.png +0 -0
  141. package/skills/13_Visualization/nature-figure/assets/figures4papers/assets/ImmunoStruct_contrastive.png +0 -0
  142. package/skills/13_Visualization/nature-figure/assets/figures4papers/assets/ImmunoStruct_results_CEDAR.png +0 -0
  143. package/skills/13_Visualization/nature-figure/assets/figures4papers/assets/ImmunoStruct_results_IEDB.png +0 -0
  144. package/skills/13_Visualization/nature-figure/assets/figures4papers/assets/ImmunoStruct_schematic.png +0 -0
  145. package/skills/13_Visualization/nature-figure/assets/figures4papers/assets/RNAGenScape_schematic.png +0 -0
  146. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_CellSpliceNet/figures/ablation.png +0 -0
  147. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_CellSpliceNet/figures/comparison.png +0 -0
  148. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_CellSpliceNet/plot_ablation.py +86 -0
  149. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_CellSpliceNet/plot_comparison.py +109 -0
  150. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Cflows/diffusion_swiss_roll.py +97 -0
  151. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Cflows/figures/diffusion_swiss_roll.png +0 -0
  152. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Cflows/figures/fig2_comparison_GeneRegulatory.pdf +0 -0
  153. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Cflows/figures/fig2_comparison_GeneRegulatory.png +0 -0
  154. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Cflows/figures/fig2_comparison_Trajectory.pdf +0 -0
  155. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Cflows/figures/fig2_comparison_Trajectory.png +0 -0
  156. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Cflows/figures/figX_comparison_Ablation.pdf +0 -0
  157. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Cflows/figures/figX_comparison_Ablation.png +0 -0
  158. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Cflows/plot_comparison_Ablation.py +64 -0
  159. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Cflows/plot_comparison_GeneRegulatory.py +74 -0
  160. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Cflows/plot_comparison_Trajectory.py +74 -0
  161. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Dispersion/figures/idea.png +0 -0
  162. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Dispersion/figures/illustration.png +0 -0
  163. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Dispersion/plot_idea.py +76 -0
  164. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Dispersion/plot_illustration.py +404 -0
  165. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_FPGM/figures/freq_prior.png +0 -0
  166. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_FPGM/plot_freq_prior.py +146 -0
  167. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_ImmunoStruct/figures/bars_ablation_Cancer.png +0 -0
  168. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_ImmunoStruct/figures/bars_ablation_IEDB.png +0 -0
  169. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_ImmunoStruct/figures/bars_comparison_Cancer.png +0 -0
  170. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_ImmunoStruct/figures/bars_comparison_IEDB.png +0 -0
  171. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_ImmunoStruct/plot_bars.py +216 -0
  172. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_ImmunoStruct/raw_data.py +125 -0
  173. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_RNAGenScape/figures/manifold.png +0 -0
  174. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_RNAGenScape/figures/manifold_holes.png +0 -0
  175. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_RNAGenScape/figures/results_comparison_optimization.png +0 -0
  176. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_RNAGenScape/figures/results_comparison_speed.png +0 -0
  177. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_RNAGenScape/figures/results_sweep.png +0 -0
  178. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_RNAGenScape/plot_comparison.py +228 -0
  179. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_RNAGenScape/plot_hole_manifold.py +82 -0
  180. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_RNAGenScape/plot_manifold.py +61 -0
  181. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_RNAGenScape/plot_sweep.py +77 -0
  182. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_VIGIL/figures/comparison_posttraining.png +0 -0
  183. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_VIGIL/figures/comparison_radar.png +0 -0
  184. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_VIGIL/plot_comparison_radar.py +173 -0
  185. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_VIGIL/plot_posttraining.py +82 -0
  186. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_brainteaser/figures/brute_force.png +0 -0
  187. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_brainteaser/figures/correctness_by_category.png +0 -0
  188. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_brainteaser/figures/correctness_by_subcategory.png +0 -0
  189. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_brainteaser/figures/rewriting.png +0 -0
  190. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_brainteaser/figures/selfcorrection_math.png +0 -0
  191. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_brainteaser/plot_brute_force.py +248 -0
  192. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_brainteaser/plot_correctness_by_category.py +132 -0
  193. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_brainteaser/plot_correctness_by_subcategory.py +131 -0
  194. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_brainteaser/plot_rewriting.py +105 -0
  195. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_brainteaser/plot_selfcorrection_math.py +99 -0
  196. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_ophthal_review/figures/composition_heatmap.png +0 -0
  197. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_ophthal_review/figures/trend_by_month.png +0 -0
  198. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_ophthal_review/plot_composition.py +81 -0
  199. package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_ophthal_review/plot_trend.py +125 -0
  200. package/skills/13_Visualization/nature-figure/assets/gallery/fig1-material-mechanism-rich.png +0 -0
  201. package/skills/13_Visualization/nature-figure/assets/gallery/fig2-spatial-imaging-rich.png +0 -0
  202. package/skills/13_Visualization/nature-figure/assets/gallery/fig3-in-vivo-efficacy-rich.png +0 -0
  203. package/skills/13_Visualization/nature-figure/assets/gallery/fig4-single-cell-systems-rich.png +0 -0
  204. package/skills/13_Visualization/nature-figure/assets/gallery/fig5-validation-perturbation-rich.png +0 -0
  205. package/skills/13_Visualization/nature-figure/evals/evals.json +37 -0
  206. package/skills/13_Visualization/nature-figure/manifest.yaml +57 -0
  207. package/skills/13_Visualization/nature-figure/references/api.md +428 -0
  208. package/skills/13_Visualization/nature-figure/references/backend-selection.md +100 -0
  209. package/skills/13_Visualization/nature-figure/references/chart-types.md +281 -0
  210. package/skills/13_Visualization/nature-figure/references/common-patterns.md +350 -0
  211. package/skills/13_Visualization/nature-figure/references/demos.md +65 -0
  212. package/skills/13_Visualization/nature-figure/references/design-theory.md +436 -0
  213. package/skills/13_Visualization/nature-figure/references/figure-contract.md +93 -0
  214. package/skills/13_Visualization/nature-figure/references/nature-2026-observations.md +112 -0
  215. package/skills/13_Visualization/nature-figure/references/qa-contract.md +119 -0
  216. package/skills/13_Visualization/nature-figure/references/r-template-index.md +66 -0
  217. package/skills/13_Visualization/nature-figure/references/r-workflow.md +161 -0
  218. package/skills/13_Visualization/nature-figure/references/tutorials.md +251 -0
  219. package/skills/13_Visualization/nature-figure/static/core/contract.md +29 -0
  220. package/skills/13_Visualization/nature-figure/static/core/stance.md +37 -0
  221. package/skills/13_Visualization/nature-figure/static/fragments/backend/python.md +37 -0
  222. package/skills/13_Visualization/nature-figure/static/fragments/backend/r.md +44 -0
  223. package/skills/14_Writing/markdown-report-writing/SKILL.md +306 -0
  224. package/skills/14_Writing/markdown-report-writing/references/compatibility-matrix.md +72 -0
  225. package/skills/14_Writing/markdown-report-writing/references/templates.md +299 -0
  226. package/skills/15_Others/neuroimaging-power-guide/SKILL.md +324 -0
  227. package/skills/15_Others/neuroimaging-power-guide/references/effect-size-lookup-tables.md +102 -0
  228. package/skills/15_Others/neuroimaging-sample-size-calculator/SKILL.md +330 -0
  229. package/skills/15_Others/neuroimaging-sample-size-calculator/references/worked-examples.md +220 -0
@@ -0,0 +1,361 @@
1
+ ---
2
+ name: "cogsci-statistics"
3
+ description: "Domain-specific statistical modeling guidance for cognitive science and neuroscience, encoding when and how to apply mixed models, correction methods, Bayesian approaches, and effect size reporting"
4
+ domain: "research-methods"
5
+ version: "1.0.0"
6
+ papers:
7
+ - "Barr et al., 2013"
8
+ - "Baayen et al., 2008"
9
+ - "Benjamini & Hochberg, 1995"
10
+ - "Maris & Oostenveld, 2007"
11
+ - "Lo & Andrews, 2015"
12
+ - "Wagenmakers, 2007"
13
+ dependencies:
14
+ required:
15
+ - research-literacy
16
+ recommended:
17
+ - cogsci-power-analysis
18
+ review_status: "ai-generated"
19
+ ---
20
+
21
+ # Cognitive Science Statistical Analysis
22
+
23
+ ## Purpose
24
+
25
+ This skill encodes domain-specific statistical knowledge for cognitive science and neuroscience research. It addresses the modeling decisions, correction strategies, and reporting conventions that a general-purpose statistician or programmer would get wrong without training in the field. For concrete analysis recipes with code, see `references/common-analyses.md`.
26
+
27
+ ## When to Use This Skill
28
+
29
+ - Choosing between repeated-measures ANOVA and mixed-effects models for a cognitive experiment
30
+ - Specifying random effects structure for designs with subjects and items
31
+ - Deciding how to handle reaction time (RT) data distributions
32
+ - Selecting the appropriate multiple comparison correction
33
+ - Deciding whether to use frequentist or Bayesian analysis
34
+ - Reporting effect sizes and statistical results for journal submission
35
+
36
+ ## Research Planning Protocol
37
+
38
+ Before executing the domain-specific steps below, you MUST:
39
+
40
+ 1. **State the research question** — What specific hypothesis is this statistical analysis testing?
41
+ 2. **Justify the method choice** — Why this statistical model? What alternatives were considered?
42
+ 3. **Declare expected outcomes** — What pattern of results would support vs. refute the hypothesis?
43
+ 4. **Note assumptions and limitations** — What does this method assume? Where could it mislead?
44
+ 5. **Present the plan to the user and WAIT for confirmation** before proceeding.
45
+
46
+ For detailed methodology guidance, see the `research-literacy` skill.
47
+
48
+
49
+ ## ⚠️ Verification Notice
50
+
51
+ This skill was generated by AI from academic literature. All parameters, thresholds, and citations require independent verification before use in research. If you find errors, please [open an issue](https://github.com/HaoxuanLiTHUAI/awesome_cognitive_and_neuroscience_skills/issues).
52
+
53
+ ## Repeated-Measures ANOVA vs. Mixed-Effects Models
54
+
55
+ ### When to Use Repeated-Measures ANOVA
56
+
57
+ - Fully balanced design (no missing data, equal cell sizes)
58
+ - Only subjects as a random factor (no item variability)
59
+ - Simple factorial structure (2-3 factors, no continuous predictors)
60
+ - Sphericity is met or correctable (Greenhouse-Geisser / Huynh-Feldt)
61
+
62
+ ### When to Use Mixed-Effects Models (LMM/GLMM)
63
+
64
+ - **Crossed random effects**: Both subjects and items sampled from populations (Baayen, Clark, & Lucy, 2008; Clark, 1973). This is the norm in psycholinguistics, memory research, and any paradigm with stimulus variability.
65
+ - Unbalanced data or missing observations
66
+ - Continuous predictors (e.g., word frequency, stimulus duration)
67
+ - Non-normal response distributions (RT, accuracy)
68
+ - Need to generalize over both subjects AND items simultaneously
69
+
70
+ > **Critical domain knowledge**: Clark (1973) demonstrated that failing to treat items as random effects inflates Type I error. This remains one of the most common statistical errors in cognitive science. If your stimuli are sampled from a larger population (e.g., words, faces, scenes), you must account for item variability.
71
+
72
+ ### Decision Logic
73
+
74
+ ```
75
+ Are your stimuli sampled from a larger population?
76
+ |
77
+ +-- YES --> Mixed-effects model with crossed random effects
78
+ | (subjects and items)
79
+ |
80
+ +-- NO (e.g., fixed set of 4 task conditions) -->
81
+ |
82
+ +-- Any missing data, unbalanced cells, or continuous predictors?
83
+ | |
84
+ | +-- YES --> Mixed-effects model (subjects as random effect)
85
+ | |
86
+ | +-- NO --> Repeated-measures ANOVA is acceptable
87
+ |
88
+ +-- Need trial-level analysis (e.g., RT distributions)?
89
+ |
90
+ +-- YES --> Mixed-effects model (operates on individual trials)
91
+ +-- NO --> Repeated-measures ANOVA on condition means
92
+ ```
93
+
94
+ ## Random Effects Structure
95
+
96
+ ### The Maximal Random Effects Principle
97
+
98
+ Barr et al. (2013) recommend fitting the **maximal random effects structure justified by the design** to minimize Type I error. This means including random intercepts and slopes for all within-unit factors.
99
+
100
+ For a typical 2x2 design with factors A (within-subjects, within-items) and B (within-subjects, between-items):
101
+
102
+ ```r
103
+ # Maximal structure (Barr et al., 2013)
104
+ lmer(RT ~ A * B + (1 + A * B | Subject) + (1 + A | Item), data = d)
105
+ ```
106
+
107
+ ### When Maximal Models Fail to Converge
108
+
109
+ Convergence failures are common with complex random effects. Use this hierarchy (Barr et al., 2013; Matuschek et al., 2017):
110
+
111
+ 1. **First**: Try a different optimizer (bobyqa, nlminb) with increased iterations (**20000** iterations; lme4 default recommendation)
112
+ 2. **Second**: Remove correlations between random effects (use `||` in lme4)
113
+ 3. **Third**: Remove the highest-order random slopes first (interaction before main effects)
114
+ 4. **Fourth**: Use a parsimonious approach guided by likelihood ratio tests (Matuschek et al., 2017)
115
+
116
+ > **Do NOT** simply drop all random slopes to achieve convergence. This inflates Type I error and undermines the purpose of mixed-effects modeling (Barr et al., 2013).
117
+
118
+ ### Common Cognitive Science Designs and Their Random Effects
119
+
120
+ | Design | Random Effects | Rationale |
121
+ |--------|---------------|-----------|
122
+ | Lexical decision (words as items) | `(1 + condition | subj) + (1 + condition | item)` | Subjects and words are crossed |
123
+ | Stroop task (fixed conditions) | `(1 + congruency | subj)` | Conditions are fixed, not sampled |
124
+ | Picture naming (pictures as items) | `(1 + SOA | subj) + (1 | item)` | Items may not vary on within-item factors |
125
+ | Multi-site study | `(1 + condition | subj) + (1 | site)` | Site is an additional clustering factor |
126
+
127
+ ## Handling Reaction Time Data
128
+
129
+ RT data in cognitive experiments are positively skewed, bounded below by physiological limits, and often contaminated by outliers. The approach matters.
130
+
131
+ ### RT Outlier Exclusion
132
+
133
+ Apply these criteria **before** modeling (Ratcliff, 1993; Luce, 1986):
134
+
135
+ | Criterion | Threshold | Source |
136
+ |-----------|-----------|--------|
137
+ | Fast outliers (anticipatory) | < **200 ms** | Whelan, 2008; Ratcliff, 1993 |
138
+ | Slow absolute cutoff | > **2000-3000 ms** (task-dependent) | Ratcliff, 1993 |
139
+ | Within-subject SD trimming | > **3 SD** from participant's condition mean | Van Selst & Jolicoeur, 1994 |
140
+ | Within-subject MAD trimming | > **3 MAD** from participant's condition median | Leys et al., 2013 (more robust to skew) |
141
+
142
+ > **Task-specific note**: For simple RT tasks (e.g., detection), use **100 ms** as the fast cutoff (Whelan, 2008). For choice RT tasks (e.g., lexical decision), use **200 ms** (Ratcliff, 1993). Always report exclusion rates.
143
+
144
+ ### RT Transformation and Modeling Strategy
145
+
146
+ ```
147
+ Is your primary interest in RT distributions (not just means)?
148
+ |
149
+ +-- YES --> Drift Diffusion Model or ex-Gaussian fitting
150
+ |
151
+ +-- NO --> Choose a modeling approach:
152
+ |
153
+ +-- Option 1: Log-transform RT, then fit LMM (Gaussian)
154
+ | - Pro: Simple, widely understood
155
+ | - Con: Back-transformation of means is biased;
156
+ | changes the hypothesis being tested
157
+ | (Lo & Andrews, 2015)
158
+ |
159
+ +-- Option 2: Inverse-transform RT (1/RT = speed), then LMM
160
+ | - Pro: Often achieves better normality than log
161
+ | - Con: Same back-transformation issues as log
162
+ | (Ratcliff, 1993)
163
+ |
164
+ +-- Option 3 (Recommended): Generalized LMM with
165
+ Gamma family + identity link
166
+ - Pro: Models RT in original units; handles skew
167
+ directly; avoids transformation issues
168
+ (Lo & Andrews, 2015)
169
+ - Con: Computationally slower; may have convergence
170
+ issues with complex random effects
171
+ ```
172
+
173
+ **Recommended default**: Gamma GLMM with identity link (Lo & Andrews, 2015). Report results on the original millisecond scale.
174
+
175
+ ```r
176
+ # Recommended RT model (Lo & Andrews, 2015)
177
+ glmer(RT ~ condition * group + (1 + condition | subj) + (1 | item),
178
+ family = Gamma(link = "identity"), data = d)
179
+ ```
180
+
181
+ ## Multiple Comparison Correction
182
+
183
+ ### Decision Guide for Cognitive Science
184
+
185
+ | Scenario | Method | Rationale | Source |
186
+ |----------|--------|-----------|--------|
187
+ | Small number of planned contrasts (< 5) | **No correction** or Holm | Planned contrasts based on a priori hypotheses do not require correction if specified before data collection | Rubin, 2021 |
188
+ | All pairwise comparisons after ANOVA | **Tukey HSD** | Controls family-wise error for all pairwise comparisons; assumes equal variance | Tukey, 1953 |
189
+ | Many tests, correlated (e.g., EEG channels) | **Cluster-based permutation** | Respects spatial/temporal correlation structure | Maris & Oostenveld, 2007 |
190
+ | Many tests, independent | **Bonferroni-Holm** | More powerful than Bonferroni; step-down procedure | Holm, 1979 |
191
+ | Large-scale testing (fMRI voxels, genomics) | **FDR (Benjamini-Hochberg)** | Controls false discovery rate rather than family-wise error; appropriate when some false positives are tolerable | Benjamini & Hochberg, 1995 |
192
+ | Exploratory whole-brain fMRI | **Cluster-level FWE** (with cluster-forming threshold **p < 0.001**) | Eklund et al. (2016) showed that **p < 0.01** cluster-forming threshold inflates false positive rates to **~70%** | Eklund et al., 2016 |
193
+ | Confirmatory ROI analysis in fMRI | **Small volume correction (SVC)** with FWE | Restricts search space to a priori ROI | Worsley et al., 1996 |
194
+
195
+ ### When NOT to Correct
196
+
197
+ - Single planned contrast testing a specific a priori hypothesis (Rubin, 2021)
198
+ - Sequential Bayesian testing with BF stopping rules (evidence accumulation replaces correction; Schoenbrodt et al., 2017)
199
+
200
+ ## Bayesian Alternatives
201
+
202
+ ### When to Use Bayesian Analysis
203
+
204
+ - **Quantifying evidence for the null hypothesis**: Frequentist tests cannot support H0; Bayes factors can (Wagenmakers, 2007)
205
+ - **Small sample sizes**: Bayesian methods with informative priors can be more efficient (Kruschke, 2015)
206
+ - **Sequential testing**: Bayes factors allow continuous monitoring without alpha inflation (Schoenbrodt et al., 2017)
207
+ - **Complex models where p-values are unreliable**: Mixed models with small cluster sizes, or when asymptotic assumptions are questionable
208
+
209
+ ### Bayes Factor Interpretation
210
+
211
+ | BF10 Range | Evidence Category | Source |
212
+ |------------|------------------|--------|
213
+ | < 1/10 | Strong evidence for H0 | Jeffreys, 1961; Lee & Wagenmakers, 2013 |
214
+ | 1/10 to 1/3 | Moderate evidence for H0 | Lee & Wagenmakers, 2013 |
215
+ | 1/3 to 3 | Anecdotal / inconclusive | Lee & Wagenmakers, 2013 |
216
+ | 3 to 10 | Moderate evidence for H1 | Lee & Wagenmakers, 2013 |
217
+ | > 10 | Strong evidence for H1 | Lee & Wagenmakers, 2013 |
218
+
219
+ ### Recommended Tools
220
+
221
+ | Tool | Use Case | Language |
222
+ |------|----------|----------|
223
+ | **BayesFactor** | Standard designs (t-test, ANOVA, correlation, regression) | R |
224
+ | **brms** | Complex models (multilevel, non-Gaussian, multivariate) | R (Stan backend) |
225
+ | **JASP** | GUI-based Bayesian analysis for standard tests | Standalone |
226
+ | **PyMC** | Custom Bayesian models | Python |
227
+
228
+ ### Reporting Bayes Factors
229
+
230
+ Report the exact BF, not just the category (Wagenmakers et al., 2018):
231
+
232
+ > "A Bayesian paired-samples t-test indicated moderate evidence for a difference between conditions, BF10 = 5.3 (default Cauchy prior, r = 0.707)."
233
+
234
+ Always specify:
235
+ 1. The prior used (e.g., default Cauchy with scale r = **0.707** for BayesFactor t-test; Rouder et al., 2009)
236
+ 2. Direction (BF10 = evidence for H1 over H0)
237
+ 3. Robustness check: report BF across a range of prior widths
238
+
239
+ ## Effect Size Reporting
240
+
241
+ ### APA 7th Edition Requirements
242
+
243
+ APA 7th edition (2020, Section 6.6) requires reporting effect sizes for all primary analyses. The specific measure depends on the test:
244
+
245
+ | Test | Effect Size | Interpretation Benchmarks | Source |
246
+ |------|------------|--------------------------|--------|
247
+ | t-test (between groups) | **Cohen's d** | 0.2 small, 0.5 medium, 0.8 large | Cohen, 1988 |
248
+ | t-test (within subjects) | **Cohen's d_z** or d_av | d_z uses SD of difference scores | Lakens, 2013 |
249
+ | One-way ANOVA | **eta-squared** or **omega-squared** | 0.01 small, 0.06 medium, 0.14 large | Cohen, 1988 |
250
+ | Factorial ANOVA | **partial eta-squared** | 0.01 small, 0.06 medium, 0.14 large | Cohen, 1988; Richardson, 2011 |
251
+ | Mixed-effects model | **semi-partial R-squared** | No universal benchmarks; report CI | Rights & Sterba, 2019 |
252
+ | Correlation | **r** | 0.1 small, 0.3 medium, 0.5 large | Cohen, 1988 |
253
+ | Chi-square | **Cramer's V** or **phi** | Depends on df | Cohen, 1988 |
254
+
255
+ > **Domain note**: Always report confidence intervals around effect sizes (APA 7th, 2020). Use `effectsize` (R) or `statsmodels` (Python) for computation. The benchmarks above are Cohen's generic guidelines; paradigm-specific benchmarks are more informative (see `../cogsci-power-analysis/references/effect-sizes.md`).
256
+
257
+ ### For Mixed-Effects Models
258
+
259
+ Traditional effect sizes are not straightforward for mixed models. Options:
260
+
261
+ 1. **Semi-partial R-squared** via the `r2glmm` or `effectsize` package (Rights & Sterba, 2019)
262
+ 2. **Standardized regression coefficients**: Standardize predictors before fitting
263
+ 3. **Conditional and marginal R-squared**: R2m (fixed effects only) and R2c (fixed + random) via `MuMIn::r.squaredGLMM()` (Nakagawa & Schielzeth, 2013)
264
+
265
+ ## Common Statistical Mistakes in Cognitive Science
266
+
267
+ ### 1. Treating Items as Fixed Effects
268
+
269
+ **Problem**: Analyzing condition means averaged over items, ignoring item variability, fails to generalize beyond the specific stimuli used (Clark, 1973).
270
+
271
+ **Fix**: Use mixed-effects models with crossed random effects for subjects and items.
272
+
273
+ ### 2. Circular Analysis ("Double-Dipping") in Neuroimaging
274
+
275
+ **Problem**: Selecting voxels/channels/time-windows based on the effect of interest, then testing that same effect (Kriegeskorte et al., 2009). Inflates effect sizes by **2x or more** (Vul et al., 2009).
276
+
277
+ **Fix**: Use independent localizer, leave-one-out cross-validation, or whole-brain corrected analysis.
278
+
279
+ ### 3. Analyzing Accuracy with ANOVA Instead of Logistic Models
280
+
281
+ **Problem**: ANOVA on proportion correct violates normality and homogeneity assumptions, especially at ceiling (> 90%) or floor (< 10%) (Jaeger, 2008; Dixon, 2008).
282
+
283
+ **Fix**: Use logistic mixed-effects model on binary (correct/incorrect) trial-level data.
284
+
285
+ ### 4. Inappropriate Outlier Exclusion
286
+
287
+ **Problem**: Removing "outlier" participants based on the dependent variable (e.g., excluding subjects whose effects go in the wrong direction) without a priori criteria.
288
+
289
+ **Fix**: Define exclusion criteria before data collection. Base exclusions on performance metrics (accuracy below chance, excessive RTs), not on the effect of interest.
290
+
291
+ ### 5. Running ANOVAs on RT Without Addressing Skew
292
+
293
+ **Problem**: ANOVA on raw RT means violates normality. Condition means conceal distributional differences (Ratcliff, 1993).
294
+
295
+ **Fix**: Use Gamma GLMM (Lo & Andrews, 2015) or transform RTs, and supplement with distributional analysis if warranted.
296
+
297
+ ### 6. Using Uncorrected Cluster-Forming Thresholds in fMRI
298
+
299
+ **Problem**: Cluster-based inference with cluster-forming thresholds more lenient than **p < 0.001** (uncorrected) produces unacceptable false positive rates up to **70%** (Eklund et al., 2016).
300
+
301
+ **Fix**: Use voxel-level threshold of **p < 0.001** (uncorrected) as minimum cluster-forming threshold, or use voxel-level FWE/FDR correction.
302
+
303
+ ### 7. Reporting Correlation P-Values Without CIs
304
+
305
+ **Problem**: A "significant" correlation of r = 0.30 with N = 50 has a 95% CI of [0.02, 0.53] -- the true effect could be near zero (Cumming, 2014).
306
+
307
+ **Fix**: Always report bootstrap 95% CI for correlations. Use **10000** bootstrap samples (Efron & Tibshirani, 1993).
308
+
309
+ ## Minimum Statistical Reporting Checklist
310
+
311
+ Based on APA 7th edition (2020) and Appelbaum et al. (2018):
312
+
313
+ - [ ] Exact test statistic (F, t, chi-square, z) with degrees of freedom
314
+ - [ ] Exact p-value (not just "< 0.05"), to 3 decimal places or "< .001"
315
+ - [ ] Effect size with confidence interval
316
+ - [ ] For mixed models: random effects structure, optimizer, convergence confirmation
317
+ - [ ] For multiple comparisons: correction method and justification
318
+ - [ ] Sample sizes for each group/condition
319
+ - [ ] Data exclusion criteria (a priori) and proportion excluded
320
+ - [ ] For Bayesian: prior specification, exact BF, robustness check
321
+
322
+ ## References
323
+
324
+ - American Psychological Association. (2020). *Publication Manual of the APA* (7th ed.).
325
+ - Appelbaum, M., et al. (2018). Journal article reporting standards for quantitative research. *American Psychologist*, 73(1), 3-25.
326
+ - Baayen, R. H., Davidson, D. J., & Bates, D. M. (2008). Mixed-effects modeling with crossed random effects for subjects and items. *Journal of Memory and Language*, 59(4), 390-412.
327
+ - Barr, D. J., Levy, R., Scheepers, C., & Tily, H. J. (2013). Random effects structure for confirmatory hypothesis testing. *Journal of Memory and Language*, 68(3), 255-278.
328
+ - Benjamini, Y., & Hochberg, Y. (1995). Controlling the false discovery rate. *Journal of the Royal Statistical Society B*, 57(1), 289-300.
329
+ - Clark, H. H. (1973). The language-as-fixed-effect fallacy. *Journal of Verbal Learning and Verbal Behavior*, 12(4), 335-359.
330
+ - Cohen, J. (1988). *Statistical Power Analysis for the Behavioral Sciences* (2nd ed.). Erlbaum.
331
+ - Cumming, G. (2014). The new statistics: Why and how. *Psychological Science*, 25(1), 7-29.
332
+ - Dixon, P. (2008). Models of accuracy in repeated-measures designs. *Journal of Memory and Language*, 59(4), 447-456.
333
+ - Efron, B., & Tibshirani, R. J. (1993). *An Introduction to the Bootstrap*. Chapman and Hall.
334
+ - Eklund, A., Nichols, T. E., & Knutsson, H. (2016). Cluster failure: Why fMRI inferences for spatial extent have inflated false-positive rates. *PNAS*, 113(28), 7900-7905.
335
+ - Holm, S. (1979). A simple sequentially rejective multiple test procedure. *Scandinavian Journal of Statistics*, 6(2), 65-70.
336
+ - Jaeger, T. F. (2008). Categorical data analysis: Away from ANOVAs and toward logit mixed models. *Journal of Memory and Language*, 59(4), 434-446.
337
+ - Jeffreys, H. (1961). *Theory of Probability* (3rd ed.). Oxford University Press.
338
+ - Kriegeskorte, N., et al. (2009). Circular analysis in systems neuroscience. *Nature Neuroscience*, 12(5), 535-540.
339
+ - Kruschke, J. K. (2015). *Doing Bayesian Data Analysis* (2nd ed.). Academic Press.
340
+ - Lakens, D. (2013). Calculating and reporting effect sizes. *Frontiers in Psychology*, 4, 863.
341
+ - Lee, M. D., & Wagenmakers, E.-J. (2013). *Bayesian Cognitive Modeling*. Cambridge University Press.
342
+ - Leys, C., et al. (2013). Detecting outliers: Do not use standard deviation around the mean. *Journal of Experimental Social Psychology*, 49(4), 764-766.
343
+ - Lo, S., & Andrews, S. (2015). To transform or not to transform: Using generalized linear mixed models to analyse reaction time data. *Frontiers in Psychology*, 6, 1171.
344
+ - Luce, R. D. (1986). *Response Times*. Oxford University Press.
345
+ - Maris, E., & Oostenveld, R. (2007). Nonparametric statistical testing of EEG- and MEG-data. *Journal of Neuroscience Methods*, 164(1), 177-190.
346
+ - Matuschek, H., et al. (2017). Balancing Type I error and power in linear mixed models. *Journal of Memory and Language*, 94, 305-315.
347
+ - Nakagawa, S., & Schielzeth, H. (2013). A general and simple method for obtaining R2 from generalized linear mixed-effects models. *Methods in Ecology and Evolution*, 4(2), 133-142.
348
+ - Ratcliff, R. (1993). Methods for dealing with reaction time outliers. *Psychological Bulletin*, 114(3), 510-532.
349
+ - Richardson, J. T. E. (2011). Eta squared and partial eta squared as measures of effect size. *Educational Research Review*, 6(2), 135-147.
350
+ - Rights, J. D., & Sterba, S. K. (2019). Quantifying explained variance in multilevel models. *Journal of Educational and Behavioral Statistics*, 44(2), 223-263.
351
+ - Rouder, J. N., et al. (2009). Bayesian t tests for accepting and rejecting the null hypothesis. *Psychonomic Bulletin & Review*, 16(2), 225-237.
352
+ - Rubin, M. (2021). When to adjust alpha during multiple testing. *Synthese*, 199, 10969-11000.
353
+ - Schoenbrodt, F. D., et al. (2017). Sequential hypothesis testing with Bayes factors. *Psychological Methods*, 22(2), 322-339.
354
+ - Van Selst, M., & Jolicoeur, P. (1994). A solution to the effect of sample size on outlier elimination. *Quarterly Journal of Experimental Psychology*, 47A(3), 631-650.
355
+ - Vul, E., et al. (2009). Puzzlingly high correlations in fMRI studies of emotion, personality, and social cognition. *Perspectives on Psychological Science*, 4(3), 274-290.
356
+ - Wagenmakers, E.-J. (2007). A practical solution to the pervasive problems of p values. *Psychonomic Bulletin & Review*, 14(5), 779-804.
357
+ - Wagenmakers, E.-J., et al. (2018). Bayesian inference for psychology. Part II: Example applications with JASP. *Psychonomic Bulletin & Review*, 25(1), 58-76.
358
+ - Whelan, R. (2008). Effective analysis of reaction time data. *The Psychological Record*, 58(3), 475-482.
359
+ - Worsley, K. J., et al. (1996). A unified statistical approach for determining significant signals in images of cerebral activation. *Human Brain Mapping*, 4(1), 58-73.
360
+
361
+ See `references/common-analyses.md` for concrete analysis recipes with code patterns.