Biostatistics logo

Biostatistics

Community
beita6969
biostatistics

Performs biostatistical analyses specialized for clinical and biomedical research including survival analysis, Kaplan-Meier estimation, Cox proportional hazards regression, longitudinal data modeling, and diagnostic test evaluation; trigger when users discuss clinical outcomes, survival curves, or biomedical study statistics.

Overview

Publisherbeita6969
RepositoryScienceClaw
Skill namebiostatistics
Stars
950
Forks
106
Bundled files
Instructions only
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.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by beita6969 on GitHub. Read the source before you install it.

Installation

Install the Biostatistics 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.
    https://github.com/beita6969/ScienceClaw/tree/main/skills/biostatistics
  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/beita6969/ScienceClaw.git /tmp/ScienceClaw
mkdir -p .claude/skills
cp -r /tmp/ScienceClaw/skills/biostatistics .claude/skills/biostatistics
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Biostatistics 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 Biostatistics 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 Biostatistics 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.

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

Frequently asked questions

What does the Biostatistics AI skill do?

Performs biostatistical analyses specialized for clinical and biomedical research including survival analysis, Kaplan-Meier estimation, Cox proportional hazards regression, longitudinal data modeling, and diagnostic test evaluation; trigger when users discuss clinical outcomes, survival curves, or biomedical study statistics.

Why use Biostatistics on TypingMind?

Because you install it once and use it with any model. Biostatistics 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 Biostatistics in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/beita6969/ScienceClaw/tree/main/skills/biostatistics. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Biostatistics?

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 Biostatistics?

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

Is the Biostatistics AI skill free?

Yes. It is published on GitHub by beita6969 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 👇