The order minimizing one criterion.
- Parameters:
criterion (str) – One of "aic", "bic", "hqic", "fpe".
- Return type:
int
- Returns:
The selected order. Ties break toward the shorter order, which is
the conservative direction.
- Raises:
SpecificationError – If the criterion is not recognized.