Standalone statistical test functions.