Token导航 LogoToken导航

Agent Skill · 研究检索

neuroimaging-power-guide(神经影像电源指南)

neuroimaging-power-guide 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

neuroimaging-power-guide 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为只读;许可证信息还不明确,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 73,519。

总安装 24周安装 1GitHub Stars 18下载 8核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:neuroimaging-power-guide(神经影像电源指南)
来源仓库:https://github.com/haoxuanlithuai/awesome_cognitive_and_neuroscience_skills
仓库路径:skills/neuroimaging-power-guide
安装命令:
npx skills add https://github.com/haoxuanlithuai/awesome_cognitive_and_neuroscience_skills --skill neuroimaging-power-guide
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/haoxuanlithuai/awesome_cognitive_and_neuroscience_skills --skill neuroimaging-power-guide

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

计算 fMRI 或 EEG 实验所需的最小样本量与统计效力。输入效应量、显著性水平与检验力参数自动计算结果。支持重复测量设计与协变量调整的功率分析变体。结果解读需谨慎,实际招募人数还应考虑脱落率预留缓冲。neuroimaging-power-guide 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/neuroimaging-power-guide

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/haoxuanlithuai/awesome_cognitive_and_neuroscie…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它标注为只读,先用只读任务试一次,确认行为符合预期再扩大使用范围。

常见问题

6 条

neuroimaging-power-guide 怎么安装?

在终端执行 npx skills add https://github.com/haoxuanlithuai/awesome_cognitive_and_neuroscience_skills…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

neuroimaging-power-guide 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

neuroimaging-power-guide 需要什么权限?

权限级别是只读。该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

neuroimaging-power-guide 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

neuroimaging-power-guide 用的人多吗?

公开数据是累计安装 24 次,近一周安装 1 次,下载 8 次,GitHub 18 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

neuroimaging-power-guide 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 标注为只读权限,试用阶段不容易误改本地文件。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 只想先试试效果、不希望它改动本地文件的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
neuroimaging-power-guide

神经影像电源指南 · 本页

2418只读未明确有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Neuroimaging Power Guide

Purpose

Statistical power in neuroimaging is fundamentally different from power in behavioral research. The massive multiple comparisons problem (testing ~100,000 voxels simultaneously), spatial correlation structure, and non-standard test statistics mean that standard power formulas underestimate required sample sizes. Meanwhile, the field has historically been severely underpowered: the median fMRI study has only ~20% power to detect a typical effect (Button et al., 2013).

A competent programmer without neuroimaging training would apply standard power calculations (e.g., G*Power for a t-test) without accounting for multiple comparison correction, would not know typical effect sizes in neuroimaging, and would dramatically underestimate the sample sizes needed. This skill encodes the domain-specific knowledge for neuroimaging power analysis.

When to Use This Skill

  • Planning sample size for a new fMRI, EEG, or MEG study
  • Estimating power for grant applications or registered reports
  • Determining whether a published study was adequately powered
  • Choosing between ROI-based and whole-brain analysis based on power constraints
  • Evaluating the reliability implications of sample size choices

Research Planning Protocol

Before executing the domain-specific steps below, you MUST:

  1. State the research question — What specific question is this analysis/paradigm addressing?
  2. Justify the method choice — Why is this approach appropriate? What alternatives were considered?
  3. Declare expected outcomes — What results would support vs. refute the hypothesis?
  4. Note assumptions and limitations — What does this method assume? Where could it mislead?
  5. Present the plan to the user and WAIT for confirmation before proceeding.

For detailed methodology guidance, see the research-literacy skill.

⚠️ Verification Notice

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.

Why Neuroimaging Power Is Different

Standard power analysis assumes a single statistical test. Neuroimaging involves:

ChallengeImpact on PowerSource
Massive multiple comparisons~100,000 voxels tested; correction reduces sensitivity by orders of magnitudeNichols & Hayasaka, 2003
Spatial smoothnessAdjacent voxels are correlated, reducing effective number of independent tests but complicating power calculationWorsley et al., 1996
Multi-level inferenceSubject-level estimation + group-level test; both levels contribute noiseMumford & Nichols, 2008
Effect size variabilityEffects vary across voxels, regions, and subjects; no single "effect size" characterizes a studyPoldrack et al., 2017
Threshold-dependent powerPower depends heavily on the statistical threshold (corrected vs. uncorrected) and correction methodHayasaka et al., 2007

Key implication: A standard G*Power calculation for a two-sample t-test will dramatically overestimate the power of a whole-brain fMRI analysis because it ignores multiple comparison correction (Mumford & Nichols, 2008).

Typical Effect Sizes in Neuroimaging

fMRI Effect Sizes

Analysis TypeTypical Effect SizeUnitSource
Task activation (voxel-level)Cohen's d = 0.5-1.0Standardized mean differencePoldrack et al., 2017
Task activation (ROI-level)Cohen's d = 0.5-1.5Standardized mean differencePoldrack et al., 2017
Between-group difference (voxel)Cohen's d = 0.3-0.8Standardized mean differencePoldrack et al., 2017
Functional connectivity (correlation)r = 0.2-0.5Pearson correlationMarek et al., 2022
Brain-behavior associationr = 0.1-0.3Pearson correlationMarek et al., 2022
Brain-wide association (replicable)r < 0.05 at N < 1000Pearson correlationMarek et al., 2022

Critical finding: Marek et al. (2022) demonstrated that brain-behavior correlations in typical neuroimaging samples (N < 100) are severely inflated. Replicable brain-behavior associations require N > 2,000 for whole-brain analyses.

EEG/ERP Effect Sizes

Analysis TypeTypical Effect SizeSource
ERP component amplitude (e.g., N400, P300)Cohen's d = 0.3-0.8Boudewyn et al., 2018
ERP latency differencesCohen's d = 0.2-0.5Luck, 2014
EEG oscillatory powerCohen's d = 0.3-0.6Cohen, 2014
EEG connectivity (coherence/PLV)Cohen's d = 0.2-0.5Cohen, 2014

Sample Size Benchmarks

fMRI Sample Size Recommendations

DesignMinimum NRecommended NAssumptionsSource
Within-subject task activation2025-30Large effect (d > 0.8), lenient correctionDesmond & Glover, 2002
Between-group comparison (large effect, d = 0.8)20 per group25-30 per groupWhole-brain, cluster-correctedThirion et al., 2007
Between-group comparison (medium effect, d = 0.5)40 per group50+ per groupWhole-brain, cluster-correctedThirion et al., 2007; Poldrack et al., 2017
Resting-state individual differences25+50+ (much more for replicability)Depends on reliability of measureMarek et al., 2022
Brain-behavior correlations100+N > 2,000 for replicable whole-brainLarge-scale onlyMarek et al., 2022
ROI-based analysis (a priori)15-2025+Single ROI, no whole-brain correctionDesmond & Glover, 2002

EEG/ERP Sample Size Recommendations

DesignMinimum per ConditionRecommended per ConditionSource
ERP trials per condition per subject3040-60Boudewyn et al., 2018
ERP between-group (medium d = 0.5)34 per group50+ per groupBoudewyn et al., 2018
ERP within-subject (medium d = 0.5)25 subjects30+ subjectsLuck, 2014
Time-frequency analysis40 trials60+ trialsCohen, 2014

Power at Common Sample Sizes

N (per group)Power for d = 0.5 (uncorrected)Power for d = 0.5 (corrected, whole-brain)Power for d = 0.8 (corrected)
10~26%< 10%~25%
20~50%~20%~50%
30~70%~35%~70%
40~82%~50%~85%
60~94%~70%~95%

Values are approximate, based on simulations from Mumford & Nichols (2008) and Desmond & Glover (2002). Exact power depends on design, smoothness, effect spatial extent, and correction method.

Power Decision Tree

What type of analysis are you planning?
 |
 +-- Whole-brain voxelwise analysis
 | |
 | +-- Within-subject (one-sample t-test)
 | | --> Minimum N = 20; aim for N = 25-30
 | | (Desmond & Glover, 2002)
 | |
 | +-- Between-group comparison
 | | |
 | | +-- Large expected effect (d > 0.8)
 | | | --> N = 20-25 per group (Thirion et al., 2007)
 | | |
 | | +-- Medium expected effect (d = 0.5)
 | | | --> N = 40-50 per group (Poldrack et al., 2017)
 | | |
 | | +-- Small expected effect (d = 0.3)
 | | --> N = 80+ per group; consider ROI approach
 | |
 | +-- Brain-behavior correlation
 | --> N = 100+ minimum; N > 2,000 for replicability
 | (Marek et al., 2022)
 |
 +-- ROI-based analysis (a priori regions)
 | --> Use standard power formulas (G*Power) with expected
 | effect size from literature or pilot data.
 | No multiple comparison correction needed for single ROI.
 | N = 15-30 typical for medium-large effects.
 |
 +-- ERP analysis
 |
 +-- Between-group
 | --> 30-50 per group for medium effects
 | (Boudewyn et al., 2018)
 |
 +-- Within-subject
 --> 25-30 subjects, 30+ trials per condition
 (Boudewyn et al., 2018; Luck, 2014)

Simulation-Based Power Approaches

fMRIpower (Mumford & Nichols, 2008)

Estimates power using pilot group-level activation maps:

  1. Run a pilot study (or use published results) to obtain group-level statistical maps
  2. Estimate effect sizes at each voxel from the pilot data
  3. Simulate new datasets with varying N by resampling from the estimated effect size and variance
  4. Apply the full statistical pipeline (including multiple comparison correction) to each simulation
  5. Power = proportion of simulations that detect the effect at a given ROI or voxel

Requirements: Pilot data from at least 10-15 subjects for stable variance estimates (Mumford & Nichols, 2008)

NeuroPowerTools (Durnez et al., 2016)

Web-based tool for peak-based power estimation:

  1. Upload an unthresholded statistical map from a pilot or published study
  2. The tool fits a mixture model to the peak distribution (null + alternative)
  3. Estimates the proportion of truly active voxels and their average effect size
  4. Computes power for new studies with varying N and thresholds

Advantage: Does not require individual subject data; can use published group maps URL: https://neuropowertools.org

Permutation-Based Power (Hayasaka et al., 2007)

  1. Generate simulated datasets under the alternative hypothesis using effect size maps from pilot data
  2. For each simulated dataset, run a full permutation test (5,000+ permutations)
  3. Compute power as the proportion of simulations in which the permutation test rejects the null

Advantage: Fully nonparametric; accounts for the exact multiple comparison correction used Disadvantage: Computationally expensive (requires running thousands of permutation tests per power estimate)

PowerMap (Joyce & Hayasaka, 2012)

Simulation-based power using parametric assumptions:

  1. Specify effect size map (from pilot data or assumed values)
  2. Specify noise model (based on residuals from pilot data)
  3. Simulate datasets with varying N
  4. Apply parametric statistical testing with specified correction method
  5. Estimate power at each voxel

Multiple Comparison Correction Impact on Power

The choice of correction method dramatically affects required sample size:

Correction MethodEffective Alpha per VoxelRelative PowerSource
None (p < 0.001 uncorrected)0.001Highest (but invalid inference)--
FDR q < 0.05~0.0001-0.001 (data-dependent)Moderate-HighGenovese et al., 2002
Cluster-based (CDT p < 0.001)Depends on cluster sizeModerate-High for large effectsEklund et al., 2016
Voxelwise FWE (RFT, p < 0.05)~0.00000005LowWorsley et al., 1996
TFCE + permutationVariesModerateSmith & Nichols, 2009

Domain insight: Switching from voxelwise FWE to cluster-based or FDR correction can increase power by 50-200% for the same sample size, because these methods exploit the spatial extent of true activations (Nichols & Hayasaka, 2003).

Test-Retest Reliability and Power

For individual differences designs (correlating brain measures with behavior), reliability of the brain measure is critical (Elliott et al., 2020):

MeasureTypical ICCImplicationSource
Task fMRI activation (ROI)0.3-0.6Poor to moderate reliabilityElliott et al., 2020
Resting-state connectivity0.3-0.7Moderate reliability; depends on scan durationElliott et al., 2020
ERP amplitude0.5-0.8Moderate to goodCassidy et al., 2012
EEG oscillatory power0.6-0.9Good to excellentCohen, 2014

Critical formula: The maximum detectable correlation between brain and behavior is bounded by the reliabilities of both measures:

r_observed_max = r_true * sqrt(reliability_brain * reliability_behavior)

With brain ICC = 0.5 and behavior reliability = 0.8, even a true correlation of r = 0.5 would appear as r = 0.5 * sqrt(0.5 * 0.8) = 0.32 on average (Elliott et al., 2020). This attenuation means far larger samples are needed.

Recommendation: For individual differences designs, collect longer scan sessions (at least 20-30 minutes of resting-state data; Birn et al., 2013) or use multi-session data to improve reliability.

Practical Power Calculation Workflow

For a New fMRI Study

  1. Define the primary analysis: Whole-brain voxelwise or ROI-based?
  2. Estimate effect size:
  • From pilot data (preferred): extract effect sizes from pilot activation maps
  • From literature: find the most comparable published study; correct for publication bias by assuming the true effect is ~50-75% of the published estimate (Button et al., 2013)
  • From meta-analysis: use NeuroSynth or BrainMap to estimate typical activation strength
  1. Choose the power analysis tool:
  • ROI-based: Standard power calculation (G*Power) using the estimated effect size at the ROI
  • Whole-brain: fMRIpower, NeuroPowerTools, or simulation
  1. Set target power: 80% (conventional) or 90% (recommended for costly neuroimaging studies)
  2. Account for attrition: Add 10-20% to planned N for participant exclusions due to excessive motion, incomplete data, or technical failures
  3. Report: Effect size source, power tool used, correction method, target power, final N

For a New EEG/ERP Study

  1. Estimate effect size: From pilot data or published ERP studies (see effect size table above)
  2. Determine trial count: At least 30 trials per condition post-rejection (Boudewyn et al., 2018)
  3. Plan for trial attrition: Assume 20-30% trial rejection rate; collect accordingly
  4. Subject-level power: Use G*Power with the estimated within- or between-subject effect size
  5. Account for subject attrition: Add 15-20% for exclusions due to excessive artifacts

Common Pitfalls

  1. Using uncorrected power estimates for whole-brain analyses: A study with 80% power at p < 0.001 uncorrected has far less than 80% power after FWE or FDR correction (Mumford & Nichols, 2008)
  2. Ignoring effect size inflation in pilot studies: Small pilot studies produce inflated effect sizes due to the "winner's curse." Assume the true effect is 50-75% of the pilot estimate (Button et al., 2013)
  3. Applying behavioral power formulas to neuroimaging: Standard t-test power calculations dramatically overestimate power for whole-brain analyses because they ignore multiple comparison correction
  4. Not accounting for participant attrition: In fMRI, 10-20% of participants may be excluded due to motion, scanner artifacts, or incomplete data. Over-recruit accordingly
  5. Ignoring reliability for individual differences: Brain measures with ICC < 0.5 attenuate correlations, requiring much larger samples than traditional power analysis suggests (Elliott et al., 2020)
  6. Assuming published sample sizes are adequate: Most published fMRI studies are underpowered (median power ~20%; Button et al., 2013). Do not use published N as a benchmark
  7. Neglecting the impact of design efficiency: An optimized event-related design can be 2-3x more efficient than a suboptimal one (Dale, 1999), effectively increasing power without adding subjects

Minimum Reporting Checklist

  • Target effect size and its source (pilot data, literature, meta-analysis)
  • Effect size metric used (Cohen's d, r, partial eta-squared)
  • Power analysis method (analytical, simulation-based, tool used)
  • Target power level (typically 80% or 90%)
  • Statistical test assumed (one-sample t, two-sample t, correlation, ANOVA)
  • Multiple comparison correction method and parameters
  • Planned N and justification
  • Attrition allowance (expected exclusion rate)
  • For simulation-based: number of simulations, pilot data source, software
  • For reliability-dependent designs: reliability estimates and their source

References

  • Birn, R. M., Molloy, E. K., Patriat, R., et al. (2013). The effect of scan length on the reliability of resting-state fMRI connectivity estimates. *NeuroImage*, 83, 550-558.
  • Boudewyn, M. A., Luck, S. J., Farrens, J. L., & Kappenman, E. S. (2018). How many trials does it take to get a significant ERP effect? *Psychophysiology*, 55(6), e13049.
  • Button, K. S., Ioannidis, J. P. A., Mokrysz, C., et al. (2013). Power failure: Why small sample size undermines the reliability of neuroscience. *Nature Reviews Neuroscience*, 14(5), 365-376.
  • Cassidy, S. M., Robertson, I. H., & O'Connell, R. G. (2012). Retest reliability of event-related potentials: Evidence from a variety of paradigms. *Psychophysiology*, 49(5), 659-664.
  • Cohen, M. X. (2014). *Analyzing Neural Time Series Data: Theory and Practice*. MIT Press.
  • Dale, A. M. (1999). Optimal experimental design for event-related fMRI. *Human Brain Mapping*, 8(2-3), 109-114.
  • Desmond, J. E., & Glover, G. H. (2002). Estimating sample size in functional MRI (fMRI) neuroimaging studies. *Journal of Neuroscience Methods*, 118(2), 115-128.
  • Durnez, J., Degryse, J., Moerkerke, B., et al. (2016). Power and sample size calculations for fMRI studies based on the prevalence of active peaks. *bioRxiv*, 049429.
  • 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.
  • Elliott, M. L., Knodt, A. R., Ireland, D., et al. (2020). What is the test-retest reliability of common task-functional MRI measures? *Biological Psychiatry*, 87(11), 934-948.
  • Genovese, C. R., Lazar, N. A., & Nichols, T. (2002). Thresholding of statistical maps in functional neuroimaging using the false discovery rate. *NeuroImage*, 15(4), 870-878.
  • Hayasaka, S., Peiffer, A. M., Hugenschmidt, C. E., & Laurienti, P. J. (2007). Power and sample size calculation for neuroimaging studies by non-central random field theory. *NeuroImage*, 37(3), 721-730.
  • Joyce, K. E., & Hayasaka, S. (2012). Development of PowerMap: A software package for statistical power calculation in neuroimaging studies. *Neuroinformatics*, 10(4), 351-365.
  • Luck, S. J. (2014). *An Introduction to the Event-Related Potential Technique* (2nd ed.). MIT Press.
  • Marek, S., Tervo-Clemmens, B., Calabro, F. J., et al. (2022). Reproducible brain-wide association studies require thousands of individuals. *Nature*, 603(7902), 654-660.
  • Mumford, J. A., & Nichols, T. E. (2008). Power calculation for group fMRI studies accounting for arbitrary design and temporal autocorrelation. *NeuroImage*, 39(1), 261-268.
  • Nichols, T. E., & Hayasaka, S. (2003). Controlling the familywise error rate in functional neuroimaging: A comparative review. *Statistical Methods in Medical Research*, 12(5), 419-446.
  • Poldrack, R. A., Baker, C. I., Durnez, J., et al. (2017). Scanning the horizon: Towards transparent and reproducible neuroimaging research. *Nature Reviews Neuroscience*, 18(2), 115-126.
  • Smith, S. M., & Nichols, T. E. (2009). Threshold-free cluster enhancement. *NeuroImage*, 44(1), 83-98.
  • Thirion, B., Pinel, P., Meriaux, S., et al. (2007). Analysis of a large fMRI cohort: Statistical and methodological issues for group analyses. *NeuroImage*, 35(1), 105-120.
  • Worsley, K. J., Marrett, S., Neelin, P., et al. (1996). A unified statistical approach for determining significant signals in images of cerebral activation. *Human Brain Mapping*, 4(1), 58-73.

See references/ for detailed simulation examples and effect size lookup tables.

平台分布

Codex

34.44%
按下载量换算3

Claude

32.16%
按下载量换算3

Cursor

17.37%
按下载量换算1

Gemini CLI

10.01%
按下载量换算1

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills