Implement statistics for three-way comparisons.