Logo Biostatistics Analyzer

Biostatistics Analyzer

Tổ chức
Open-Medica
biostatistics-analyzer

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

Tổng quan

Nhà phát hànhOpen-Medica
Kho mãopen-medical-skills
Tên kỹ năngbiostatistics-analyzer
Sao
32
Bản fork
8
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được Open-Medica công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Biostatistics Analyzer trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/Open-Medica/open-medical-skills/tree/main/skills/biostatistics-analyzer
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Biostatistics Analyzer trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Biostatistics Analyzer ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Biostatistics Analyzer với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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.

Câu hỏi thường gặp

Kỹ năng AI Biostatistics Analyzer làm được gì?

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

Vì sao nên dùng Biostatistics Analyzer trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Biostatistics Analyzer là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Biostatistics Analyzer trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/Open-Medica/open-medical-skills/tree/main/skills/biostatistics-analyzer. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Biostatistics Analyzer?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Biostatistics Analyzer với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Biostatistics Analyzer với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Biostatistics Analyzer có miễn phí không?

Có. Kỹ năng này được Open-Medica phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇