Asymptotics for statistical functionals of long-memory sequences