Back to catalog
Cortexa research tool·biomedical·epidemiology
Epidemiology Bayesian
Compute post-test probability via Bayes' theorem given pre-test prevalence, test sensitivity, and specificity. Converts prevalence to pre-test odds, applies likelihood ratio (LR+ for positive test, LR- for negative test), and converts post-test odds back to probability. Useful for interpreting test results in clinical settings.
Livelast probed 2026-04-30 23:07Z· 100msCortexa
Status
The most recent probe succeeded. Safe to call from the agent today.
- Last probed
- 1d ago
- Last success
- 1d ago
- Last latency
- 100ms
Schema
JSON Schema the agent (or your API call) must match.
{
"properties": {
"operation": {
"description": "Operation type",
"enum": [
"bayesian"
],
"type": "string"
},
"prevalence": {
"description": "Pre-test probability (disease prevalence) [0, 1]",
"type": "number"
},
"sensitivity": {
"description": "Test sensitivity P(test+ | disease+) [0, 1]",
"type": "number"
},
"specificity": {
"description": "Test specificity P(test- | disease-) [0, 1]",
"type": "number"
},
"test_result": {
"description": "Whether to compute post-test probability for a positive or negative result (default: positive)",
"enum": [
"positive",
"negative"
],
"type": "string"
}
},
"required": [
"operation",
"prevalence",
"sensitivity",
"specificity"
],
"type": "object"
}Examples (1)
Default Epidemiology Bayesian call
public-safeinput
{
"operation": "",
"prevalence": 1,
"sensitivity": 1,
"specificity": 1
}Expected response keys: success
Anonymous-safe example. Rate-limited; no sign-in required.
Identifiers
- Catalog ID
- tu_Epidemiology_bayesian
- Tool name
- Epidemiology_bayesian
- Added
- 2026-04-30 22:47Z
- Tags
- tooluniverse