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)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alpha | No | ||
| inp_path | Yes |