athena_longitudinal_gformula
Estimate static two-timepoint treatment-regime risks with a transparent parametric g-formula, accounting for one binary intermediate variable under explicit assumptions.
Instructions
Estimate static two-timepoint treatment-regime risks with a transparent parametric g-formula over one binary intermediate variable. Assumption-scoped.
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": {
"samples": "<samples>",
"treatment1": "<treatment1>",
"intermediate": "<intermediate>",
"treatment2": "<treatment2>",
"outcome": "<outcome>"
},
"name": "athena_longitudinal_gformula"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| outcome | Yes | ||
| regimes | No | ||
| samples | Yes | ||
| baseline | No | ||
| treatment1 | Yes | ||
| treatment2 | Yes | ||
| assumptions | No | ||
| intermediate | Yes |