Biostatistics Analyzer 标志

Biostatistics Analyzer

组织
Open-Medica
biostatistics-analyzer

Perform common biostatistical analyses for medical research including survival analysis, logistic regression, ROC curves, and sample size calculations.

Add to TypingMind

概览

发布者Open-Medica
代码仓库open-medical-skills
技能名称biostatistics-analyzer
星标数
32
复刻数
8
附带文件
仅含指令
许可协议MIT
链接
  • Markdown 格式的指令

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

  • 兼容任何大语言模型

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

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

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

安装

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

1

安装到 TypingMind

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

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

安装到其他智能体

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Open-Medica/open-medical-skills.git /tmp/open-medical-skills
mkdir -p .claude/skills
cp -r /tmp/open-medical-skills/skills/biostatistics-analyzer .claude/skills/biostatistics-analyzer
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

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

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

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

Biostatistics Analysis Tool

Perform common biostatistical analyses for medical research including survival analysis (Kaplan-Meier, Cox proportional hazards), logistic and linear regression, ROC curve analysis with AUC calculation, sample size and power calculations, and diagnostic test performance metrics. The skill guides researchers through appropriate test selection, assumption checking, result interpretation, and reporting in accordance with published statistical reporting guidelines.

Quick Install

bash
npx skills add Open-Medica/open-medical-skills --skill biostatistics-analyzer

What It Does

  • Statistical test selection: Given a research question, data structure (continuous/categorical, paired/unpaired, parametric/non-parametric), and study design, recommends the appropriate statistical test and explains why alternatives were not selected
  • Survival analysis: Performs Kaplan-Meier estimation with log-rank test comparison between groups, Cox proportional hazards regression with hazard ratio calculation and proportional hazards assumption testing (Schoenfeld residuals)
  • Regression modeling: Conducts logistic regression (binary, ordinal, multinomial) and linear regression with model diagnostics, effect size reporting (odds ratios with 95% CI for logistic; beta coefficients for linear), multicollinearity assessment (VIF), and model fit statistics (C-statistic, R-squared, Hosmer-Lemeshow)
  • Diagnostic test evaluation: Calculates sensitivity, specificity, positive/negative predictive values, positive/negative likelihood ratios, and generates ROC curves with AUC and optimal threshold determination (Youden's index)
  • Sample size and power: Computes required sample sizes for common study designs (two-group comparison of means, two-group comparison of proportions, survival analysis, non-inferiority/equivalence trials) and performs post-hoc power analysis for completed studies

Clinical Use Cases

  • Clinical trial analysis: A research team analyzing a randomized controlled trial comparing two anti-hypertensive agents uses the skill to perform the primary efficacy analysis (between-group difference in systolic BP at 12 weeks, adjusted for baseline), generate Kaplan-Meier curves for the secondary MACE endpoint, and calculate the number needed to treat
  • Retrospective cohort study: An epidemiologist studying risk factors for post-operative complications uses the skill to build a multivariable logistic regression model, check for confounders, assess model discrimination (C-statistic), and produce a forest plot of adjusted odds ratios
  • Diagnostic accuracy study: A pathologist evaluating a new biomarker for pancreatic cancer uses the skill to generate ROC curves comparing the novel biomarker against CA 19-9, calculate DeLong's test for AUC comparison, and determine the optimal cutoff point that maximizes sensitivity at a clinically acceptable specificity threshold
  • Grant proposal sample size justification: An investigator planning a non-inferiority trial needs to calculate the required sample size assuming a non-inferiority margin of 5%, expected event rate of 15% in both arms, 80% power, and one-sided alpha of 0.025, accounting for 15% dropout

Safety & Evidence

  • Safety Classification: Safe — The skill performs mathematical computations and statistical analyses. It does not make clinical decisions, treat patients, or generate clinical recommendations. Statistical results and interpretations must be reviewed by qualified biostatisticians or researchers with statistical training.
  • Evidence Level: Moderate — Statistical methods implemented follow established textbook approaches (Altman, Bland, Hosmer-Lemeshow) and published reporting guidelines (CONSORT, STROBE, STARD, TRIPOD). Calculations use standard statistical formulas. However, proper application of statistical methods requires understanding of assumptions, study design, and clinical context that the skill supports but does not replace.

Example Usage

Sample size calculation:

Calculate required sample size for:
Study design: Randomized controlled trial, parallel groups
Primary outcome: Proportion of patients achieving HbA1c < 7.0% at 6 months
Expected rate in control group: 35%
Expected rate in intervention group: 50%
Alpha: 0.05 (two-sided)
Power: 80%
Allocation ratio: 1:1
Expected dropout rate: 10%

Sample Size Calculation:

Method: Two-proportion z-test (chi-square test for equality of proportions)

Parameters:

  • p1 (control): 0.35
  • p2 (intervention): 0.50
  • Absolute difference: 0.15
  • Alpha: 0.05 (two-sided)
  • Power: 0.80
  • Allocation ratio: 1:1

Result (before dropout adjustment):

  • Per group: 170 patients
  • Total: 340 patients

Result (after 10% dropout adjustment):

  • Per group: 189 patients
  • Total: 378 patients

Reporting language: "A sample size of 170 per group (340 total) provides 80% power to detect a 15 percentage point difference in the proportion of patients achieving HbA1c <7.0% (50% vs. 35%) using a two-sided chi-square test at the 5% significance level. Accounting for an anticipated 10% dropout rate, we plan to enroll 189 patients per group (378 total)."

Sensitivity analysis: At 90% power, the required sample size increases to 227 per group (454 total, or 504 after dropout adjustment).

ROC curve analysis:

Evaluate diagnostic performance of troponin-I for acute MI diagnosis:
- AUC for troponin-I: 0.92 (95% CI: 0.89-0.95)
- AUC for CK-MB: 0.78 (95% CI: 0.73-0.83)
- Compare the two biomarkers

ROC Curve Comparison:

BiomarkerAUC95% CIOptimal Cutoff (Youden)SensitivitySpecificity
Troponin-I0.920.89-0.950.04 ng/mL93.2%84.6%
CK-MB0.780.73-0.835.0 ng/mL72.1%76.3%

DeLong's test for AUC comparison:

  • Difference in AUC: 0.14 (95% CI: 0.08-0.20)
  • Z-statistic: 4.67
  • P-value: <0.001

Interpretation: Troponin-I demonstrates significantly superior discriminative ability for acute MI diagnosis compared to CK-MB (AUC 0.92 vs. 0.78, p<0.001). At the optimal cutoff of 0.04 ng/mL, troponin-I achieves 93.2% sensitivity and 84.6% specificity.

Technical Details

  • Category: Clinical Research Summarizing
  • Author: OMS Contributors
  • License: MIT
  • Version: 1.0.0
  • Specialty: Research, Biostatistics

References

  • Altman DG. Practical Statistics for Medical Research. Chapman and Hall/CRC, 1991.
  • Hosmer DW, Lemeshow S, Sturdivant RX. Applied Logistic Regression. 3rd ed. Wiley, 2013.
  • Bland JM, Altman DG. "Statistical methods for assessing agreement between two methods of clinical measurement." Lancet. 1986;327(8476):307-310.
  • DeLong ER, DeLong DM, Clarke-Pearson DL. "Comparing the areas under two or more correlated receiver operating characteristic curves." Biometrics. 1988;44(3):837-845.
  • Schulz KF, et al. "CONSORT 2010 Statement: updated guidelines for reporting parallel group randomised trials." BMJ. 2010;340:c332.
  • Collins GS, et al. "Transparent reporting of a multivariable prediction model for individual prognosis or diagnosis (TRIPOD)." BMJ. 2015;350:g7594.

This skill is part of Open Medical Skills, a curated marketplace of medical AI skills maintained by physicians for physicians and the healthcare industry.

常见问题

Biostatistics Analyzer AI 技能有什么作用?

Perform common biostatistical analyses for medical research including survival analysis, logistic regression, ROC curves, and sample size calculations.

为什么在 TypingMind 中使用 Biostatistics Analyzer?

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

如何在 TypingMind 中安装 Biostatistics Analyzer?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/Open-Medica/open-medical-skills/tree/main/skills/biostatistics-analyzer。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Biostatistics Analyzer?

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

Biostatistics Analyzer 可以搭配多少个 AI 模型使用?

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

Biostatistics Analyzer AI 技能免费吗?

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

什么是 AI 技能?

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

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

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

查看全部

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

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