McMillan degree by a sequential rank test on the autocovariance Hankel
Source:R/low_level.R
hankel_rank_order.RdRobin & Smith's (2000) characteristic-root statistic with the weighted chi-squared null evaluated by Imhof's exact inversion; tests ranks r = 0, 1, ... and stops at the first non-rejection, at a level that vanishes with the sample size (consistent by Hosoya's condition).