@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.
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +28 -0
- package/dist/index.js.map +1 -0
- package/package.json +35 -0
- package/skills/01_Meta-Skills/contribute-skill/SKILL.md +277 -0
- package/skills/01_Meta-Skills/contribute-skills-via-pr/SKILL.md +163 -0
- package/skills/01_Meta-Skills/paper-to-skill/SKILL.md +435 -0
- package/skills/01_Meta-Skills/paper-to-skill/references/extraction-guide.md +286 -0
- package/skills/01_Meta-Skills/paper-to-skill/references/skill-template.md +250 -0
- package/skills/01_Meta-Skills/repo-to-skill/SKILL.md +289 -0
- package/skills/01_Meta-Skills/share-case/SKILL.md +253 -0
- package/skills/01_Meta-Skills/share-usage/README.md +63 -0
- package/skills/01_Meta-Skills/share-usage/SKILL.md +395 -0
- package/skills/01_Meta-Skills/verify-skill/SKILL.md +331 -0
- package/skills/02_Cross-Domain_Foundation/cogsci-power-analysis/SKILL.md +194 -0
- package/skills/02_Cross-Domain_Foundation/cogsci-power-analysis/references/effect-sizes.md +352 -0
- package/skills/02_Cross-Domain_Foundation/cogsci-power-analysis/references/sample-size-guide.md +407 -0
- package/skills/02_Cross-Domain_Foundation/cogsci-statistics/SKILL.md +361 -0
- package/skills/02_Cross-Domain_Foundation/cogsci-statistics/references/common-analyses.md +517 -0
- package/skills/02_Cross-Domain_Foundation/cogsci-visualization/SKILL.md +292 -0
- package/skills/02_Cross-Domain_Foundation/cogsci-visualization/references/plot-recipes.md +709 -0
- package/skills/02_Cross-Domain_Foundation/research-literacy/SKILL.md +286 -0
- package/skills/02_Cross-Domain_Foundation/research-literacy/references/common-assumptions.md +320 -0
- package/skills/02_Cross-Domain_Foundation/research-literacy/references/planning-template.md +143 -0
- package/skills/03_Cognitive_Psychology/alternative-uses-task-designer/SKILL.md +197 -0
- package/skills/03_Cognitive_Psychology/alternative-uses-task-designer/references/instruction-templates.md +60 -0
- package/skills/03_Cognitive_Psychology/cognitive-paradigm-design/SKILL.md +246 -0
- package/skills/03_Cognitive_Psychology/cognitive-paradigm-design/references/classic-paradigms.md +435 -0
- package/skills/03_Cognitive_Psychology/cognitive-paradigm-design/references/design-principles.md +256 -0
- package/skills/03_Cognitive_Psychology/creativity-self-efficacy-mediation/SKILL.md +270 -0
- package/skills/03_Cognitive_Psychology/creativity-self-efficacy-mediation/references/lavaan-templates.md +172 -0
- package/skills/03_Cognitive_Psychology/divergent-thinking-scoring/SKILL.md +238 -0
- package/skills/03_Cognitive_Psychology/divergent-thinking-scoring/references/scoring-rubric.md +143 -0
- package/skills/03_Cognitive_Psychology/drift-diffusion-model/SKILL.md +203 -0
- package/skills/03_Cognitive_Psychology/drift-diffusion-model/references/fitting-guide.md +571 -0
- package/skills/03_Cognitive_Psychology/drift-diffusion-model/references/model-variants.md +427 -0
- package/skills/03_Cognitive_Psychology/evidence-accumulation-selector/SKILL.md +310 -0
- package/skills/03_Cognitive_Psychology/evidence-accumulation-selector/references/ez-diffusion-formulas.md +137 -0
- package/skills/03_Cognitive_Psychology/signal-detection-analysis/SKILL.md +300 -0
- package/skills/03_Cognitive_Psychology/signal-detection-analysis/references/application-guide.md +278 -0
- package/skills/03_Cognitive_Psychology/signal-detection-analysis/references/sdt-formulas.md +318 -0
- package/skills/03_Cognitive_Psychology/visual-search-array-generator/SKILL.md +283 -0
- package/skills/03_Cognitive_Psychology/visual-search-array-generator/references/array-generation-parameters.yaml +111 -0
- package/skills/04_Psycholinguistics/reading-time-analysis/SKILL.md +301 -0
- package/skills/04_Psycholinguistics/reading-time-analysis/references/measure-computation-guide.md +195 -0
- package/skills/04_Psycholinguistics/self-paced-reading-designer/SKILL.md +257 -0
- package/skills/04_Psycholinguistics/self-paced-reading-designer/references/analysis-guide.md +356 -0
- package/skills/04_Psycholinguistics/self-paced-reading-designer/references/region-segmentation.md +266 -0
- package/skills/04_Psycholinguistics/sentence-stimulus-norming/SKILL.md +346 -0
- package/skills/04_Psycholinguistics/sentence-stimulus-norming/references/lexical-databases-guide.md +184 -0
- package/skills/05_EEG_ERP/eeg-paradigm-designer/SKILL.md +226 -0
- package/skills/05_EEG_ERP/eeg-paradigm-designer/references/component-paradigm-map.md +276 -0
- package/skills/05_EEG_ERP/eeg-paradigm-designer/references/timing-parameters.md +244 -0
- package/skills/05_EEG_ERP/eeg-preprocessing-pipeline-guide/SKILL.md +367 -0
- package/skills/05_EEG_ERP/eeg-preprocessing-pipeline-guide/references/parameter-lookup-tables.md +138 -0
- package/skills/05_EEG_ERP/erp-analysis/SKILL.md +185 -0
- package/skills/05_EEG_ERP/erp-analysis/references/erp-components.md +447 -0
- package/skills/05_EEG_ERP/erp-analysis/references/preprocessing-pipeline.md +277 -0
- package/skills/05_EEG_ERP/erp-analysis/references/statistical-approaches.md +351 -0
- package/skills/05_EEG_ERP/mne-python-guide/SKILL.md +174 -0
- package/skills/05_EEG_ERP/mne-python-guide/references/decoding.md +178 -0
- package/skills/05_EEG_ERP/mne-python-guide/references/io_formats.md +160 -0
- package/skills/05_EEG_ERP/mne-python-guide/references/preprocessing.md +259 -0
- package/skills/05_EEG_ERP/mne-python-guide/references/simulation.md +173 -0
- package/skills/05_EEG_ERP/mne-python-guide/references/source_localization.md +234 -0
- package/skills/05_EEG_ERP/mne-python-guide/references/statistics.md +196 -0
- package/skills/05_EEG_ERP/mne-python-guide/references/time_frequency.md +165 -0
- package/skills/05_EEG_ERP/mne-python-guide/references/visualization.md +175 -0
- package/skills/06_fMRI_Neuroimaging/brain-connectivity-modeler/SKILL.md +317 -0
- package/skills/06_fMRI_Neuroimaging/brain-connectivity-modeler/references/method-implementation-guide.md +116 -0
- package/skills/06_fMRI_Neuroimaging/fmri-glm-analysis-guide/SKILL.md +296 -0
- package/skills/06_fMRI_Neuroimaging/fmri-glm-analysis-guide/references/design-matrix-guide.md +214 -0
- package/skills/06_fMRI_Neuroimaging/fmri-glm-analysis-guide/references/statistical-inference.md +288 -0
- package/skills/06_fMRI_Neuroimaging/fmri-preprocessing-pipeline-guide/SKILL.md +274 -0
- package/skills/06_fMRI_Neuroimaging/fmri-preprocessing-pipeline-guide/references/quality-control.md +336 -0
- package/skills/06_fMRI_Neuroimaging/fmri-preprocessing-pipeline-guide/references/step-by-step-pipeline.md +380 -0
- package/skills/06_fMRI_Neuroimaging/fmri-task-design-guide/SKILL.md +264 -0
- package/skills/06_fMRI_Neuroimaging/fmri-task-design-guide/references/design-optimization-examples.md +114 -0
- package/skills/06_fMRI_Neuroimaging/neural-decoding-analysis/SKILL.md +273 -0
- package/skills/06_fMRI_Neuroimaging/neural-decoding-analysis/references/decoding-methods.md +170 -0
- package/skills/06_fMRI_Neuroimaging/neural-decoding-analysis/references/rsa-guide.md +266 -0
- package/skills/06_fMRI_Neuroimaging/pycortex-guide/SKILL.md +123 -0
- package/skills/06_fMRI_Neuroimaging/pycortex-guide/references/database-subjects.md +179 -0
- package/skills/06_fMRI_Neuroimaging/pycortex-guide/references/dataset-types.md +208 -0
- package/skills/06_fMRI_Neuroimaging/pycortex-guide/references/freesurfer-fmriprep.md +162 -0
- package/skills/06_fMRI_Neuroimaging/pycortex-guide/references/mapping-transforms.md +181 -0
- package/skills/06_fMRI_Neuroimaging/pycortex-guide/references/mni-utils.md +207 -0
- package/skills/06_fMRI_Neuroimaging/pycortex-guide/references/surface-analysis.md +219 -0
- package/skills/06_fMRI_Neuroimaging/pycortex-guide/references/visualization.md +251 -0
- package/skills/07_Computational_Modeling/act-r-model-builder/SKILL.md +297 -0
- package/skills/07_Computational_Modeling/act-r-model-builder/references/model-patterns.md +197 -0
- package/skills/07_Computational_Modeling/act-r-model-builder/references/parameter-table.yaml +204 -0
- package/skills/07_Computational_Modeling/bayesian-cognitive-model-builder/SKILL.md +294 -0
- package/skills/07_Computational_Modeling/bayesian-cognitive-model-builder/references/diagnostics-checklist.md +351 -0
- package/skills/07_Computational_Modeling/bayesian-cognitive-model-builder/references/prior-selection-guide.md +241 -0
- package/skills/07_Computational_Modeling/parameter-recovery-checker/SKILL.md +269 -0
- package/skills/07_Computational_Modeling/parameter-recovery-checker/references/recovery-diagnostics.md +207 -0
- package/skills/08_Computational_Neuroscience/brain-connectivity-modeler/SKILL.md +317 -0
- package/skills/08_Computational_Neuroscience/brain-connectivity-modeler/references/method-implementation-guide.md +116 -0
- package/skills/08_Computational_Neuroscience/neural-decoding-analysis/SKILL.md +273 -0
- package/skills/08_Computational_Neuroscience/neural-decoding-analysis/references/decoding-methods.md +170 -0
- package/skills/08_Computational_Neuroscience/neural-decoding-analysis/references/rsa-guide.md +266 -0
- package/skills/08_Computational_Neuroscience/neural-population-analysis-guide/SKILL.md +305 -0
- package/skills/08_Computational_Neuroscience/neural-population-analysis-guide/references/data-requirements.md +60 -0
- package/skills/08_Computational_Neuroscience/neural-population-analysis-guide/references/method-comparison.md +151 -0
- package/skills/08_Computational_Neuroscience/spiking-network-model-builder/SKILL.md +376 -0
- package/skills/08_Computational_Neuroscience/spiking-network-model-builder/references/hh-parameters.md +117 -0
- package/skills/08_Computational_Neuroscience/spiking-network-model-builder/references/network-regimes.md +130 -0
- package/skills/09_Cellular_Molecular_Neuroscience/calcium-imaging-analysis-guide/SKILL.md +258 -0
- package/skills/09_Cellular_Molecular_Neuroscience/calcium-imaging-analysis-guide/references/indicator-parameters.md +242 -0
- package/skills/09_Cellular_Molecular_Neuroscience/calcium-imaging-analysis-guide/references/pipeline-details.md +211 -0
- package/skills/09_Cellular_Molecular_Neuroscience/optogenetics-protocol-designer/SKILL.md +261 -0
- package/skills/09_Cellular_Molecular_Neuroscience/optogenetics-protocol-designer/references/opsin-catalog.md +124 -0
- package/skills/09_Cellular_Molecular_Neuroscience/optogenetics-protocol-designer/references/stimulation-parameters.md +304 -0
- package/skills/10_Clinical_Neuropsychology/lesion-symptom-mapping-guide/SKILL.md +367 -0
- package/skills/10_Clinical_Neuropsychology/lesion-symptom-mapping-guide/references/disconnection-guide.md +152 -0
- package/skills/10_Clinical_Neuropsychology/lesion-symptom-mapping-guide/references/vlsm-pipeline.md +182 -0
- package/skills/10_Clinical_Neuropsychology/neuropsych-battery-selector/SKILL.md +250 -0
- package/skills/10_Clinical_Neuropsychology/neuropsych-battery-selector/references/deficit-profiles.md +302 -0
- package/skills/10_Clinical_Neuropsychology/neuropsych-battery-selector/references/test-catalog.md +304 -0
- package/skills/11_Developmental_Cognition/infant-looking-time-designer/SKILL.md +345 -0
- package/skills/11_Developmental_Cognition/infant-looking-time-designer/references/age-parameters.yaml +186 -0
- package/skills/12_Social_Cognition/tom-task-selector/SKILL.md +379 -0
- package/skills/12_Social_Cognition/tom-task-selector/references/task-database.md +317 -0
- package/skills/13_Visualization/nature-figure/README.md +442 -0
- package/skills/13_Visualization/nature-figure/SKILL.md +60 -0
- package/skills/13_Visualization/nature-figure/assets/chart-atlas/atlas-01-bar-charts.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/chart-atlas/atlas-02-line-trends.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/chart-atlas/atlas-03-heatmaps.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/chart-atlas/atlas-04-scatter-bubble.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/chart-atlas/atlas-05-radar-polar.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/chart-atlas/atlas-06-distributions.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/chart-atlas/atlas-07-forest-interval.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/chart-atlas/atlas-08-area-stacked.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/chart-atlas/atlas-09-image-plates.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/chart-atlas/atlas-10-network-matrix.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/assets/Dispersion_motivation.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/assets/Dispersion_observation.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/assets/Dispersion_observation_distillation.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/assets/ImmunoStruct_contrastive.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/assets/ImmunoStruct_results_CEDAR.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/assets/ImmunoStruct_results_IEDB.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/assets/ImmunoStruct_schematic.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/assets/RNAGenScape_schematic.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_CellSpliceNet/figures/ablation.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_CellSpliceNet/figures/comparison.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_CellSpliceNet/plot_ablation.py +86 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_CellSpliceNet/plot_comparison.py +109 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Cflows/diffusion_swiss_roll.py +97 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Cflows/figures/diffusion_swiss_roll.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Cflows/figures/fig2_comparison_GeneRegulatory.pdf +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Cflows/figures/fig2_comparison_GeneRegulatory.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Cflows/figures/fig2_comparison_Trajectory.pdf +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Cflows/figures/fig2_comparison_Trajectory.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Cflows/figures/figX_comparison_Ablation.pdf +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Cflows/figures/figX_comparison_Ablation.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Cflows/plot_comparison_Ablation.py +64 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Cflows/plot_comparison_GeneRegulatory.py +74 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Cflows/plot_comparison_Trajectory.py +74 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Dispersion/figures/idea.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Dispersion/figures/illustration.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Dispersion/plot_idea.py +76 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Dispersion/plot_illustration.py +404 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_FPGM/figures/freq_prior.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_FPGM/plot_freq_prior.py +146 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_ImmunoStruct/figures/bars_ablation_Cancer.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_ImmunoStruct/figures/bars_ablation_IEDB.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_ImmunoStruct/figures/bars_comparison_Cancer.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_ImmunoStruct/figures/bars_comparison_IEDB.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_ImmunoStruct/plot_bars.py +216 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_ImmunoStruct/raw_data.py +125 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_RNAGenScape/figures/manifold.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_RNAGenScape/figures/manifold_holes.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_RNAGenScape/figures/results_comparison_optimization.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_RNAGenScape/figures/results_comparison_speed.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_RNAGenScape/figures/results_sweep.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_RNAGenScape/plot_comparison.py +228 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_RNAGenScape/plot_hole_manifold.py +82 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_RNAGenScape/plot_manifold.py +61 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_RNAGenScape/plot_sweep.py +77 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_VIGIL/figures/comparison_posttraining.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_VIGIL/figures/comparison_radar.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_VIGIL/plot_comparison_radar.py +173 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_VIGIL/plot_posttraining.py +82 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_brainteaser/figures/brute_force.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_brainteaser/figures/correctness_by_category.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_brainteaser/figures/correctness_by_subcategory.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_brainteaser/figures/rewriting.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_brainteaser/figures/selfcorrection_math.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_brainteaser/plot_brute_force.py +248 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_brainteaser/plot_correctness_by_category.py +132 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_brainteaser/plot_correctness_by_subcategory.py +131 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_brainteaser/plot_rewriting.py +105 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_brainteaser/plot_selfcorrection_math.py +99 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_ophthal_review/figures/composition_heatmap.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_ophthal_review/figures/trend_by_month.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_ophthal_review/plot_composition.py +81 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_ophthal_review/plot_trend.py +125 -0
- package/skills/13_Visualization/nature-figure/assets/gallery/fig1-material-mechanism-rich.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/gallery/fig2-spatial-imaging-rich.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/gallery/fig3-in-vivo-efficacy-rich.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/gallery/fig4-single-cell-systems-rich.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/gallery/fig5-validation-perturbation-rich.png +0 -0
- package/skills/13_Visualization/nature-figure/evals/evals.json +37 -0
- package/skills/13_Visualization/nature-figure/manifest.yaml +57 -0
- package/skills/13_Visualization/nature-figure/references/api.md +428 -0
- package/skills/13_Visualization/nature-figure/references/backend-selection.md +100 -0
- package/skills/13_Visualization/nature-figure/references/chart-types.md +281 -0
- package/skills/13_Visualization/nature-figure/references/common-patterns.md +350 -0
- package/skills/13_Visualization/nature-figure/references/demos.md +65 -0
- package/skills/13_Visualization/nature-figure/references/design-theory.md +436 -0
- package/skills/13_Visualization/nature-figure/references/figure-contract.md +93 -0
- package/skills/13_Visualization/nature-figure/references/nature-2026-observations.md +112 -0
- package/skills/13_Visualization/nature-figure/references/qa-contract.md +119 -0
- package/skills/13_Visualization/nature-figure/references/r-template-index.md +66 -0
- package/skills/13_Visualization/nature-figure/references/r-workflow.md +161 -0
- package/skills/13_Visualization/nature-figure/references/tutorials.md +251 -0
- package/skills/13_Visualization/nature-figure/static/core/contract.md +29 -0
- package/skills/13_Visualization/nature-figure/static/core/stance.md +37 -0
- package/skills/13_Visualization/nature-figure/static/fragments/backend/python.md +37 -0
- package/skills/13_Visualization/nature-figure/static/fragments/backend/r.md +44 -0
- package/skills/14_Writing/markdown-report-writing/SKILL.md +306 -0
- package/skills/14_Writing/markdown-report-writing/references/compatibility-matrix.md +72 -0
- package/skills/14_Writing/markdown-report-writing/references/templates.md +299 -0
- package/skills/15_Others/neuroimaging-power-guide/SKILL.md +324 -0
- package/skills/15_Others/neuroimaging-power-guide/references/effect-size-lookup-tables.md +102 -0
- package/skills/15_Others/neuroimaging-sample-size-calculator/SKILL.md +330 -0
- package/skills/15_Others/neuroimaging-sample-size-calculator/references/worked-examples.md +220 -0
package/skills/03_Cognitive_Psychology/cognitive-paradigm-design/references/design-principles.md
ADDED
|
@@ -0,0 +1,256 @@
|
|
|
1
|
+
# Experimental Design Principles for Cognitive Psychology
|
|
2
|
+
|
|
3
|
+
This reference covers the core principles of designing rigorous cognitive experiments, including design type selection, trial estimation, practice and catch trials, counterbalancing, and confound control.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## 1. Between-Subjects vs. Within-Subjects Design
|
|
8
|
+
|
|
9
|
+
### Decision Framework
|
|
10
|
+
|
|
11
|
+
| Factor | Favors Within-Subjects | Favors Between-Subjects |
|
|
12
|
+
|---|---|---|
|
|
13
|
+
| **Individual differences** | Large individual variability in baseline performance (e.g., RT tasks with 200+ ms between-person spread) (Keppel & Wickens, 2004, Ch. 17) | Individual differences are small relative to the manipulation effect |
|
|
14
|
+
| **Carry-over / order effects** | No carry-over effects (or easily counterbalanced) | Conditions produce lasting carryover (e.g., learning, strategy shifts, emotional priming) |
|
|
15
|
+
| **Demand characteristics** | Participants cannot easily detect the hypothesis by seeing all conditions | Transparent contrast between conditions increases demand (e.g., explicit priming manipulation) |
|
|
16
|
+
| **Sample size efficiency** | Greater statistical power per participant: within-subjects designs remove between-subject variance, often requiring ~50% fewer participants for equivalent power (Maxwell & Delaney, 2004, Ch. 11) | When carry-over is unavoidable, between-subjects avoids contamination |
|
|
17
|
+
| **Number of conditions** | Few conditions (2-4); more conditions increase fatigue and session length | Many conditions (>4) that would create excessively long within-subjects sessions |
|
|
18
|
+
| **Practical constraints** | Participants are scarce (clinical populations, special populations) | Large participant pool is available |
|
|
19
|
+
|
|
20
|
+
### When to Use Mixed (Split-Plot) Designs
|
|
21
|
+
|
|
22
|
+
Use a mixed design when one factor must be between-subjects (e.g., patient group vs. control) and another varies within-subjects (e.g., stimulus condition). Mixed designs are standard in clinical cognitive research (Keppel & Wickens, 2004, Ch. 19).
|
|
23
|
+
|
|
24
|
+
### Statistical Considerations
|
|
25
|
+
|
|
26
|
+
- **Within-subjects advantage**: The error term in repeated-measures ANOVA excludes between-subject variance, increasing F values. This advantage is captured by the correlation among conditions: the higher the correlation, the greater the power gain (Maxwell & Delaney, 2004, Ch. 11).
|
|
27
|
+
- **Sphericity**: Within-subjects designs with 3+ levels require checking Mauchly's test; use Greenhouse-Geisser or Huynh-Feldt correction when violated (epsilon < 0.75 use G-G, otherwise H-F) (Girden, 1992).
|
|
28
|
+
- **Effect size for within-subjects**: Report Cohen's d_z (= mean_diff / SD_diff) for paired comparisons, not d_s (Lakens, 2013).
|
|
29
|
+
|
|
30
|
+
---
|
|
31
|
+
|
|
32
|
+
## 2. Trial Number Estimation
|
|
33
|
+
|
|
34
|
+
### General Principles
|
|
35
|
+
|
|
36
|
+
The number of trials per condition is determined by:
|
|
37
|
+
1. The expected **effect size** of the manipulation
|
|
38
|
+
2. The **within-subject variability** (trial-to-trial noise)
|
|
39
|
+
3. The desired **statistical power** (conventionally 0.80; Cohen, 1988)
|
|
40
|
+
|
|
41
|
+
### Effect Size Benchmarks for Common Paradigms
|
|
42
|
+
|
|
43
|
+
| Paradigm | Typical Effect Size (Cohen's d) | Recommended Minimum Trials/Condition | Source |
|
|
44
|
+
|---|---|---|---|
|
|
45
|
+
| Stroop interference | d ~ **1.0-1.5** (large) | **40-60** | MacLeod (1991); Hedge et al. (2018) |
|
|
46
|
+
| Flanker congruency | d ~ **0.8-1.2** (large) | **40-60** | Hedge et al. (2018) |
|
|
47
|
+
| Posner validity effect | d ~ **0.5-1.0** (medium-large) | **40-80** | Fan et al. (2002) |
|
|
48
|
+
| Visual search slope | d ~ **0.5-0.8** (medium) | **20-40 per set size** | Wolfe (1998) |
|
|
49
|
+
| Attentional blink | d ~ **0.8-1.5** (large) | **50-80 per lag** | Martens & Wyble (2010) |
|
|
50
|
+
| Priming (semantic) | d ~ **0.3-0.6** (small-medium) | **40-80** | Lucas (2000); McNamara (2005) |
|
|
51
|
+
| Switch cost (RT) | d ~ **0.5-1.0** (medium-large) | **80-100** | Monsell (2003) |
|
|
52
|
+
| Working memory capacity (K) | r ~ **0.80** (reliability) | **150+ total** (~75 change, 75 no-change) | Rouder et al. (2011) |
|
|
53
|
+
| Stop-signal (SSRT) | ICC ~ **0.7** at 200 trials | **160-200 total** (~40-50 stop trials) | Verbruggen et al. (2019) |
|
|
54
|
+
| N-back d' | d ~ **0.5-1.0** per load level | **40-60 per load** | Owen et al. (2005) |
|
|
55
|
+
|
|
56
|
+
### Baker et al. (2021) Power Contour Approach
|
|
57
|
+
|
|
58
|
+
Rather than focusing solely on participant N, Baker et al. (2021, *Psychological Methods*) showed that increasing trials per condition also improves power by reducing per-participant measurement noise:
|
|
59
|
+
- Each participant's mean is estimated more precisely with more trials, reducing the sample SD
|
|
60
|
+
- The effective Cohen's d = M / sigma_s, where sigma_s decreases with sqrt(k) trials per participant
|
|
61
|
+
- **Practical implication**: Doubling trials per condition can be as beneficial as substantially increasing participant N, especially when between-subject variance is moderate
|
|
62
|
+
|
|
63
|
+
### Sample Size (Participants) Rules of Thumb
|
|
64
|
+
|
|
65
|
+
- **Two-condition within-subjects** (d = 0.4, alpha = .05, power = .80): **~52 participants** (Brysbaert & Stevens, 2018)
|
|
66
|
+
- **Two-group between-subjects** (d = 0.5, alpha = .05, power = .80): **~64 per group** (128 total) (Cohen, 1988)
|
|
67
|
+
- **2 x 2 interaction** (f = 0.25, power = .80): **~100-180 participants** depending on design (Brysbaert & Stevens, 2018)
|
|
68
|
+
- For published cognitive psychology studies, the median effect size is approximately **d = 0.4** (Open Science Collaboration, 2015; Camerer et al., 2018)
|
|
69
|
+
|
|
70
|
+
### Sensitivity Analysis
|
|
71
|
+
|
|
72
|
+
Always conduct a sensitivity analysis alongside a priori power analysis:
|
|
73
|
+
- Given your planned N and alpha, what is the minimum detectable effect size?
|
|
74
|
+
- Use G*Power (Faul et al., 2007) or the R package `pwr` (Champely, 2020) for formal computation
|
|
75
|
+
|
|
76
|
+
---
|
|
77
|
+
|
|
78
|
+
## 3. Practice Trials
|
|
79
|
+
|
|
80
|
+
### Purpose
|
|
81
|
+
|
|
82
|
+
Practice trials serve to:
|
|
83
|
+
1. **Familiarize** participants with the task, stimuli, and response mappings
|
|
84
|
+
2. **Stabilize** performance by allowing learning of the task interface to reach asymptote before experimental trials begin
|
|
85
|
+
3. **Identify** participants who fail to understand the task (accuracy below chance in practice)
|
|
86
|
+
|
|
87
|
+
### Guidelines
|
|
88
|
+
|
|
89
|
+
| Parameter | Recommendation | Rationale / Source |
|
|
90
|
+
|---|---|---|
|
|
91
|
+
| **Minimum practice trials** | **10-20 trials** for simple tasks (e.g., button-press RT); **20-40 trials** for complex tasks (e.g., task-switching, N-back) | Performance typically stabilizes within 10-20 trials for simple RT tasks (Luce, 1986); complex tasks require more |
|
|
92
|
+
| **Practice block accuracy criterion** | **>80% accuracy** before proceeding; re-administer practice if not met | Ensures task comprehension (standard in many labs; see Verbruggen et al., 2019 for stop-signal) |
|
|
93
|
+
| **Use different stimuli** | Practice items should differ from experimental items to avoid pre-exposure effects | Prevents item-specific learning from contaminating experimental data |
|
|
94
|
+
| **Gradual difficulty increase** | For adaptive tasks (e.g., N-back), start at the easiest level and increase | Standard protocol in N-back studies (Jaeggi et al., 2010) |
|
|
95
|
+
| **Feedback during practice** | Provide accuracy feedback during practice trials; **remove feedback** during experimental trials (unless feedback is the manipulation) | Feedback accelerates learning during practice but can alter strategy during experiment (Kluger & DeNisi, 1996) |
|
|
96
|
+
| **Warm-up block** | Include a brief warm-up block (~5-10 trials) at the start of each new experimental block to re-engage task set | Reduces start-of-block instability; first 2-5 trials of each block are typically excluded from analysis (Monsell, 2003) |
|
|
97
|
+
|
|
98
|
+
### When to Exclude More Practice
|
|
99
|
+
|
|
100
|
+
- **Tasks with steep learning curves** (e.g., psychophysical staircase, IGT): May need **50-100** familiarization trials before stable performance (Watson & Pelli, 1983)
|
|
101
|
+
- **Dual-task paradigms**: Require separate practice on each component task, then combined practice
|
|
102
|
+
- **EEG/fMRI**: Include extra practice outside the scanner/cap to reduce artifact from novelty-related movements
|
|
103
|
+
|
|
104
|
+
---
|
|
105
|
+
|
|
106
|
+
## 4. Catch Trials
|
|
107
|
+
|
|
108
|
+
### Purpose
|
|
109
|
+
|
|
110
|
+
Catch trials (also called "blank trials," "no-go trials," or "no-target trials") prevent anticipatory or habitual responses and ensure that participants are genuinely processing the stimuli.
|
|
111
|
+
|
|
112
|
+
### Types and Proportions
|
|
113
|
+
|
|
114
|
+
| Type | Description | Recommended Proportion | Source |
|
|
115
|
+
|---|---|---|---|
|
|
116
|
+
| **No-target catch trials** | Trials with no target present; participant should withhold response | **10-20%** of total trials | Posner (1980); standard in detection tasks |
|
|
117
|
+
| **No-go trials** | In Go/No-Go paradigms, trials requiring response inhibition | **20-30%** of total trials | Wessel (2018) |
|
|
118
|
+
| **Comprehension probes** | After-sentence questions in reading paradigms to verify comprehension | **30-50%** of sentences followed by a probe | Just et al. (1982); Keating & Jegerski (2015) |
|
|
119
|
+
| **Manipulation check trials** | Probe awareness or strategy (e.g., in masked priming: "Did you see the prime?") | **5-10%** of trials, interspersed or post-experiment block | Forster & Davis (1984) |
|
|
120
|
+
|
|
121
|
+
### Design Considerations
|
|
122
|
+
|
|
123
|
+
- Catch trials should be **randomly interspersed**, not blocked separately
|
|
124
|
+
- If catch trials are too frequent, they become a secondary task and alter the primary strategy
|
|
125
|
+
- In signal detection tasks, the "catch trial" proportion effectively sets the base rate and directly affects criterion placement (Macmillan & Creelman, 2005)
|
|
126
|
+
- For stop-signal tasks, **25%** stop trials is standard; higher proportions lead to proactive slowing of Go responses, contaminating SSRT (Verbruggen et al., 2019)
|
|
127
|
+
|
|
128
|
+
---
|
|
129
|
+
|
|
130
|
+
## 5. Counterbalancing
|
|
131
|
+
|
|
132
|
+
### Purpose
|
|
133
|
+
|
|
134
|
+
Counterbalancing controls for order effects, sequence effects, and stimulus-response mapping confounds in within-subjects designs.
|
|
135
|
+
|
|
136
|
+
### Methods
|
|
137
|
+
|
|
138
|
+
#### 5.1 Full Counterbalancing
|
|
139
|
+
|
|
140
|
+
- **All possible orders** of conditions are represented
|
|
141
|
+
- For k conditions: **k!** orderings needed
|
|
142
|
+
- Feasible only for **2-3 conditions** (2! = 2, 3! = 6 orders)
|
|
143
|
+
- Each participant receives one order; N should be a multiple of k!
|
|
144
|
+
|
|
145
|
+
#### 5.2 Latin Square
|
|
146
|
+
|
|
147
|
+
- **k orderings for k conditions**: Each condition appears in each ordinal position exactly once
|
|
148
|
+
- Requires N to be a multiple of k
|
|
149
|
+
- **Example** for 4 conditions:
|
|
150
|
+
|
|
151
|
+
| Order | Pos 1 | Pos 2 | Pos 3 | Pos 4 |
|
|
152
|
+
|---|---|---|---|---|
|
|
153
|
+
| 1 | A | B | C | D |
|
|
154
|
+
| 2 | B | C | D | A |
|
|
155
|
+
| 3 | C | D | A | B |
|
|
156
|
+
| 4 | D | A | B | C |
|
|
157
|
+
|
|
158
|
+
- **Balanced Latin Square** (Williams, 1949): Additionally controls for first-order carry-over effects (each condition precedes each other condition equally often). Requires **2k** participants for even k, **2k** for odd k.
|
|
159
|
+
- **Recommended for 4+ conditions** in within-subjects designs (Keppel & Wickens, 2004, Ch. 18)
|
|
160
|
+
|
|
161
|
+
#### 5.3 Counterbalancing Stimulus-Response Mappings
|
|
162
|
+
|
|
163
|
+
- When arbitrary S-R mappings are used (e.g., left key = "old," right key = "new"), **counterbalance across participants**: half use one mapping, half the other
|
|
164
|
+
- In lateralized tasks (e.g., Posner cueing), ensure equal numbers of left and right targets within each condition
|
|
165
|
+
- For handedness-sensitive tasks, record dominant hand and counterbalance response hand assignment (Oldfield, 1971, Edinburgh Handedness Inventory)
|
|
166
|
+
|
|
167
|
+
#### 5.4 Pseudo-Randomization Constraints
|
|
168
|
+
|
|
169
|
+
Within blocks, trial order should be pseudo-randomized with constraints:
|
|
170
|
+
- **No more than 3-4 consecutive trials** of the same condition (to prevent expectation-based strategies)
|
|
171
|
+
- **Equal transitions** between conditions: Each condition follows each other condition approximately equally often (prevents sequential confounds like the Gratton effect in conflict tasks; Gratton et al., 1992)
|
|
172
|
+
- **Minimum distance between identical stimuli**: At least **4-5 intervening trials** (to prevent immediate repetition priming; Mayr & Kliegl, 2003)
|
|
173
|
+
|
|
174
|
+
---
|
|
175
|
+
|
|
176
|
+
## 6. Common Confounds and Control Methods
|
|
177
|
+
|
|
178
|
+
### 6.1 Speed-Accuracy Tradeoff (SAT)
|
|
179
|
+
|
|
180
|
+
- **Problem**: Faster responses at the cost of more errors (or vice versa); a condition may appear "faster" only because participants adopted a riskier criterion
|
|
181
|
+
- **Controls**:
|
|
182
|
+
- Report **both RT and accuracy** (never RT alone) (Wickelgren, 1977)
|
|
183
|
+
- Use **inverse efficiency score (IES)**: IES = RT / (1 - error rate) (Townsend & Ashby, 1978) — though IES has limitations when accuracy varies substantially
|
|
184
|
+
- Apply **drift-diffusion modeling** (Ratcliff & McKoon, 2008) to decompose drift rate, boundary separation, and non-decision time
|
|
185
|
+
- Set a **response deadline** to constrain criterion variability
|
|
186
|
+
- Instruct participants equally to emphasize speed **and** accuracy
|
|
187
|
+
|
|
188
|
+
### 6.2 Practice and Fatigue Effects
|
|
189
|
+
|
|
190
|
+
- **Problem**: Performance improves with practice or degrades with fatigue across the session
|
|
191
|
+
- **Controls**:
|
|
192
|
+
- **Counterbalance condition order** across participants (see Section 5)
|
|
193
|
+
- **Discard the first 2-5 trials** of each block ("warm-up" exclusion) (Monsell, 2003)
|
|
194
|
+
- Include **rest breaks** every **50-100 trials** or every **5-10 minutes**; cognitive tasks show fatigue effects after **~15-20 minutes** of continuous performance (Ackerman & Kanfer, 2009)
|
|
195
|
+
- Use **ABBA** or **randomized block** designs for two conditions to balance linear practice trends
|
|
196
|
+
|
|
197
|
+
### 6.3 Stimulus Confounds
|
|
198
|
+
|
|
199
|
+
- **Problem**: Conditions differ in low-level stimulus properties (luminance, spatial frequency, word length, etc.) rather than the variable of interest
|
|
200
|
+
- **Controls**:
|
|
201
|
+
- Match stimuli on **word frequency, length, concreteness, familiarity** using normative databases (e.g., SUBTLEX-US for word frequency, Brysbaert & New, 2009; MRC Psycholinguistic Database)
|
|
202
|
+
- For visual stimuli: equate **luminance, contrast, size, spatial frequency** (Willenbockel et al., 2010, SHINE toolbox)
|
|
203
|
+
- Use **the same physical stimuli** across conditions (e.g., in Stroop, the same words appear in congruent and incongruent conditions)
|
|
204
|
+
- When matching is insufficient, include the stimulus property as a **covariate** in analysis
|
|
205
|
+
|
|
206
|
+
### 6.4 Demand Characteristics and Expectation Effects
|
|
207
|
+
|
|
208
|
+
- **Problem**: Participants infer the experimenter's hypothesis and adjust behavior accordingly
|
|
209
|
+
- **Controls**:
|
|
210
|
+
- Use **cover stories** that do not reveal the true hypothesis (APA ethics permitting)
|
|
211
|
+
- Employ **between-subjects manipulations** for transparent conditions
|
|
212
|
+
- Include **post-experiment questionnaires** probing awareness of the hypothesis (funnel debriefing; Bargh & Chartrand, 2000)
|
|
213
|
+
- For priming studies: **low relatedness proportion** (e.g., 20-25% related pairs) reduces strategic expectancy (Neely et al., 1989)
|
|
214
|
+
|
|
215
|
+
### 6.5 Multiple Comparisons
|
|
216
|
+
|
|
217
|
+
- **Problem**: Inflated Type I error rate when testing multiple dependent variables or conditions
|
|
218
|
+
- **Controls**:
|
|
219
|
+
- **Bonferroni correction**: alpha_adj = alpha / m comparisons; overly conservative when tests are correlated (Bland & Altman, 1995)
|
|
220
|
+
- **Holm-Bonferroni**: Sequential step-down procedure, uniformly more powerful than Bonferroni (Holm, 1979)
|
|
221
|
+
- **FDR correction** (Benjamini & Hochberg, 1995): Controls false discovery rate; preferred for exploratory analyses with many tests (standard in neuroimaging)
|
|
222
|
+
- **Planned contrasts**: Pre-register specific comparisons instead of omnibus tests followed by post-hoc corrections
|
|
223
|
+
|
|
224
|
+
### 6.6 Response Bias and Criterion Shifts
|
|
225
|
+
|
|
226
|
+
- **Problem**: Participants adopt different response criteria across conditions (e.g., more conservative for difficult trials)
|
|
227
|
+
- **Controls**:
|
|
228
|
+
- Use **SDT measures** (d' and criterion c) rather than raw accuracy (Macmillan & Creelman, 2005)
|
|
229
|
+
- Use **forced-choice (2AFC)** paradigm, which is criterion-free (Green & Swets, 1966)
|
|
230
|
+
- Equalize **base rates** (50% signal, 50% noise) unless base-rate manipulation is the research question
|
|
231
|
+
- Report **ROC curves** when response bias is a concern
|
|
232
|
+
|
|
233
|
+
### 6.7 Ceiling and Floor Effects
|
|
234
|
+
|
|
235
|
+
- **Problem**: Performance at maximum or minimum, preventing detection of between-condition differences
|
|
236
|
+
- **Controls**:
|
|
237
|
+
- **Pilot test** to calibrate difficulty to ~**70-85% accuracy** (the most informative range for SDT analyses) (Macmillan & Creelman, 2005)
|
|
238
|
+
- Use **adaptive staircases** (e.g., QUEST, 1-up/2-down) to titrate difficulty to individual thresholds
|
|
239
|
+
- Avoid using stimuli that are trivially easy or impossibly hard; verify performance is above chance and below ceiling in all conditions
|
|
240
|
+
- For RT tasks, check that mean RT is well above the **150-200 ms** anticipation threshold and well below the **response deadline**
|
|
241
|
+
|
|
242
|
+
---
|
|
243
|
+
|
|
244
|
+
## 7. Essential Reporting Checklist
|
|
245
|
+
|
|
246
|
+
Based on APA reporting standards and Simmons, Nelson, & Simonsohn (2011, "False-Positive Psychology"):
|
|
247
|
+
|
|
248
|
+
- [ ] Report **all conditions** tested (including those that "did not work")
|
|
249
|
+
- [ ] Report **sample size determination** method (a priori power analysis with assumed effect size, or stopping rule)
|
|
250
|
+
- [ ] Report **all measures** collected (do not selectively report DVs)
|
|
251
|
+
- [ ] Report **exclusion criteria** and how many participants/trials were excluded
|
|
252
|
+
- [ ] Report **both RT and accuracy** for speeded tasks
|
|
253
|
+
- [ ] Report **effect sizes** with confidence intervals (not just p-values)
|
|
254
|
+
- [ ] Specify the **statistical model** used (t-test, ANOVA, mixed-effects model, Bayesian, etc.)
|
|
255
|
+
- [ ] State whether analyses were **pre-registered** (and provide the registration link)
|
|
256
|
+
- [ ] Report counterbalancing scheme and stimulus randomization method
|
|
@@ -0,0 +1,270 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: "creativity-self-efficacy-mediation"
|
|
3
|
+
description: "Domain-validated guidance for SEM-based mediation analysis of creative self-efficacy and moderation by baseline creativity in AI-augmented creativity research"
|
|
4
|
+
domain: "cognitive-psychology"
|
|
5
|
+
version: "1.0.0"
|
|
6
|
+
papers:
|
|
7
|
+
- "Lee & Chung, 2024"
|
|
8
|
+
- "Tierney & Farmer, 2002"
|
|
9
|
+
- "Bandura, 1997"
|
|
10
|
+
- "Mednick, 1962"
|
|
11
|
+
dependencies:
|
|
12
|
+
required:
|
|
13
|
+
- research-literacy
|
|
14
|
+
review_status: "ai-generated"
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
# Creativity Self-Efficacy Mediation Analysis
|
|
18
|
+
|
|
19
|
+
## Purpose
|
|
20
|
+
|
|
21
|
+
This skill encodes expert methodological knowledge for analyzing the **psychological mechanisms** through which AI tools (ChatGPT, web search) affect human creativity. Specifically, it covers SEM-based mediation analysis with creative self-efficacy as a mediator, and moderation analysis using baseline creativity. A general-purpose programmer could run a mediation analysis package, but would not know why creative self-efficacy is the theoretically motivated mediator, how to measure it, what the RAT measures and why it is the appropriate baseline, or how to interpret the indirect effect in the context of creativity theory.
|
|
22
|
+
|
|
23
|
+
## When to Use This Skill
|
|
24
|
+
|
|
25
|
+
- Investigating **why** an intervention affects creativity (not just whether it does)
|
|
26
|
+
- Testing whether creative self-efficacy mediates the effect of AI/tool use on creative output
|
|
27
|
+
- Examining whether baseline creativity moderates the effect of AI assistance
|
|
28
|
+
- Designing a study that needs both mediation and moderation analysis for creativity outcomes
|
|
29
|
+
- Specifying SEM models for creativity research using lavaan (R)
|
|
30
|
+
|
|
31
|
+
## Research Planning Protocol
|
|
32
|
+
|
|
33
|
+
Before executing the domain-specific steps below, you MUST:
|
|
34
|
+
|
|
35
|
+
1. **State the research question** — What mechanism or moderator is being tested?
|
|
36
|
+
2. **Justify the method choice** — Why SEM-based mediation (not Baron & Kenny, not PROCESS)? What alternatives were considered?
|
|
37
|
+
3. **Declare expected outcomes** — What pattern of indirect/direct effects would support vs. refute the hypothesis?
|
|
38
|
+
4. **Note assumptions and limitations** — What does SEM assume? Where could cross-sectional mediation mislead?
|
|
39
|
+
5. **Present the plan to the user and WAIT for confirmation** before proceeding.
|
|
40
|
+
|
|
41
|
+
For detailed methodology guidance, see the `research-literacy` skill.
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
## ⚠️ Verification Notice
|
|
45
|
+
|
|
46
|
+
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).
|
|
47
|
+
|
|
48
|
+
## Theoretical Framework
|
|
49
|
+
|
|
50
|
+
### Creative Self-Efficacy as Mediator
|
|
51
|
+
|
|
52
|
+
**Creative self-efficacy** (CSE) = an individual's belief in their ability to produce creative outcomes (Tierney & Farmer, 2002). It is grounded in Bandura's (1997) self-efficacy theory: people who believe they can be creative are more likely to attempt, persist at, and succeed in creative tasks.
|
|
53
|
+
|
|
54
|
+
**Hypothesized causal chain** (Lee & Chung, 2024):
|
|
55
|
+
|
|
56
|
+
```
|
|
57
|
+
AI tool use → ↓ Creative Self-Efficacy → ↓ Creative Output
|
|
58
|
+
|
|
59
|
+
Mechanism: Using AI to generate ideas may undermine the user's
|
|
60
|
+
belief in their own creative ability, leading to reduced creative
|
|
61
|
+
effort and output on subsequent tasks.
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
### Baseline Creativity as Moderator
|
|
65
|
+
|
|
66
|
+
**Baseline creativity** moderates how much AI assistance affects creative output:
|
|
67
|
+
|
|
68
|
+
- **High-creativity individuals**: May benefit less from AI (ceiling effect) or be harmed more (self-efficacy threat)
|
|
69
|
+
- **Low-creativity individuals**: May benefit more from AI (scaffolding) or show less effect (floor effect)
|
|
70
|
+
|
|
71
|
+
Lee & Chung (2024) found that ChatGPT use disproportionately **reduced** creativity for individuals with **higher baseline creativity** (measured by RAT).
|
|
72
|
+
|
|
73
|
+
## Measurement Instruments
|
|
74
|
+
|
|
75
|
+
### Creative Self-Efficacy Scale (Tierney & Farmer, 2002)
|
|
76
|
+
|
|
77
|
+
**3 items**, 5-point Likert scale (1 = strongly disagree, 5 = strongly agree):
|
|
78
|
+
|
|
79
|
+
1. "I have confidence in my ability to solve problems creatively"
|
|
80
|
+
2. "I feel that I am good at generating novel ideas"
|
|
81
|
+
3. "I have a knack for further developing the ideas of others"
|
|
82
|
+
|
|
83
|
+
| Property | Value | Source |
|
|
84
|
+
|----------|-------|--------|
|
|
85
|
+
| Cronbach's alpha | **0.83-0.89** | Tierney & Farmer, 2002; Lee & Chung, 2024 |
|
|
86
|
+
| Test-retest reliability | **0.77** | Tierney & Farmer, 2002 |
|
|
87
|
+
| Scale score | Mean of 3 items | Tierney & Farmer, 2002 |
|
|
88
|
+
| Administration time | <1 minute | — |
|
|
89
|
+
| Timing | Administer **after** the manipulation, **before** the creativity task | Lee & Chung, 2024 |
|
|
90
|
+
|
|
91
|
+
> **Critical timing note**: CSE must be measured **after** the manipulation (e.g., after ChatGPT use) and **before** the outcome measure. Measuring CSE before the manipulation captures trait CSE, not the mediated state change.
|
|
92
|
+
|
|
93
|
+
### Remote Associates Test — RAT (Mednick, 1962)
|
|
94
|
+
|
|
95
|
+
Used as the **baseline creativity measure** for moderation analysis.
|
|
96
|
+
|
|
97
|
+
| Property | Value | Source |
|
|
98
|
+
|----------|-------|--------|
|
|
99
|
+
| Items | **15** three-word problems | Lee & Chung, 2024 |
|
|
100
|
+
| Format | Each item presents 3 words; participant finds the common associate | Mednick, 1962 |
|
|
101
|
+
| Time limit | **30 seconds per item** or untimed | Lee & Chung, 2024 |
|
|
102
|
+
| Scoring | Number correct out of 15 | Lee & Chung, 2024 |
|
|
103
|
+
| What it measures | **Convergent thinking** — finding the single correct remote association | Mednick, 1962 |
|
|
104
|
+
|
|
105
|
+
**Example item**: FALLING / ACTOR / DUST → answer: STAR
|
|
106
|
+
|
|
107
|
+
> **Why RAT as baseline**: RAT measures convergent thinking (a creativity component independent of divergent thinking), so it serves as a baseline creativity indicator without directly measuring the same construct as the AUT outcome (Lee & Chung, 2024).
|
|
108
|
+
|
|
109
|
+
## SEM Mediation Model Specification
|
|
110
|
+
|
|
111
|
+
### Model Structure (Lee & Chung, 2024)
|
|
112
|
+
|
|
113
|
+
```
|
|
114
|
+
Creative Self-Efficacy (M)
|
|
115
|
+
↗ a b ↘
|
|
116
|
+
AI Condition (X) Creativity Score (Y)
|
|
117
|
+
————— c' —————→
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
- **Path a**: Effect of AI condition on CSE
|
|
121
|
+
- **Path b**: Effect of CSE on creativity, controlling for condition
|
|
122
|
+
- **Path c'**: Direct effect of condition on creativity, controlling for CSE
|
|
123
|
+
- **Indirect effect**: a × b (the mediated portion)
|
|
124
|
+
- **Total effect**: c = c' + a × b
|
|
125
|
+
|
|
126
|
+
### lavaan Specification (R)
|
|
127
|
+
|
|
128
|
+
```r
|
|
129
|
+
library(lavaan)
|
|
130
|
+
|
|
131
|
+
mediation_model <- '
|
|
132
|
+
# Measurement model (if using latent variables)
|
|
133
|
+
# CSE =~ cse1 + cse2 + cse3 # Uncomment for latent CSE
|
|
134
|
+
|
|
135
|
+
# Structural model
|
|
136
|
+
cse ~ a * condition # Path a: X → M
|
|
137
|
+
creativity ~ b * cse + # Path b: M → Y
|
|
138
|
+
cprime * condition # Path c': X → Y (direct)
|
|
139
|
+
|
|
140
|
+
# Indirect and total effects
|
|
141
|
+
indirect := a * b # Mediated effect
|
|
142
|
+
total := cprime + a * b # Total effect
|
|
143
|
+
'
|
|
144
|
+
|
|
145
|
+
fit <- sem(mediation_model, data = df, se = "bootstrap", bootstrap = 5000)
|
|
146
|
+
summary(fit, ci = TRUE)
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
### Key Specification Decisions
|
|
150
|
+
|
|
151
|
+
| Decision | Recommendation | Rationale |
|
|
152
|
+
|----------|---------------|-----------|
|
|
153
|
+
| **SE estimation** | Bootstrap (5000 samples) | Indirect effects are non-normal; bootstrap CIs are preferred over Sobel test (Preacher & Hayes, 2008) |
|
|
154
|
+
| **CI type** | Bias-corrected bootstrap | More accurate than percentile bootstrap for indirect effects (MacKinnon et al., 2004) |
|
|
155
|
+
| **Estimator** | ML (maximum likelihood) | Default for continuous outcomes; use MLR for non-normal data |
|
|
156
|
+
| **Missing data** | FIML (full information ML) | Handles missing data without listwise deletion |
|
|
157
|
+
| **Significance** | 95% bootstrap CI excluding zero | Do NOT rely on p-values for indirect effects |
|
|
158
|
+
|
|
159
|
+
## Moderation Analysis
|
|
160
|
+
|
|
161
|
+
### Baseline Creativity × Condition Interaction
|
|
162
|
+
|
|
163
|
+
**Two approaches** (Lee & Chung, 2024 used both):
|
|
164
|
+
|
|
165
|
+
#### Approach 1: Median Split (Descriptive)
|
|
166
|
+
|
|
167
|
+
1. Compute median RAT score across all participants
|
|
168
|
+
2. Split into **high-creativity** (above median) and **low-creativity** (below median) groups
|
|
169
|
+
3. Run separate ANOVAs or t-tests within each subgroup
|
|
170
|
+
4. Report condition effects separately for high vs low creativity
|
|
171
|
+
|
|
172
|
+
> **Limitation**: Median split loses information and reduces power (MacCallum et al., 2002). Use for visualization/description; rely on continuous moderation for inference.
|
|
173
|
+
|
|
174
|
+
#### Approach 2: Continuous Moderation (Inferential)
|
|
175
|
+
|
|
176
|
+
```r
|
|
177
|
+
# In lavaan or linear regression
|
|
178
|
+
moderation_model <- '
|
|
179
|
+
creativity ~ b1 * condition +
|
|
180
|
+
b2 * rat_score +
|
|
181
|
+
b3 * condition:rat_score # Interaction term
|
|
182
|
+
'
|
|
183
|
+
# b3 = moderation effect
|
|
184
|
+
# Probe interaction at ±1 SD of RAT score (Aiken & West, 1991)
|
|
185
|
+
```
|
|
186
|
+
|
|
187
|
+
### Interpreting Moderation Results
|
|
188
|
+
|
|
189
|
+
| Pattern | Interpretation | Lee & Chung (2024) Finding |
|
|
190
|
+
|---------|---------------|---------------------------|
|
|
191
|
+
| Significant interaction, negative b3 | AI assistance is more harmful for high-creativity individuals | Confirmed: ChatGPT reduced creativity more for high-RAT participants |
|
|
192
|
+
| Significant interaction, positive b3 | AI assistance benefits high-creativity individuals more | Not observed |
|
|
193
|
+
| No significant interaction | AI effect is similar across creativity levels | — |
|
|
194
|
+
|
|
195
|
+
### Simple Slopes Visualization
|
|
196
|
+
|
|
197
|
+
Plot creativity scores against condition, separately for high (+1 SD) and low (-1 SD) baseline creativity:
|
|
198
|
+
|
|
199
|
+
```r
|
|
200
|
+
library(emmeans)
|
|
201
|
+
# For interaction probing
|
|
202
|
+
emtrends(model, ~ condition, var = "rat_score")
|
|
203
|
+
# Or Johnson-Neyman technique for regions of significance
|
|
204
|
+
```
|
|
205
|
+
|
|
206
|
+
## Moderated Mediation (Full Model)
|
|
207
|
+
|
|
208
|
+
When both mediation and moderation are relevant, combine into a **conditional indirect effect** model:
|
|
209
|
+
|
|
210
|
+
```
|
|
211
|
+
Does the indirect effect (X → M → Y) depend on baseline creativity (W)?
|
|
212
|
+
|
|
213
|
+
Model:
|
|
214
|
+
CSE ~ a1 * condition + a2 * rat + a3 * condition:rat
|
|
215
|
+
creativity ~ b * cse + c' * condition
|
|
216
|
+
|
|
217
|
+
Conditional indirect effect at level w of RAT:
|
|
218
|
+
(a1 + a3 * w) × b
|
|
219
|
+
```
|
|
220
|
+
|
|
221
|
+
> **Software**: Use lavaan with bootstrap, or the `mediation` package in R, or PROCESS macro Model 7 (Hayes, 2022).
|
|
222
|
+
|
|
223
|
+
## Common Pitfalls
|
|
224
|
+
|
|
225
|
+
1. **Cross-sectional mediation as causal evidence**: Mediation in a cross-sectional or single-session design cannot establish temporal causation. The X → M → Y sequence must be theoretically justified and, ideally, measured at different time points (Bullock et al., 2010). Lee & Chung (2024) addressed this by measuring CSE after manipulation but before the outcome task.
|
|
226
|
+
|
|
227
|
+
2. **Interpreting non-significant direct effect as "full mediation"**: A non-significant c' does not prove full mediation — it may reflect insufficient power. Report both direct and indirect effects with CIs (Rucker et al., 2011).
|
|
228
|
+
|
|
229
|
+
3. **Using the Sobel test instead of bootstrapping**: The Sobel test assumes normality of the indirect effect, which is almost never met. Use bootstrap CIs exclusively (Preacher & Hayes, 2008).
|
|
230
|
+
|
|
231
|
+
4. **Forgetting to measure the mediator at the right time**: CSE must be measured **after** the manipulation and **before** the outcome. Measuring at the wrong time destroys the mediation logic.
|
|
232
|
+
|
|
233
|
+
5. **Median split without continuous analysis**: Dichotomizing a continuous moderator loses statistical power and can create spurious interactions. Always accompany median splits with continuous moderation analysis (MacCallum et al., 2002).
|
|
234
|
+
|
|
235
|
+
6. **Ignoring measurement reliability**: Low reliability of the CSE scale attenuates the mediated effect. Report Cronbach's alpha and consider latent variable SEM if reliability is below 0.80.
|
|
236
|
+
|
|
237
|
+
7. **Not controlling for potential confounders**: In online studies, prior AI experience, age, education, and task engagement may confound the condition-creativity relationship. Include as covariates or demonstrate randomization balance.
|
|
238
|
+
|
|
239
|
+
## Minimum Reporting Checklist
|
|
240
|
+
|
|
241
|
+
Based on Lee & Chung (2024) and Preacher & Hayes (2008):
|
|
242
|
+
|
|
243
|
+
- [ ] Mediation model diagram with all paths labeled
|
|
244
|
+
- [ ] Mediator measure: name, items, response scale, reliability (Cronbach's alpha)
|
|
245
|
+
- [ ] Moderator measure: name, scoring, descriptive statistics
|
|
246
|
+
- [ ] Path coefficients: a, b, c', total c (with SEs and CIs)
|
|
247
|
+
- [ ] Indirect effect estimate with **bootstrap CI** (number of samples, CI type)
|
|
248
|
+
- [ ] Software and package (lavaan version, R version)
|
|
249
|
+
- [ ] Estimator used (ML, MLR, WLSMV)
|
|
250
|
+
- [ ] Model fit indices (if applicable): CFI, TLI, RMSEA, SRMR
|
|
251
|
+
- [ ] For moderation: interaction term coefficient, simple slopes at ±1 SD
|
|
252
|
+
- [ ] Sample sizes per condition
|
|
253
|
+
- [ ] Evidence of adequate statistical power for mediation (Fritz & MacKinnon, 2007)
|
|
254
|
+
|
|
255
|
+
## References
|
|
256
|
+
|
|
257
|
+
- Aiken, L. S., & West, S. G. (1991). *Multiple regression: Testing and interpreting interactions*. Sage.
|
|
258
|
+
- Bandura, A. (1997). *Self-efficacy: The exercise of control*. W.H. Freeman.
|
|
259
|
+
- Bullock, J. G., Green, D. P., & Ha, S. E. (2010). Yes, but what's the mechanism? *Journal of Personality and Social Psychology*, 98(4), 550-558.
|
|
260
|
+
- Fritz, M. S., & MacKinnon, D. P. (2007). Required sample size to detect the mediated effect. *Psychological Science*, 18(3), 233-239.
|
|
261
|
+
- Hayes, A. F. (2022). *Introduction to mediation, moderation, and conditional process analysis* (3rd ed.). Guilford Press.
|
|
262
|
+
- Lee, B. C., & Chung, J. (2024). An empirical investigation of the impact of ChatGPT on creativity. *Nature Human Behaviour*. https://doi.org/10.1038/s41562-024-01953-1
|
|
263
|
+
- MacCallum, R. C., Zhang, S., Preacher, K. J., & Rucker, D. D. (2002). On the practice of dichotomization of quantitative variables. *Psychological Methods*, 7(1), 19-40.
|
|
264
|
+
- MacKinnon, D. P., Lockwood, C. M., & Williams, J. (2004). Confidence limits for the indirect effect. *Multivariate Behavioral Research*, 39(1), 99-128.
|
|
265
|
+
- Mednick, S. A. (1962). The associative basis of the creative process. *Psychological Review*, 69(3), 220-232.
|
|
266
|
+
- Preacher, K. J., & Hayes, A. F. (2008). Asymptotic and resampling strategies for assessing and comparing indirect effects in multiple mediator models. *Behavior Research Methods*, 40(3), 879-891.
|
|
267
|
+
- Rucker, D. D., Preacher, K. J., Tormala, Z. L., & Petty, R. E. (2011). Mediation analysis in social psychology: Current practices and new recommendations. *Social and Personality Psychology Compass*, 5(6), 359-371.
|
|
268
|
+
- Tierney, P., & Farmer, S. M. (2002). Creative self-efficacy: Its potential antecedents and relationship to creative performance. *Academy of Management Journal*, 45(6), 1137-1148.
|
|
269
|
+
|
|
270
|
+
See `references/lavaan-templates.md` for complete model specification code.
|