01 / 21

Common Statistical
Pitfalls

Learn to recognize and avoid the most dangerous traps in data analysis: multiple comparisons, data snooping, and misinterpretation of results.

Business Statistics

Why Statistical Pitfalls Matter

In business, data-driven decisions can lead to massive gains or catastrophic losses. Statistical pitfalls cause false conclusions that waste resources, mislead stakeholders, and erode trust in analytics.

The Three Core Pitfalls

Multiple Comparisons
Testing many hypotheses at once inflates the chance of finding a "significant" result by pure luck.
Data Snooping
Exploring data first, then forming hypotheses that fit the patterns you already observed.
Misinterpretation
Confusing correlation with causation, misreading \( p \)-values, or ignoring effect size.

Recall: The \( p \)-value

A \( p \)-value is the probability of observing data at least as extreme as what you got, assuming the null hypothesis \( H_0 \) is true.

The Multiple Comparisons Problem

When you run \( m \) independent tests at \( \alpha = 0.05 \), the probability of getting at least one false positive is:

0% 25% 50% 75% 100% 1 5 10 20 40 60 Number of tests (m) 5% 23% 40% 64%

The Bonferroni Correction

The simplest fix for multiple comparisons: divide your significance level by the number of tests. This controls the family-wise error rate (FWER).

What Is Data Snooping?

Data snooping (also called data dredging or p-hacking) occurs when you explore a dataset, find a pattern, and then test that same pattern on the same data as if it were a pre-planned hypothesis.

Explore Data Find pattern Form Hypothesis After seeing data Test on Same Data ✕ Invalid! Circular reasoning

Exploratory vs. Confirmatory Analysis

Exploratory (EDA) Confirmatory (CDA)
Goal Generate hypotheses Test hypotheses
Data Training / discovery set Fresh holdout set
\( p \)-values Not meaningful Valid and interpretable
Outcome Interesting patterns to test Evidence for/against \( H_0 \)
Risk Overfitting if used for decisions Missing effects if underpowered

Common Misinterpretations

\( p \)-value ≠ probability \( H_0 \) is true
\( p = 0.03 \) does not mean "3% chance the null is true." It means: given \( H_0 \), the data is this unlikely.
Significance ≠ Importance
A large sample can make a tiny effect "statistically significant." Always check the effect size.
Correlation ≠ Causation
Two variables moving together does not prove one causes the other. Confounders and reverse causation exist.

How to Avoid These Pitfalls

1
Pre-register your hypotheses. Write down what you plan to test before collecting or analyzing data.
2
Correct for multiple tests. Use Bonferroni, Holm, or FDR adjustments when running multiple comparisons.
3
Split your data. Use one portion for exploration and a fresh holdout for confirmation.
4
Report effect sizes, not just \( p \)-values. Confidence intervals tell you how big and how uncertain the effect is.
5
Replicate. The strongest evidence comes from independent replication on new data.

Example 1: Marketing Campaign

A marketing team tests 20 different ad variations and finds that one has \( p = 0.03 \). They declare it the winner. Is this valid?

Example 2: Ice Cream & Drowning

Data shows a strong positive correlation (\( r = 0.87 \)) between ice cream sales and drowning deaths. A report concludes: "Ice cream causes drowning."

Ice Cream Drowning r = 0.87 (spurious) Hot Weather (confounder) Both are caused by the confounder, not by each other

Example 3: Huge Sample, Tiny Effect

A company surveys 500,000 customers and finds that Feature X increases satisfaction scores by 0.02 points on a 10-point scale (\( p = 0.001 \)). The CEO calls it a breakthrough.

Statistical Significance
\( p = 0.001 \): Yes, the effect is unlikely due to chance alone.
Practical Significance
Effect size \( d = 0.003 \): The effect is negligible. Not worth the investment.

Beyond Bonferroni: False Discovery Rate

The Benjamini-Hochberg procedure controls the False Discovery Rate (FDR): the expected proportion of false positives among all rejected hypotheses. It is less conservative than Bonferroni.

1
Rank all \( m \) \( p \)-values from smallest to largest: \( p_{(1)} \leq p_{(2)} \leq \ldots \leq p_{(m)} \).
2
Find the largest \( k \) such that \( p_{(k)} \leq \frac{k}{m} \cdot \alpha \).
3
Reject all hypotheses \( H_{(1)}, H_{(2)}, \ldots, H_{(k)} \).

Common Mistakes to Avoid

✕ Not Correcting
Running dozens of tests and reporting only the "significant" ones without any multiple-comparison adjustment.
✕ HARKing
Hypothesizing After Results are Known: presenting exploratory findings as if they were planned confirmatory tests.
✕ Ignoring Effect Size
Focusing only on \( p < 0.05 \) without asking: "Is this effect large enough to matter in practice?"

Pitfall Summary Table

Pitfall What Goes Wrong How to Fix It
Multiple Comparisons False positives inflate with more tests Bonferroni, FDR correction
Data Snooping Hypothesis formed from the same data used to test it Pre-register; split data
Correlation ≠ Causation Confounders create spurious associations Controlled experiments; DAGs
Ignoring Effect Size Trivial effects appear "significant" with large \( n \) Report Cohen's \( d \), CI
\( p \)-value Misreading Treating \( p \) as probability \( H_0 \) is true Understand definition; use Bayesian reasoning

Question 1 of 5

A researcher tests 40 different supplements for their effect on memory, each at \( \alpha = 0.05 \). Two supplements show \( p < 0.05 \). What should the researcher do?

Question 2 of 5

A data analyst explores sales data, notices that Tuesday sales are higher than other days, then runs a hypothesis test on the same data and gets \( p = 0.02 \). This is an example of:

Question 3 of 5

A study with \( n = 1{,}000{,}000 \) finds that a new layout increases average time on site by 0.3 seconds (\( p < 0.001 \)). Which statement best describes this result?

Question 4 of 5

Using the Bonferroni correction, if you conduct 10 hypothesis tests at a family-wise \( \alpha = 0.05 \), what is the adjusted significance level for each individual test?

Question 5 of 5

A report states: "Since \( p = 0.04 \), there is a 96% probability that the alternative hypothesis is true." This statement is: