Before revision: Counting the number of local extrema of the cumulative sum of data points yields the R-test, a new single-sample non-parametric test.
After revision: A new family of nonparametric statistics, the r-statistics, is introduced. It consists of counting the number of records of local extrema of the cumulative sum of data points yields the R-test, a new single-sample non-parametric test.