/cognitive-psychology-skills:cogpsych-data-analysisfrom cognitive-psychology-skills
Guides data analysis and model fitting for Cognitive Psychology manuscripts: principled model comparison (AIC/BIC/Bayes factors), parameter/model recovery, mixed models or hierarchical Bayesian estimation, effect sizes with uncertainty, and reproducible code.
Ships in cognitive-psychology-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Cognitive Psychology holds analyses to a model-based standard: fit the formal model, compare it to rivals with principled criteria, demonstrate that parameters and models are recoverable, use mixed models or hierarchical Bayesian estimation where the design demands it, and report effect sizes with uncertainty for behavioral results — all regenerable from deposited code. This is the experiment-to-model-fit loop that defines the venue.
cogpsych-open-science-and-transparency).A preregistered three-experiment recognition-memory program fitting UVSD vs. DPSD to confidence-ROC data.
Model comparison (preregistered) — pooled across Exps 1-3
Fit (hierarchical Bayesian, matched flexibility):
UVSD favored: dBIC = 14 vs. DPSD; Bayes factor ~ 30 in favor of UVSD
Recovery (required): parameter recovery good (recovered d', sigma within
credible intervals); model recovery ~ 92% correct at the design's N/trials
Diagnostic signature: z-ROC slope 0.78, 95% CrI [0.72, 0.84], and linear
(no reliable curvature) — the qualitative pattern UVSD predicts and DPSD
forbids, consistent across all three experiments
Behavioral effect (mixed model)
List-strength manipulation on d': b = 0.31, 95% CI [0.18, 0.44]
Exploratory (labeled)
A small response-bias drift surfaced post hoc; reported as exploratory
Why this passes Cognitive Psychology scrutiny: the model is compared (not just fit), recovery makes the comparison interpretable, the qualitative signature corroborates the fit index, hierarchy respects subject/item variance, and the exploratory drift is honestly demoted.
| Reviewer pushback | What it signals here | Cognitive Psychology fix |
|---|---|---|
| "You only fit your model" | one-model storytelling | fit the rival under matched flexibility; report AIC/BIC/BF and what it licenses |
| "Better fit may be overfitting" | flexibility imbalance | add model recovery + cross-validation; penalize complexity |
| "Can you recover these parameters?" | identifiability doubt | run and report parameter + model recovery simulations |
| "Aggregated means hide variance" | wrong error structure | refit with crossed-random-effects mixed model / hierarchical Bayesian |
| "Is this the model you predicted?" | post hoc selection | pre-commit the comparison; relabel post hoc fits exploratory |
| "I can't rerun your fits" | reproducibility gate | ship seeded model code + a fresh-session run log |
Run the battery, don't just enumerate it. Full map:
execution-with-mcp. Cognitive Psychology is experimental — within-subject designs and mixed models dominate; report the model, the effect size, and multiple-comparison control.
romano_wolf (step-down FWER) or
benjamini_hochberg — report the adjusted threshold.oster_delta / sensemakr.wild_cluster_bootstrap (few clusters), twoway_cluster / conley;
multilevel data → cluster at the right level.audit_result(result_id) lists the missing checks and the
exact suggest_function for each.etable / did_summary_to_latex from the handle — no retyped numbers.Keep the decisive checks in the body and the exhaustive battery in the supplement. See the executed chain in the JF execution walkthrough.
【Model comparison】rivals fit under matched flexibility + criterion (AIC/BIC/BF)? [Y/N]
【Recovery】parameter + model recovery reported? [Y/N]
【Hierarchy】mixed model / hierarchical Bayesian where apt + diagnostics? [Y/N]
【Behavioral effects】effect sizes + intervals? [Y/N]
【Confirmatory vs exploratory】separated? [Y/N]
【Reproducible】seeded code + data dictionary + fresh-session check? [Y/N]
【Next】cogpsych-tables-figures
../../resources/external_tools.md — modeling, model-comparison, lme4/brms/Stan, JAGS, recovery simulation../../resources/official-source-map.md — statistical and modeling expectationsWhat SKILL.md sets; muted values are Claude Code's defaults
12 skills in this plugin
/cogpsych-literature-positioningUse when positioning a Cognitive Psychology (Elsevier) manuscript against the field, especially against rival models and prior empirical programs. In a long-form, model-driven venue, positioning means showing what theoretical question your model adjudicates and why prior accounts fall short. Stakes the contribution against the right contrast class; it does not write the full literature review./cogpsych-open-science-and-transparencyUse when meeting Cognitive Psychology (Elsevier) open-science expectations — sharing data, model code, analysis scripts, and materials so the modeling is reproducible, depositing in repositories with persistent identifiers, completing the Elsevier research-data and competing-interest declarations, and preregistering where applicable. Prepares compliance; it does not waive requirements. Verify current wording on the official guide for authors./cogpsych-rebuttalUse when writing the response to a Cognitive Psychology (Elsevier) major/minor revision. Reviews here often demand added experiments, more model comparisons, recovery analyses, or fuller reproducibility, so the response must address every point and strengthen the model-driven inference. Structures the response letter; it does not fabricate new results or model fits.npx claudepluginhub brycewang-stanford/awesome-journal-skills --plugin cognitive-psychology-skillsOther plugins' skills for the same job