qinyan-nature-statistics
面向 Nature Portfolio 与高影响力期刊的实验设计一致型统计分析、审查和报告技能。用于定义独立实验单位与重复层级、制定统计分析计划、检查数据质量、选择模型与估计量、计算效应量和不确定性、处理多重比较与敏感性分析,并重写 Methods、Results、表格和图注中的统计文本。触发场景包括 Nature 统计、数据统计、statistical analysis、p value、sample size、effect size、confidence interval、replicates、multiple comparisons、统计方法、图注统计和审稿人统计意见。
npx skills add LeonChaoX/qinyan-academic-skills --skill qinyan-nature-statistics --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# 沁言 Nature 统计分析与报告 从研究设计和估计目标出发,再选择模型和检验。统计显著性不能替代效应大小、数据质量或科学意义。 ## 工作模式 - `plan`:在分析前定义问题、实验单位、主要终点、模型、校正与敏感性分析。 - `analyse`:用户提供数据后执行可复现分析,并保留数据处理与诊断记录。 - `audit`:审查现有统计方法、结果、表格与图注。 - `rewrite`:在事实充分时生成可粘贴的统计方法或结果文本。 - `review-response`:解析审稿人统计问题,给出验证路径与保守回复要点。 复杂临床试验、监管分析或患者级决策必须服从协议、统计分析计划和专业统计师审核。 ## 必须先回答的设计问题 1. 科学问题和主要 estimand 是什么? 2. 独立实验单位是什么,`n` 如何定义? 3. 生物重复、技术重复、子样本、批次和重复测量如何嵌套? 4. 主要与次要终点、组别、时间点和协变量是什么? 5. 分配、随机化、盲法、纳排、缺失和异常如何处理? 6. 哪些比较是预设,哪些是探索性? 这些事实不清时,不给出最终检验选择;使用 `AUTHOR_INPUT_NEEDED`。 ## 执行流程 1. **建立设计图。** 画出实验单位、层级、配对、重复测量、批次与时间结构。 2. **定义 estimand。** 指明要估计的差异、比值、斜率、关联、预测性能或时间效应及其目标人群。 3. **审计数据。** 记录数据类型、单位、缺失、范围、重复、异常、排除和变换;保留前后计数。 4. **选择分析策略。** 根据设计、分布、样本量和 estimand 选择模型,不仅依赖正态性检验。读取 [references/analysis-plan.md](references/analysis-plan.md)。 5. **执行与诊断。** 报告模型假设、残差/拟合诊断、收敛、影响点、多重比较和敏感性分析。 6. **解释效应。** 优先给出效应量、置信区间和实际意义,再报告精确 p 值。 7. **对齐图表。** 确保图中数据层级、误差、星号、图注和正文与分析完全一致。读取 [references/reporting-and-figures.md](references/reporting-and-figures.md)。 8. **运行报告审计。** 对统计文本执行 `python scripts/reporting_audit.py <file> --context methods|results|legend`。 9. **交付复现信息。** 提供分析代码、软件版本、随机种子、数据字典、处理日志和未解决风险。 实验单位、伪重复和常见故障读取 [references/design-integrity.md](references
- 工作模式
- 必须先回答的设计问题
- 执行流程
- 默认输出
- 红线
- 资料路由
What does the qinyan-nature-statistics skill do?
面向 Nature Portfolio 与高影响力期刊的实验设计一致型统计分析、审查和报告技能。用于定义独立实验单位与重复层级、制定统计分析计划、检查数据质量、选择模型与估计量、计算效应量和不确定性、处理多重比较与敏感性分析,并重写 Methods、Results、表格和图注中的统计文本。触发场景包括 Nature 统计、数据统计、statistical analysis、p value、sample size、effect size、confidence interval、replicates、multiple comparisons、统计方法、图注统计和审稿人统计意见。
How do I install it?
Run `npx skills add LeonChaoX/qinyan-academic-skills --skill qinyan-nature-statistics --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From LeonChaoX/qinyan-academic-skills, a repository with 759 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
