test_interventions
Tests each intervention in a fitted model for statistical significance, identifying which ones can be removed to simplify the model.
Instructions
Test H₀: ω=0 for every non-structural intervention in a fitted model.
Runs a t-test on each free omega parameter of pulse, step, ramp, and similar interventions (cosine/sine harmonics and alter are structural and skipped by default). Identifies which interventions are non-significant and can be removed to simplify the model.
For interventions with a transfer function (delta ≠ 0), also computes a Wald joint test H₀: g = α·ω = 0.
Parameters
inp_path : path to a fitted .inp or .pre file alpha : significance level for classification (default 0.05)
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": {
"inp_path": "<inp_path>"
},
"name": "test_interventions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alpha | No | ||
| inp_path | Yes |