health_diagnostic_test
Diagnostic test accuracy (PPV/NPV, likelihood ratios) — Screening and diagnostic test math: sensitivity + specificity (decimal or percent) -> likelihood ratios with strength labels, Youden J, number needed to diagnose, diagnostic odds ratio, and PPV/NPV across prevalences. Add prevalence= for PPV, NPV, false discovery rate and outcomes per 1,000 tested; pretest= for post-test probability after a positive or negative result. Or pass the 2x2 counts tp=, fp=, fn=, tn= for accuracy, F1, MCC and 95% confidence intervals (Wilson; log method for LRs). Statistical tool, not medical advice. Price: $0.002 USDC (Base, via x402).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"sensitivity": "<sensitivity>",
"specificity": "<specificity>"
},
"name": "health_diagnostic_test"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sensitivity | Yes | 0.9 | |
| specificity | Yes | 0.95 |