Testing Self-Similarity of Stochastic Processes