Abstract
The problem of multiple hypothesis testing arises when there are more than one hypothesis to be tested simultaneously for statistical significance. This is a very common situation in many data mining applications. For instance, assessing simultaneously the significance of all frequent itemsets of a single dataset entails a host of hypothesis, one for each itemset. A multiple hypothesis testing method is needed to control the number of false positives (Type I error). Our contribution in this paper is to extend the multiple hypothesis framework to be used with a generic data mining algorithm. We provide a method that provably controls the family-wise error rate (FWER, the probability of at least one false positive) in the strong sense. We evaluate the performance of our solution on both real and generated data. The results show that our method controls the FWER while maintaining the power of the test.
Introduction
In data mining, the search for "interesting" patterns—such as frequent itemsets in market basket analysis or recurring subgraphs in chemical databases—is a fundamental task. However, this search often falls into a statistical trap known as the multiple hypothesis testing problem.
When testing a single hypothesis at a 5% significance level, there is a 5% chance of a false positive. However, if an algorithm generates thousands of patterns and tests them all individually, it is almost certain to identify numerous "significant" patterns that are merely artifacts of random noise. Traditional statistical corrections, such as the Bonferroni correction, are often impractical for data mining because they require knowing the total number of possible hypotheses in advance, which can be exponentially large. This paper proposes a framework to control these false positives (Type I errors) for any generic data mining algorithm, regardless of the complexity of the patterns discovered.
Multiple Hypothesis Testing Framework
To understand the challenge, consider the outcomes of testing $m$ hypotheses simultaneously. The goal is to control the number of false positives ($V$), where a true null hypothesis is incorrectly declared significant.
The framework focuses on controlling the Family-Wise Error Rate (FWER), defined as the probability of making at least one Type I error ($P(V \ge 1)$). The authors aim for "strong control," meaning the FWER is maintained below a threshold $\alpha$ regardless of which null hypotheses are true or false.
Methodology
The proposed approach utilizes randomization testing to assess significance without making restrictive assumptions about the data distribution:
- Null Hypothesis Generation: The original dataset is randomized $n$ times, preserving specific structural properties (e.g., row and column margins) to create a baseline for random noise.
- Algorithm Execution: The data mining algorithm is run on both the original and the $n$ randomized datasets.
- Empirical $p$-values: The paper defines two calculation methods:
- Sample-based: Weights each randomized dataset equally.
- Pool-based: Weights every pattern found across all randomized datasets equally. The authors found sample-based $p$-values to be generally more powerful.
- Holm-Bonferroni Adjustment: A step-down procedure is applied to these $p$-values. This method is more powerful than the standard Bonferroni correction as it is less likely to miss genuine patterns while still providing strong FWER control.
- The minP-property: A crucial theoretical requirement identified by the authors. If an algorithm satisfies this property, FWER control is guaranteed. The paper provides a visual "minP-test" to verify this property in practice.
Experimental Evaluation
The method was evaluated on a variety of datasets, including synthetic multivariate Gaussian distributions and real-world data such as Paleo (fossil occurrences), Courses (enrollment data), Retail (market-basket data), and Compound (chemical subgraphs).
Key Results
- FWER Control: Across all experiments, the method successfully maintained the FWER below the user-defined threshold $\alpha$. Visual tests confirmed that empirical error rates rarely exceeded theoretical limits.
- Power Retention: Despite strict error control, the method remained "powerful," successfully identifying significant patterns in real-world datasets that stood out against randomized noise.
- Versatility: The framework proved effective across distinct mining tasks, including association rules, frequent itemsets, and frequent subgraphs, without requiring modifications to the underlying algorithms.
Conclusion
This research provides a robust, algorithm-agnostic framework for statistical validation in data mining. While the primary limitation is the computational cost of running algorithms multiple times (e.g., 1,000+ randomizations), the method offers a reliable way to handle dependencies between patterns—a common issue in data mining where patterns like "Bread + Milk" and "Bread + Milk + Eggs" are inherently correlated. Future work may explore extending this framework to control the False Discovery Rate (FDR), which could offer even greater statistical power for exploratory data analysis.
Summary updated