cogsci-statistics

Guide mixed-effects model selection and implementation for cognitive science experimental data.

269|20|Updated Jun 13, 2026
One-click install
npx skills add https://github.com/NeuroAIHub/BrainPilot --skill cogsci-statistics
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cogsci-statistics
Source: https://github.com/NeuroAIHub/BrainPilot/tree/main/packages/skills/skills/02_Cross-Domain_Foundation/cogsci-statistics
Command: npx skills add https://github.com/NeuroAIHub/BrainPilot --skill cogsci-statistics

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill addresses the common statistical pitfalls in cognitive science and neuroscience, such as the language-as-fixed-effect fallacy and circular analysis, by providing rigorous, domain-specific modeling protocols.

Core Features & Use Cases

  • Statistical Modeling: Provides recipes for mixed-effects models (LMM/GLMM) with crossed random effects for subjects and items.
  • Methodological Rigor: Offers guidance on outlier exclusion, multiple comparison corrections, and effect size reporting compliant with APA 7th edition.
  • Use Case: A researcher can use this skill to determine whether to apply a Gamma GLMM for reaction time data or a cluster-based permutation test for EEG analysis, ensuring their results are robust and reproducible.

Quick Start

Use the cogsci-statistics skill to generate a recommended mixed-effects model structure for a 2x2 within-subjects design with crossed random effects for subjects and items.

Frequently Asked Questions about cogsci-statistics

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up a mixed-effects model with crossed random effects for subjects and items?

Use a mixed-effects model with crossed random effects by including random intercepts and slopes for both subjects and items in your formula. This skill provides specific modeling recipes for LMM and GLMM structures to ensure rigorous statistical results.

When do I need a Gamma GLMM for reaction time data versus a cluster-based permutation test for EEG analysis?

Use a Gamma GLMM for reaction time data to handle right-skewed distributions, and apply cluster-based permutation tests for EEG analysis to address multiple comparisons. This skill guides the selection between these approaches based on your experimental data type.

What is the language-as-fixed-effect fallacy in cognitive science research?

The language-as-fixed-effect fallacy in cognitive science research occurs when experimental items are incorrectly treated as fixed effects instead of random effects, leading to inflated false positives. This skill addresses such pitfalls with rigorous modeling protocols.

How do I report effect sizes and statistical results in compliance with APA 7th edition?

Report effect sizes and statistical results in compliance with APA 7th edition by including standardized metrics, confidence intervals, and exact p-values alongside your mixed-effects model outputs. This skill ensures your reporting meets these rigorous standards.

What is the best way to handle outlier exclusion and multiple comparison corrections in neuroscience experiments?

Handle outlier exclusion and multiple comparison corrections by applying predefined criteria and using correction methods appropriate for your data structure to control false positives. This skill offers methodological guidance to ensure robust and reproducible results.

Can I use Bayesian approaches for experimental data in cognitive science research?

You can use Bayesian approaches for experimental data in cognitive science research as an alternative to traditional frequentist methods. This skill facilitates the selection and implementation of Bayesian approaches for robust statistical modeling.