bayes_rule
Computes the posterior probability of a hypothesis given evidence from prior, likelihood, and false-positive rate, using Bayes' formula or natural frequencies.
Instructions
P(H | E) from P(H), P(E | H) and P(E | ¬H), by formula and by natural frequencies.
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": {
"prior": "<prior>",
"likelihood": "<likelihood>",
"false_positive_rate": "<false_positive_rate>"
},
"name": "bayes_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prior | Yes | ||
| evidence | No | E | |
| hypothesis | No | H | |
| likelihood | Yes | ||
| false_positive_rate | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |