Computes the average difference between the number of upper and lower records of the cumulative sum of the sample values.
Useful links