Absolute risk
absolute_riskCalculate absolute disease risk from a PRS z-score and population prevalence, using effect-size data from the score's trait.
Instructions
Estimate absolute disease risk from a PRS z-score and population prevalence.
Joins the score's trait to prevalence + effect-size data. z_score is
the PRS in standard deviations from the population mean. Raises if the
required prevalence / effect-size data is unavailable for this score.
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": {
"pgs_id": "<pgs_id>",
"z_score": "<z_score>"
},
"name": "absolute_risk"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sex | No | ||
| pgs_id | Yes | ||
| z_score | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | Yes | Estimation method: 'or_per_sd' or 'auc_bivariate' | |
| caveats | No | Warnings about estimation quality (e.g. 'cohort prevalence used, not population') | |
| confidence | Yes | Data quality confidence: 'high', 'moderate', or 'low' | |
| risk_ratio | Yes | Risk ratio vs population average (e.g. 1.64x) | |
| absolute_risk | Yes | Estimated absolute risk (e.g. 0.18 = 18% lifetime risk) | |
| prevalence_type | Yes | Type of prevalence: 'lifetime', 'point', or 'cohort' | |
| prevalence_source | Yes | Where the prevalence data came from | |
| effect_size_citation | No | Paper citation for the OR/AUROC used (e.g. 'Smith et al. 2023, JAMA (PMID: 12345678)') | |
| population_prevalence | Yes | Population baseline prevalence (e.g. 0.11 = 11%) |