A Generalized Fast Algorithm for BDS-Type Statistics - Mayer-Foulkes, David (Studies in nonlinear dynamics and econometrics, 2000)