analyze-stats

Generate reproducible Python or R code for medical research statistics.

243|60|Updated Apr 6, 2026
One-click install
npx skills add https://github.com/Aperivue/medsci-skills --skill analyze-stats
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: analyze-stats
Source: https://github.com/Aperivue/medsci-skills/tree/main/skills/analyze-stats
Command: npx skills add https://github.com/Aperivue/medsci-skills --skill analyze-stats

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps medical researchers perform rigorous statistical analyses for scientific papers by generating reproducible Python or R code that outputs publication-ready tables and figures, reducing manual scripting and boosting reliability.

Core Features & Use Cases

  • Auto-detect the appropriate analysis type from the data structure (demographics, diagnostic accuracy, regression, survival, etc.).
  • Produce a complete analysis plan outlining tests, endpoints, and assumptions before execution.
  • Generate reproducible code headers, standardized outputs (CSV, Markdown, gtsummary-like tables), and manuscript-ready text suitable for journal submission.
  • Leverage on-demand templates and guidance from the Skill's references to ensure methodology compliance and high-quality visuals.

Quick Start

Provide your dataset to analyze-stats and run to generate end-to-end statistical analyses with publication-ready outputs.

Frequently Asked Questions about analyze-stats

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

FAQPage Schema
How do I generate reproducible Python or R code for medical research statistics?

To generate reproducible statistics code for medical research, this Skill auto-detects the required analysis type from your dataset and outputs executable Python or R scripts. It drafts a formal plan and produces publication-quality tables, figures, and textual summaries.

Can I automatically create publication-quality tables and figures for biostatistics?

Yes, you can create publication-quality tables and figures for biostatistics by loading your dataset. The process auto-detects endpoints, applies methodology templates, and outputs standardized formats like CSV, Markdown, and gtsummary-like tables ready for journal submission.

What is the best way to automate a formal statistical analysis plan before execution?

The best way to automate a formal statistical analysis plan is to provide your dataset directly. The system detects the data structure, drafts the plan outlining tests and assumptions, and generates reproducible code with validated methodology references.

Does this approach work for both Python and R statistical workflows?

Yes, this approach works for both Python and R statistical workflows. It generates reproducible code in either language, ensuring methodology compliance and high-quality visuals consistent with medical journal standards.

How do I ensure methodology compliance and validation when running medical statistics?

To ensure methodology compliance and validation when running medical statistics, the system loads on-demand templates and references. This guarantees that best practices for data assessment, validation, and visualization are followed throughout the end-to-end workflow.

What types of medical data analyses can be auto-detected from the dataset structure?

Medical data analyses that can be auto-detected from the dataset structure include demographics, diagnostic accuracy, regression, and survival analysis. The system determines the appropriate tests and endpoints to produce manuscript-ready results.