canonical_analysis
Orders combinations of transformed time-series levels from least to most predictable, revealing stable relations versus common growth to guide joint VARMA identification after differencing.
Instructions
N1b — Box and Tiao's (1977) canonical analysis of the transformed LEVELS
(each series' Box-Cox and seasonal differences; NOT its regular ones):
the combinations of the series ordered from least to most predictable.
Nearly white ones are relations among the series that stay stable over
time; nearly non-stationary ones (sqrt(lam) >= near, the scale of a
root: for an AR(1) component lam = phi^2) their common growth.
When two or more series are differenced and fewer components look
non-stationary, the joint model may not need every difference — the
question of cointegration, which N1c asks (prepare_vec) and C1 answers
(rank_test, by parametric bootstrap on drvec); this reading is not a
test, and sima never changes a d on its own. p is the VAR order (0: the
last significant M(l) of Tiao and Box's stepwise table on the levels). Run
it after the gate, before the identification, when two or more series are
differenced; with raw data (load_data, characterize), right after
characterize, on the characterization's levels.
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": {
"name": "<name>"
},
"name": "canonical_analysis"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| p | No | ||
| name | Yes | ||
| near | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |