Radiology Stats 标志

Radiology Stats

社区热门
huang-sir1
radiology-stats

按照 Radiology(RSNA)审稿人的预期规划、开展并报告影像生物统计分析,涵盖带置信区间(CI)的诊断准确性、ROC/AUC 比较(DeLong/bootstrap)、阅片者一致性(Cohen/Fleiss kappa、ICC、Bland-Altman)、多阅片者多病例(MRMC)研究、校准和决策曲线分析、高维影像组学/组学分析的多重性控制(Bonferroni 与 FDR)、生存/预后建模,以及样本量/EPV 规划。适用于用户提及 AUC、DeLong、敏感度/特异度、kappa、ICC、MRMC、校准、决策曲线、P 值、FDR、多重比较、样本量、C-index,或询问如何为 Radiology 报告统计量的情况。提供可运行的 Python/R 代码和结果描述句;绝不编造数字。

Add to TypingMind

概览

发布者huang-sir1
代码仓库radiology-skills
技能名称radiology-stats
星标数
1.7K
复刻数
17
附带文件
6
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 6 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 huang-sir1 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Radiology Stats AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/huang-sir1/radiology-skills/tree/main/radiology-skills/modules/radiology-stats
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/huang-sir1/radiology-skills.git /tmp/radiology-skills
mkdir -p .claude/skills
cp -r /tmp/radiology-skills/radiology-skills/modules/radiology-stats .claude/skills/radiology-stats
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Radiology Stats,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Radiology Stats。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Radiology Stats 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Imaging Biostatistics for Radiology

Use this skill to choose the right test, run it correctly, and report it the way Radiology wants — estimates with 95% CIs, exact p-values, named tests, and multiplicity handled. It covers the statistics that imaging-AI, radiomics, and reader studies live or die on.

Core stance

  • Estimate + uncertainty, not just p. Every primary result gets a 95% CI. Report exact p-values (e.g. P = .03, not P < .05); use P < .001 only below that floor.
  • The test must match the design. Paired data → paired test (same patients/cases read by both methods); clustered data (multiple lesions per patient) → account for clustering; multiple readers → MRMC, not a naive average.
  • Discrimination is not enough for a clinical model. Report calibration and clinical utility (decision-curve) alongside AUC.
  • Control multiplicity honestly. Thousands of radiomic/omic features ⇒ FDR or stronger; pre-specify primary vs exploratory.
  • No fishing, no fabrication. Pre-specify the primary analysis; never invent a number, a CI, or a p-value. If data are insufficient, say what is needed.
  • Reproducible. Return runnable code (Python first; R where it is the field standard) with the software/version and the exact method for CIs.

When to use

  • Diagnostic accuracy: sensitivity/specificity/PPV/NPV/accuracy/likelihood ratios + CIs.
  • Comparing models/readers/tests: DeLong or bootstrap for AUCs; McNemar for paired sensitivity/specificity.
  • Reader studies: kappa / weighted kappa / Fleiss / ICC / Bland-Altman; MRMC design and analysis.
  • Prediction models: ROC, calibration (slope/intercept, Brier), decision-curve analysis, threshold selection.
  • Radiomics/omics: feature reproducibility (ICC), multiple-testing correction, cross-validation/nested CV, bootstrap optimism.
  • Survival/prognosis: Kaplan-Meier + log-rank, Cox, C-index, time-dependent ROC, competing risks.
  • Planning: sample size for accuracy / AUC; EPV and Riley minimum sample size for prediction models.

When to open extra files

FileOpen when
references/diagnostic-accuracy.mdSensitivity/specificity/PPV/NPV/LR, the right CI method, paired comparison (McNemar)
references/model-evaluation.mdROC/AUC, DeLong vs bootstrap, thresholds, calibration, Brier, decision-curve analysis
references/agreement-mrmc.mdCohen/weighted/Fleiss kappa, ICC model choice, Bland-Altman, MRMC (Obuchowski-Rockette / DBM)
references/high-dimensional-omics.mdMultiple testing (Bonferroni/Holm/BH-FDR/q-values), CV/nested CV, leakage, optimism, harmonisation stats
references/survival-prognostic.mdKaplan-Meier, Cox PH (+ assumptions), C-index, time-dependent AUC, competing risks
references/sample-size.mdSample-size for sensitivity/specificity/AUC; EPV; Riley minimum sample size for prediction models

Workflow

  1. Restate the design — unit of analysis (patient/lesion/slice), paired vs unpaired, number of readers, prevalence, primary vs secondary endpoints.
  2. Pick the estimand and test using the reference files. Name it explicitly.
  3. Choose the CI method (e.g. Wilson/Clopper-Pearson for proportions; DeLong or bootstrap for AUC; bootstrap for derived metrics).
  4. Handle multiplicity — declare the primary analysis; correct the rest (method + family).
  5. Run it — provide runnable code; compute estimate + CI (+ exact p where a test applies).
  6. Write the result — a Radiology-style sentence (estimate, CI, p, n) plus a Methods sentence (test, software/version, CI method, multiplicity).
  7. Sanity-check — does the CI width match n? is the test paired if the data are? is calibration reported for a clinical model? are subgroups pre-specified?

Reporting templates (fill from real output — never fabricate)

  • Accuracy: "Sensitivity was 0.87 (95% CI: 0.81, 0.92; 130/149) and specificity 0.79 (95% CI: 0.72, 0.85; 158/200)."
  • AUC comparison: "The model's AUC (0.88; 95% CI: 0.84, 0.92) exceeded the radiologists' (0.81; 95% CI: 0.76, 0.86; difference 0.07; P = .004, DeLong)."
  • Agreement: "Inter-reader agreement was substantial (ICC, 0.82; 95% CI: 0.75, 0.87; two-way random-effects, absolute agreement, single rater)."
  • Multiplicity: "Of 1218 features, 47 differed after Benjamini-Hochberg control at FDR < 0.05."

Output contract

  1. Design read — unit, pairing, readers, prevalence, endpoints.
  2. Recommended analysis — estimand, test, CI method, multiplicity plan.
  3. Code — runnable Python (and/or R), with library versions noted.
  4. Results sentence — Radiology-style, with placeholders only where the user must supply data.
  5. Methods sentence — for the statistical-analysis paragraph.
  6. Caveats — assumptions, when the test breaks, what the reviewer may ask.

Integrity & handoffs

  • Never invent numbers, CIs, or p-values; compute from supplied data or mark as needed.
  • Reporting-guideline alignment of the statistics → radiology-reporting.
  • Plotting the result (ROC, calibration, DCA, forest, KM) → radiology-figure.
  • High-dimensional study design (leakage, batch effects in radiogenomics) → radiology-radiogenomics.
  • Sample-size numbers feeding a grant's feasibility section → radiology-grant.
  • Analysis plan is locked and results are in; want a harsh pre-submission read → radiology-prereview.
  • This skill is statistical guidance, not a substitute for a qualified biostatistician on high-stakes or regulatory work.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Radiology Stats AI 技能有什么作用?

按照 Radiology(RSNA)审稿人的预期规划、开展并报告影像生物统计分析,涵盖带置信区间(CI)的诊断准确性、ROC/AUC 比较(DeLong/bootstrap)、阅片者一致性(Cohen/Fleiss kappa、ICC、Bland-Altman)、多阅片者多病例(MRMC)研究、校准和决策曲线分析、高维影像组学/组学分析的多重性控制(Bonferroni 与 FDR)、生存/预后建模,以及样本量/EPV 规划。适用于用户提及 AUC、DeLong、敏感度/特异度、kappa、ICC、MRMC、校准、决策曲线、P 值、FDR、多重比较、样本量、C-index,或询问如何为 Radiology 报告统计量的情况。提供可运行的 Python/R 代码和结果描述句;绝不编造数字。

为什么在 TypingMind 中使用 Radiology Stats?

因为您只需安装一次,就能搭配任何模型使用。Radiology Stats 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Radiology Stats?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/huang-sir1/radiology-skills/tree/main/radiology-skills/modules/radiology-stats。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Radiology Stats?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Radiology Stats 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Radiology Stats 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Radiology Stats AI 技能免费吗?

是的。huang-sir1 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇