add compareProtocols and criterionNeymanPearson