statistical-modeling

statistical-modeling is a skill for Claude Code, Codex from inflexa-ai/inflexa. It costs 26 tokens per session (3,204 once invoked), scanned A, original, Apache-2.0.

A guide to statistical methods for biomedical research, including survival analysis, classification, regression, feature selection, and model interpretation. Survival analysis studies how long it takes for an event to happen when some observations have not reached the event yet.

In plain words
What is it for?
Use it to analyse time-to-event data, build prediction models, compare groups, adjust for other variables, and explain which features affect a model.
Why use it?
It helps select a method that matches the outcome and check important assumptions before trusting the results.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to analyse time-to-event data, build prediction models, compare groups, adjust for other variables, and explain which features affect a model.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/inflexa-ai/inflexa/statistical-modeling
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add inflexa-ai/inflexa --skill statistical-modeling
Clone the repo
git clone --depth 1 https://github.com/inflexa-ai/inflexa

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for statistical-modeling

README.md
[![agentmods](https://agentmods.dev/badge/skills/inflexa-ai/inflexa/statistical-modeling/github.svg)](https://agentmods.dev/skills/inflexa-ai/inflexa/statistical-modeling)
Your own site
<a href="https://agentmods.dev/skills/inflexa-ai/inflexa/statistical-modeling"><img src="https://agentmods.dev/badge/skills/inflexa-ai/inflexa/statistical-modeling/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for statistical-modeling

Your own site · 80×15
<a href="https://agentmods.dev/skills/inflexa-ai/inflexa/statistical-modeling"><img src="https://agentmods.dev/badge/skills/inflexa-ai/inflexa/statistical-modeling.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,204 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00026 $0.03204
Opus 5.5 $0.00010 $0.01282
Sonnet 5.5 $0.00005 $0.00641
Haiku 4.5 $0.00003 $0.00320

Measured 1mo ago against content hash fcff9e36156e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

statistical-modeling scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/statistical-modeling/SKILL.md · 241 lines

How it starts

The opening of the file, as written. The whole thing — 241 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Statistical Modeling

This skill guides method selection and execution for survival analysis, classification, regression, feature selection, mixed-effects modeling, and model interpretation in biomedical contexts.

Method Selection Decision Tree

Choose the method based on your outcome type and analytical goal:

1. Survival Analysis (time-to-event data with censoring)

  • Univariate (single variable, Kaplan-Meier curves)
    • lifelines.KaplanMeierFitter for survival curves, logrank_test() for group comparison.
  • Multivariate (adjust for covariates)
    • lifelines.CoxPHFitter for Cox proportional hazards regression. Check PH assumption with check_assumptions(). If the check fails, stratify on the covariate at fault (strata=[...]), or add a time-varying term. Then report the hazard ratio as time-averaged, not as a constant effect.
  • ML-based survival (non-linear, high-dimensional)
    • scikit-survival.RandomSurvivalForest for non-linear survival prediction.
    • scikit-survival.GradientBoostingSurvivalAnalysis for best predictive performance.
  • Censoring encoding: event indicator = 1 means the event occurred, 0 means censored. Verify this before fitting.

2. Binary Classification (predict discrete outcome)

Escalate complexity only when simpler models underperform:

  • Start: sklearn.LogisticRegression (interpretable, baseline).
  • If non-linear patterns: sklearn.RandomForestClassifier (handles interactions, feature importance built in).
  • If maximum performance needed: xgboost.XGBClassifier (gradient boosting, tunable).
    • xgboost is thread-parallel: raise the thread limit for the training command to the full CPU budget of the step. Do not run it under forked workers (for example joblib) at the same time.
  • Metric: Use AUC-ROC as primary metric. For imbalanced classes, also report AUPRC (precision-recall). Never use accuracy alone on imbalanced data.

3. Regression (predict continuous outcome)

Read the full file on GitHub · 241 lines

Files

What ships with it

8 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 241 lines · 26 tokens per session scan A fcff9e36156e

Subscribe to this mod's changes

statistical-modeling is a skill published in the GitHub repository inflexa-ai/inflexa (35 stars, last pushed today), licensed Apache-2.0. It adds 26 tokens to every session and 3,204 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-09.

Related

Other skills, from other repositories

biosymphony-structure-factory

Select structural biology tools, call configured adapters, chain stage outputs, and compare computational results. Use for binder-design comparisons, structure prediction, model review, and agent-driven execution.

BioSymphony/structure-factory · 43 tokens

binder-lane-round

Use the public Claude binder lane to plan and execute protein-binder comparisons with selected tools, compute profiles, controls, and output checks.

BioSymphony/structure-factory · 32 tokens

esm2

Skill for working with ESM2 protein language models from Meta FAIR. Use this skill whenever the user wants to generate protein embeddings or representations, score variant effects or predict mutation fitness, run contact prediction, or use ESMFold for structure prediction. Also trigger when the user mentions ESM2…

naity/FM4Life · 86 tokens

evo2

Skill for genomic sequence modeling and design with Evo2 from Arc Institute. Use this skill when a user wants to model or generate DNA sequences, score variant effects at single-nucleotide resolution, extract genomic embeddings, analyze mutations in non-coding or coding regions, design synthetic genomic elements…

naity/FM4Life · 153 tokens

rfdiffusion

Skill for de novo protein backbone generation with RFdiffusion from the Baker Lab (Institute for Protein Design). Use this skill when a user wants to design a new protein backbone from scratch, scaffold a functional motif into a new protein, design a protein binder against a target, generate symmetric oligomers…

naity/FM4Life · 132 tokens

alphafold

Skill for protein structure prediction and analysis with AlphaFold. Use this skill whenever a user wants to predict or fetch a protein 3D structure, download structures from the AlphaFold Database (AFDB), run ColabFold for novel proteins, parse pLDDT confidence scores or PAE (predicted aligned error) from AlphaFold…

naity/FM4Life · 141 tokens