select.confidence_set()
Arch’s model confidence set on losses (one row per origin, one column per model).
Usage
select.confidence_set(
losses,
*,
size=0.1,
reps=1000,
block_size=None,
method="R",
bootstrap="stationary",
seed=0
)The call is arch.bootstrap.MCS(losses, size, reps, block_size, method, bootstrap, seed=seed).compute(). A single model is its own set. Models whose losses are identical at every origin cannot be told apart, and their loss differential has no variance, so arch’s statistic is not finite: the test runs on the first of each tied group, and every other member takes its inclusion and p-value (ties maps it to that first one; design D50). Any other failure of arch’s computation is a SelectError.