Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
beita6969 avatar

Biostatistics

  • 34 installs
  • 869 repo stars
  • Updated June 8, 2026
  • beita6969/scienceclaw

biostatistics is a Claude skill that guides clinical and biomedical statistical analysis including survival analysis, Cox regression, and diagnostic-test evaluation.

About

Guides biostatistical analysis for clinical and biomedical research: survival analysis, Kaplan-Meier estimation, Cox proportional-hazards regression, longitudinal modeling, and diagnostic-test evaluation. A researcher uses it when analyzing clinical outcomes, survival curves, or biomedical study data and needs correct assumption checks and reporting. It enforces proportional-hazards testing, competing-risks handling, and missing-data mechanisms.

  • Clinical and biomedical biostatistics: survival analysis, Cox regression, diagnostics
  • Covers Kaplan-Meier, competing risks, longitudinal models, and missing-data methods
  • Includes a 7-step methodology and a 9-item quality checklist

Biostatistics by the numbers

  • 34 all-time installs (skills.sh)
  • Ranked #1,081 of 2,065 Data Science & ML skills by installs in the Skillselion catalog
  • Data as of Aug 2, 2026 (Skillselion catalog sync)
At a glance

biostatistics capabilities & compatibility

Capabilities
bioinformatics · biopython · astronomy cosmology
Use cases
research · data analysis
Pricing
Free
From the docs

What biostatistics says it does

Performs biostatistical analyses specialized for clinical and biomedical research including survival analysis, Kaplan-Meier estimation, Cox proportional hazards regression, longitudinal data modeling,
SKILL.md
Check proportional hazards assumption (Schoenfeld residuals, log-log plots).
SKILL.md
Sample size adequate for number of covariates (EPV >= 10 for Cox)
SKILL.md
npx skills add https://github.com/beita6969/scienceclaw --skill biostatistics

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs34
repo stars869
Last updatedJune 8, 2026
Repositorybeita6969/scienceclaw

What it does

Perform survival analysis, Cox regression, and diagnostic-test evaluation for clinical and biomedical studies.

Who is it for?

Clinical and biomedical researchers doing survival analysis, longitudinal modeling, or diagnostic accuracy.

Skip if: General non-clinical statistics or basic descriptive analysis outside biomedical study design.

When should I use this skill?

The user discusses clinical outcomes, survival curves, or biomedical study statistics.

What you get

Kaplan-Meier curves, hazard ratios, ROC/AUC, and imputation results reported with proper assumptions.

  • Kaplan-Meier curves with at-risk tables
  • Cox model tables with HR and 95% CI
  • ROC curves with AUC and missing-data reports

By the numbers

  • 7-step methodology
  • 9-item quality checklist
  • recommends EPV >= 10 for Cox models

Files

SKILL.mdMarkdownGitHub ↗

When to Trigger

Activate this skill when the user mentions:

  • Survival analysis, time-to-event, censoring
  • Kaplan-Meier curves, log-rank test, median survival
  • Cox regression, proportional hazards, hazard ratio
  • Longitudinal data, mixed-effects models, GEE
  • Diagnostic accuracy, sensitivity, specificity, ROC/AUC
  • Competing risks, Fine-Gray model, cumulative incidence
  • Sample size for clinical endpoints, multiplicity adjustment
  • Missing data in clinical studies, multiple imputation, MCAR/MAR/MNAR

Step-by-Step Methodology

1. Study design assessment - Confirm study type (cohort, case-control, cross-sectional, RCT). Identify primary endpoint type (continuous, binary, time-to-event, count, ordinal). Determine if data is clustered or longitudinal. 2. Survival analysis - Define time origin, event definition, and censoring mechanism. Verify censoring is non-informative. Estimate survival curves with Kaplan-Meier method. Compare groups with log-rank test (or weighted variants: Wilcoxon, Tarone-Ware for non-proportional hazards). 3. Cox regression - Check proportional hazards assumption (Schoenfeld residuals, log-log plots). If violated, use time-varying coefficients, stratified Cox, or restricted mean survival time (RMST). Report hazard ratios with 95% CIs. Handle multiple covariates with purposeful selection or penalized regression. 4. Competing risks - When multiple event types exist, use cumulative incidence functions (not 1-KM). Apply Fine-Gray subdistribution hazard model or cause-specific hazard models. Report cumulative incidence at clinically relevant timepoints. 5. Longitudinal analysis - For repeated measures: linear or generalized mixed-effects models (random intercepts/slopes). Choose appropriate correlation structure. Handle dropout with pattern mixture models or joint models for longitudinal and survival data. 6. Diagnostic test evaluation - Compute sensitivity, specificity, PPV, NPV at defined cutoffs. Generate ROC curve and compute AUC with DeLong confidence intervals. For biomarker discovery, apply cross-validation to avoid overoptimism. 7. Missing data handling - Classify missingness mechanism (MCAR, MAR, MNAR). For MAR: multiple imputation (m >= 20 imputations, Rubin's rules for pooling). Conduct sensitivity analysis under MNAR assumptions.

Key Databases and Tools

  • R survival / survminer - Survival analysis packages
  • SAS PROC PHREG / LIFETEST - Clinical biostatistics standard
  • STATA stcox / stcurve - Survival modeling
  • R mice / Amelia - Multiple imputation
  • pROC / cutpointr - ROC analysis

Output Format

  • Kaplan-Meier curves with number-at-risk table, median survival with 95% CI.
  • Cox model results as a table: variable, HR, 95% CI, p-value, with PH assumption test.
  • Cumulative incidence curves for competing risks with event-specific estimates.
  • ROC curves with AUC, optimal cutpoint, and sensitivity/specificity at that point.
  • Missing data report: pattern, mechanism assessment, imputation method, sensitivity results.

Quality Checklist

  • [ ] Time origin and event definition clearly specified
  • [ ] Censoring mechanism described and non-informative assumption justified
  • [ ] Proportional hazards assumption tested and result reported
  • [ ] Competing risks handled appropriately (not ignored)
  • [ ] Multiple comparisons adjustment applied when needed
  • [ ] Missing data mechanism assessed and appropriate method used
  • [ ] Sample size adequate for number of covariates (EPV >= 10 for Cox)
  • [ ] Effect estimates reported with confidence intervals, not just p-values
  • [ ] Sensitivity analyses performed for key assumptions

Related skills

FAQ

Does it check the proportional-hazards assumption?

Yes, it checks it with Schoenfeld residuals and log-log plots and reports the result.

How does it handle competing risks?

It uses cumulative incidence functions and the Fine-Gray subdistribution or cause-specific hazard models, not 1 minus Kaplan-Meier.

Data Science & MLresearchautomation

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.