What problem does it solve?
Clinicians and researchers need to judge how well a diagnostic test or biomarker discriminates disease, choose an operating threshold, and translate a test result into a real probability of disease, but PPV/NPV are often misquoted without accounting for prevalence.
Core Features & Use Cases
- Fixed-cutoff 2x2 metrics: Compute sensitivity, specificity, PPV, NPV, accuracy, and likelihood ratios from TP/FP/TN/FN counts via the Epidemiology_diagnostic tool.
- ROC / AUC / optimal cutoff: Analyze a continuous biomarker score against true labels with AUC, bootstrap 95% CI, and the Youden-optimal cutoff using the ROC_analysis tool or the bundled Python script.
- Post-test probability via Bayes: Convert pre-test probability plus sensitivity/specificity into a real-world post-test probability with Epidemiology_bayesian.
- Use Case: Given a CSV of biomarker scores and disease labels, compute the AUC with confidence interval, pick a cutoff, build the 2x2 table at that cutoff, and report the PPV at the true population prevalence.
Quick Start
Ask the agent to evaluate a diagnostic test from a 2x2 table with 90 true positives, 10 false positives, 180 true negatives, and 20 false negatives, including sensitivity, specificity, and likelihood ratios.