Point b: computations for the walt statistic