statistical-modeling

Perform statistical modeling and machine learning analysis for biomedical research.

29|3|Updated Jun 11, 2026
One-click install
npx skills add https://github.com/inflexa-ai/inflexa --skill statistical-modeling
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: statistical-modeling
Source: https://github.com/inflexa-ai/inflexa/tree/main/skills/statistical-modeling
Command: npx skills add https://github.com/inflexa-ai/inflexa --skill statistical-modeling

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires lifelines, scikit-learn, scikit-survival, xgboost, shap, statsmodels, pingouin, rpy2, and includes references (resource) components.

What problem does it solve?

This skill addresses the challenge of performing reproducible, auditable, and statistically sound biomedical analyses, ensuring that method selection and model evaluation follow best practices to avoid common pitfalls like data leakage and overfitting.

Core Features & Use Cases

  • Method Selection: Provides a structured decision tree for choosing between survival analysis, classification, regression, and mixed-effects models based on data type and research goals.
  • Model Evaluation: Enforces strict protocols including cross-validation, confidence interval reporting, and appropriate metric selection for imbalanced datasets.
  • Interpretability: Integrates SHAP and permutation importance to ensure model decisions are transparent and biologically meaningful.

Quick Start

Use the statistical-modeling skill to perform a Cox proportional hazards regression on the provided survival dataset and generate the corresponding forest plot.

Frequently Asked Questions about statistical-modeling

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I perform survival analysis for biomedical biomarker discovery?

Survival analysis for biomedical biomarker discovery is performed using Cox proportional hazards regression and scikit-survival models. The skill enforces rigorous cross-validation protocols and confidence interval reporting to ensure reproducible scientific output.

What is the best way to interpret machine learning models for biological meaning?

Interpreting machine learning models for biological meaning is best achieved using SHAP values and permutation importance. This ensures model decisions remain transparent and biologically meaningful during classification and regression tasks.

Can I use mixed-effects modeling with imbalanced biomedical datasets?

Mixed-effects modeling with imbalanced biomedical datasets is supported through statsmodels and pingouin. The skill applies appropriate metric selection and standardized evaluation protocols to handle data imbalance effectively.

How do I avoid data leakage and overfitting in classification tasks?

Avoiding data leakage and overfitting in classification tasks requires strict cross-validation protocols and standardized evaluation metrics. The skill enforces these best practices to maintain statistically sound and auditable biomedical analysis.

When do I need mixed-effects models instead of standard regression for research?

Mixed-effects models are needed instead of standard regression when your research data involves hierarchical structures or repeated measures. The skill provides a structured decision tree for method selection based on data type and research goals.

Does the statistical modeling workflow support feature selection and model evaluation together?

The statistical modeling workflow supports feature selection and model evaluation together within complex biomedical research pipelines. It integrates method selection, cross-validation, and interpretability reporting for comprehensive reproducible analysis.