Implement a more accurate test for error rate significance.