sensitivity_from_result
Compute sensitivity analyses from a cached causal fit: E-values, Oster bounds, Cinelli-Hazlett OVB, or an auto dashboard to assess unmeasured confounding.
Instructions
Sensitivity of a cached fit (result_id). 'evalue' (default): E-value from the estimate. 'oster' (delta / R-max) and 'cinelli_hazlett' (OVB bounds) refit OLS of y on treat + controls on the fit's data: from a regress formula (name the term with treat) or passed as y / treat / controls. 'auto': sensitivity dashboard.
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": {
"result_id": "<result_id>"
},
"name": "sensitivity_from_result"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| y | No | oster / cinelli_hazlett. | |
| sd | No | evalue with SMD / MD: the outcome's standard deviation (1 if already standardised). | |
| treat | No | Term to bound. | |
| detail | No | Payload depth; agent is the fullest. | agent |
| method | No | evalue | |
| data_id | No | Data handle (d_...) from load_data; replaces data_path. | |
| measure | No | evalue: scale of the estimate. SMD / MD (a mean difference) need sd; RR / OR / HR are ratios. | SMD |
| controls | No | ||
| data_csv | No | Small inline table as CSV text. | |
| as_handle | No | Cache the fit and return its result_id. | |
| data_path | No | Absolute path of a data file on the server. | |
| result_id | Yes | Handle to a fitted causal result. | |
| data_records | No | Small inline table as row objects. | |
| max_output_bytes | No | Result byte budget (default 262144; 0 = none). | |
| benchmark_covariate | No | Cinelli-Hazlett benchmark column (optional). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||