synth
Run synthetic control and related panel causal-inference methods, including classic SCM, synthetic DiD, augmented/penalized SCM, and staggered adoption, with placebo inference and validation.
Instructions
Synthetic control (Abadie et al.) and its variants through one entry: classic SCM with placebo inference, synthetic DiD, augmented / penalized SCM, generalized SC (gsynth), staggered adoption and more via method=. Panel in long format, one treated unit (staggered: a treatment column instead). Validation: certified evidence with scoped limitations. Known limitations: Classical SCM certification is specification-specific: ADH/Synth parity requires passing the same special_predictors recipe; the default outcome-only V=I path is a documented Kaul-style convention; Default native classical SCM can differ from Synth on Basque-style panels by a documented local-optimum convention (the outer V optimisation has multiple near-equivalent minima); use backend='synth' or canonical special_predictors when exact R parity is required.
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": {
"outcome": "<outcome>",
"time": "<time>",
"unit": "<unit>"
},
"name": "synth"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| time | Yes | Period column. | |
| unit | Yes | Unit column. | |
| detail | No | Payload depth; agent is the fullest. | agent |
| method | No | classic | |
| data_id | No | Data handle (d_...) from load_data; replaces data_path. | |
| outcome | Yes | Outcome column. | |
| placebo | No | In-space placebo inference. | |
| 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 | No | Handle of an earlier fit made with as_handle=true. | |
| treatment | No | 0/1 column, method='staggered' only. | |
| covariates | No | Predictor columns matched on. | |
| data_records | No | Small inline table as row objects. | |
| treated_unit | No | Value of unit that is treated. | |
| treatment_time | No | First treated period. | |
| max_output_bytes | No | Result byte budget (default 262144; 0 = none). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||