spec_curve
Enumerates defensible model-choice combinations, runs every specification, and returns sign and magnitude distributions so agents can report robustness across a researcher-degree-of-freedom multiverse.
Instructions
Specification-curve analysis (Simonsohn et al. 2020): enumerates every combination of model choices the user declares defensible, runs them all, and returns the sign/magnitude distribution. Use when an agent needs to report robustness across a researcher-degree-of-freedom multiverse. Validation: validated evidence tier (known-truth, reference, external-parity, or Monte Carlo artifact).
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": {
"x": "<x>",
"y": "<y>"
},
"name": "spec_curve"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | Focal regressor (treatment) column. | |
| y | Yes | Outcome column. | |
| alpha | No | ||
| detail | No | Payload depth; agent is the fullest. | agent |
| data_id | No | Data handle (d_...) from load_data; replaces data_path. | |
| controls | No | The multiverse of control sets: a list of control-column lists, one per specification. | |
| data_csv | No | Small inline table as CSV text. | |
| se_types | No | Standard-error flavours to sweep (e.g. 'classical', 'hc1', 'cluster'). | |
| 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. | |
| cluster_var | No | Cluster column for clustered SEs. | |
| data_records | No | Small inline table as row objects. | |
| max_output_bytes | No | Result byte budget (default 262144; 0 = none). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||