Radiology Stats logo

Radiology Stats

CommunityPopular
huang-sir1
radiology-stats

Plan, run, and report imaging biostatistics the way Radiology (RSNA) reviewers expect — diagnostic accuracy with CIs, ROC/AUC comparison (DeLong/bootstrap), reader agreement (Cohen/Fleiss kappa, ICC, Bland-Altman), multi-reader multi-case (MRMC) studies, calibration and decision-curve analysis, multiplicity control for high-dimensional radiomics/omics (Bonferroni vs FDR), survival/prognostic modelling, and sample-size/EPV planning. Use when the user mentions AUC, DeLong, sensitivity/specificity, kappa, ICC, MRMC, calibration, decision curve, p-value, FDR, multiple comparisons, sample size, C-index, or asks how to report a statistic for Radiology. Provides runnable Python/R and a results sentence; never fabricates numbers.

Overview

Publisherhuang-sir1
Repositoryradiology-skills
Skill nameradiology-stats
Stars
1.7K
Forks
17
Bundled files
6
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 6 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by huang-sir1 on GitHub. Read the source before you install it.

Installation

Install the Radiology Stats AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

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
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Radiology Stats in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Radiology Stats on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Radiology Stats is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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 sentenceRadiology-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.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Radiology Stats AI skill do?

Plan, run, and report imaging biostatistics the way Radiology (RSNA) reviewers expect — diagnostic accuracy with CIs, ROC/AUC comparison (DeLong/bootstrap), reader agreement (Cohen/Fleiss kappa, ICC, Bland-Altman), multi-reader multi-case (MRMC) studies, calibration and decision-curve analysis, multiplicity control for high-dimensional radiomics/omics (Bonferroni vs FDR), survival/prognostic modelling, and sample-size/EPV planning. Use when the user mentions AUC, DeLong, sensitivity/specificity, kappa, ICC, MRMC, calibration, decision curve, p-value, FDR, multiple comparisons, sample size,...

Why use Radiology Stats on TypingMind?

Because you install it once and use it with any model. Radiology Stats is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Radiology Stats in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/huang-sir1/radiology-skills/tree/main/radiology-skills/modules/radiology-stats. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Radiology Stats?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Radiology Stats?

As many as you like. As long as a model supports skills, you can use Radiology Stats with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Radiology Stats AI skill free?

Yes. It is published on GitHub by huang-sir1 under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇