which shows that the classical runs test is based on a first-order (sign) autocorrelation quantity, hence
might fail to detect higher-order dependence. In order to improve on this, Dufour, Hallin and Mizera [37]
propose generalized runs tests for randomness, that are based on higher-order (sign) autocorrelations.