equiflow
CommunityEquity-focused cohort flow for bias detection.
Authorhannesill
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Generates equity-focused cohort flow diagrams that track demographic, socioeconomic, and outcome variables at each exclusion step and compute standardized mean differences to detect selection bias.
Core Features & Use Cases
- Auto-detection of equity variables from your dataset (gender/age/race/etc.)
- Produce CONSORT-style diagrams and SMD bias checks across exclusion steps
- Works with clinical datasets (e.g., MIMIC-IV, eICU) and supports custom cohorts
- Python API: CohortFlow wrapper to build, filter, and visualize the cohort with PDF output
Quick Start
Create a CohortFlow from your dataframe, apply exclusions with exclude(), and generate the visualization by calling plot().
Dependency Matrix
Required Modules
numpypandasequiflow
Components
scriptsreferences
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: equiflow Download link: https://github.com/hannesill/m4/archive/main.zip#equiflow Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.