Individual skill
analyze-stats
Use when data needs statistical analysis. Runs reproducible Python/R code for Table 1, diagnostic accuracy, agreement, regression, survival, propensity score, survey-weighted and repeated-measures models, with publication tables. Sample size is /calc-sample-size; pooling studies is /meta-analysis.
skills/analyze-stats/SKILL.md
Source commit cc462bc2069064b557c2fea12a1f83ed1fe67f66
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- No
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Not checked yet
- Last checked
- Nov 7, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 375
- Repository last updated
- Nov 10, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- biostatistics Repository topic
- claude-code Repository topic
- claude-skills Repository topic
- clinical-research Repository topic
- diagnostic-accuracy Repository topic
- literature-review Repository topic
- manuscript Repository topic
- medical-ai Repository topic
- medical-research Repository topic
- meta-analysis Repository topic
- data Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 27,928 bytesSKILL.mdcore · 27,928 bytesSKILL.mdcore · 27,928 bytesSKILL.mdcore · 27,928 bytesSKILL.mdcore · 27,928 bytesSKILL.mdcore · 27,928 bytesSKILL.mdcore · 27,928 bytesreferences/analysis_guides/agreement_reliability.mddoc · 8,672 bytesreferences/analysis_guides/burden_decomposition_forecasting.mddoc · 9,016 bytesreferences/analysis_guides/calibration.mddoc · 7,740 bytesreferences/analysis_guides/diagnostic_accuracy.mddoc · 10,081 bytesreferences/analysis_guides/health_economic_evaluation.mddoc · 5,362 bytesreferences/analysis_guides/mediation.mddoc · 4,740 bytesreferences/analysis_guides/mendelian_randomization.mddoc · 5,369 bytesreferences/analysis_guides/meta_analysis.mddoc · 5,894 bytesreferences/analysis_guides/missing_data.mddoc · 6,880 bytesreferences/analysis_guides/multiplicity.mddoc · 5,932 bytesreferences/analysis_guides/network_meta_analysis.mddoc · 4,450 bytesreferences/analysis_guides/nhis_icd10_mapping.mddoc · 9,172 bytesreferences/analysis_guides/polygenic_risk_score.mddoc · 4,452 bytesreferences/analysis_guides/propensity_score.mddoc · 7,489 bytesreferences/analysis_guides/regression.mddoc · 7,211 bytesreferences/analysis_guides/repeated_measures.mddoc · 5,631 bytesreferences/analysis_guides/survey_weighted.mddoc · 16,737 bytesreferences/analysis_guides/survival.mddoc · 12,892 bytesreferences/analysis_guides/test_selection.mddoc · 4,134 bytesreferences/analysis_run_workflow.mddoc · 7,675 bytesreferences/style/figure_style.mplstyleasset · 1,438 bytesreferences/style/theme_publication.Rasset · 6,090 bytesreferences/table-standards/journal-profiles/ajr.yamlasset · 1,243 bytesreferences/table-standards/journal-profiles/european_radiology.yamlasset · 1,337 bytesreferences/table-standards/journal-profiles/jama.yamlasset · 1,638 bytesreferences/table-standards/journal-profiles/lancet.yamlasset · 1,355 bytesreferences/table-standards/journal-profiles/nejm.yamlasset · 1,145 bytesreferences/table-standards/journal-profiles/radiology.yamlasset · 1,546 bytesreferences/table-standards/table-standards.mddoc · 10,376 bytesreferences/table-standards/table-types/agreement.mddoc · 3,650 bytesreferences/table-standards/table-types/diagnostic_accuracy.mddoc · 2,017 bytesreferences/table-standards/table-types/incremental_value.mddoc · 8,288 bytesreferences/table-standards/table-types/meta_analysis.mddoc · 3,229 bytesreferences/table-standards/table-types/model_comparison.mddoc · 2,069 bytesreferences/table-standards/table-types/reader_study.mddoc · 3,875 bytesreferences/table-standards/table-types/regression_results.mddoc · 1,816 bytesreferences/table-standards/table-types/survival_results.mddoc · 4,280 bytesreferences/table-standards/table-types/table1_demographics.mddoc · 3,846 bytesreferences/table-standards/tool-comparison.mddoc · 2,761 bytesreferences/templates/agreement_analysis.pyruns · 17,420 bytesreferences/templates/dca_plot.Rruns · 11,977 bytesreferences/templates/diagnostic_accuracy.pyruns · 19,126 bytesreferences/templates/dta_meta_analysis.Rruns · 23,926 bytesreferences/templates/forest_plot.pyruns · 19,557 bytesreferences/templates/likert_summary.pyruns · 17,755 bytesreferences/templates/meta_analysis.Rruns · 20,312 bytesreferences/templates/propensity_score.pyruns · 21,115 bytesreferences/templates/regression.pyruns · 19,687 bytesreferences/templates/repeated_measures.pyruns · 17,414 bytesreferences/templates/sample_size.Rruns · 19,182 bytesreferences/templates/survey_weighted_analysis.pyruns · 18,425 bytesreferences/templates/survival_analysis.pyruns · 15,509 bytesreferences/templates/table1_demographics.pyruns · 11,293 bytesscripts/analysis_run_challenge/README.mddoc · 761 bytesscripts/analysis_run_challenge/verify.shruns · 1,555 bytesscripts/check_generated_code.pyruns · 26,996 bytesscripts/check_separation.pyruns · 20,124 bytesscripts/demo_analysis_run.pyruns · 2,086 bytesscripts/rating_monotonicity.pyruns · 5,494 bytesscripts/run_analysis.pyruns · 17,834 bytesskill.ymlasset · 1,798 bytestests/fixtures/gen_api_defaults.pyruns · 708 bytestests/fixtures/gen_api_defaults_ok.pyruns · 1,189 bytestests/fixtures/gen_api_lr_no_or.pyruns · 510 bytestests/fixtures/gen_api_or_other_model.pyruns · 757 bytestests/fixtures/gen_api_statsmodels_ttest.pyruns · 519 bytestests/fixtures/gen_api_ttest.Rasset · 225 bytestests/fixtures/gen_api_unparseable.pyruns · 69 bytestests/fixtures/gen_bad.Rasset · 578 bytestests/fixtures/gen_bad.pyruns · 743 bytestests/fixtures/gen_clean.pyruns · 553 bytestests/fixtures/gen_palette.pyruns · 742 bytestests/fixtures/gen_rng_doc_mention.pyruns · 948 bytestests/fixtures/gen_seed_none.pyruns · 517 bytestests/fixtures/gen_seed_null.Rasset · 320 bytestests/fixtures/gen_seeded_rng.pyruns · 807 bytestests/fixtures/gen_unseeded_rng.pyruns · 585 bytestests/test_analysis_run.pyruns · 16,909 bytestests/test_generated_code.shruns · 6,933 bytestests/test_separation.shruns · 12,908 bytestests/test_stats_templates.shruns · 25,041 bytestests/test_survival_template.shruns · 4,393 bytes
Read excerpt
# Statistical Analysis Skill
Generate reproducible code (Python preferred, R when necessary) for medical research analyses,
run it, and produce publication-ready tables and figures from its output.
## Data Privacy Check
Before reading any data file, check whether it might contain Protected Health Information (PHI):
1. If `*_deidentified.*` files exist in the working directory, use those.
2. If only raw CSV/Excel files exist, ask the user whether the data contain patient identifiers
(names, national ID / RRN, contact details); if so, have them de-identify it first with
`/deidentify`.
3. Proceed once the user confirms the data are de-identified or contain no PHI.