Quick answer
A spurious correlation, or false correlation, is a statistical association between two variables that does not come from a direct relationship between them but from a third variable driving both, chance among many comparisons, or a trend both share over time.
Formula: Partial correlation r_xy·z = (r_xy − r_xz·r_yz) ÷ √((1 − r_xz²)(1 − r_yz²))
What is a spurious (false) correlation?
A spurious correlation, often called a false correlation, is a statistical association between two variables that does not reflect a direct relationship between them. The numbers really do move together, but because of something else: a third variable that drives both, plain chance among many comparisons, or a trend that both series share over time. Remove that cause and most of the correlation disappears.
The term goes back to Karl Pearson, who in 1897 used it for correlations created when two ratios share the same denominator. G. Udny Yule's 1926 paper on "nonsense-correlations" made the time-series version famous: the share of Church of England marriages in England and Wales and the standardized death rate, 1866 to 1911, correlated at +0.9512, though neither had anything to do with the other. Both simply declined over the same decades.
A spurious correlation is not a calculation error. The correlation coefficient is computed correctly. The mistake is in the interpretation.
The three causes of spurious correlation
| Cause | What happens | Analytics example | How to check |
|---|---|---|---|
| Confounder (common cause) | A third variable Z drives both X and Y | Visitors who chat convert more, but both chatting and buying are driven by how engaged the visitor already is | Partial correlation, stratify by Z, or run an experiment |
| Chance across many comparisons | With enough pairs tested, some correlate by luck | Scanning 40 segment × metric pairs and reporting the two that are "significant" | Count the comparisons, correct α, replicate on new data |
| Shared trend | Two series that both grow (or both fall) over time correlate | Weekly blog visitors and weekly support chats both rise as the business grows | Correlate period-to-period changes, not levels |
Each cause gets a worked example below.
Cause 1: a confounder, removed with partial correlation
The first-order partial correlation measures the correlation between X and Y after removing the linear effect of Z:
r_xy·z = (r_xy − r_xz × r_yz) ÷ √((1 − r_xz²)(1 − r_yz²))
Sample data: across 500 visitors, the number of chat messages a visitor sent (X) and the value of what they bought (Y) correlate at r_xy = 0.62. The team wants to credit chat. But the number of visits each person made (Z) correlates with chatting at r_xz = 0.70 and with purchase value at r_yz = 0.75.
- Numerator: 0.62 − 0.70 × 0.75 = 0.62 − 0.525 = 0.095
- Denominator: √((1 − 0.49)(1 − 0.5625)) = √(0.51 × 0.4375) = √0.2231 = 0.472
- r_xy·z = 0.095 ÷ 0.472 = 0.20
Once visit count is held constant, the association drops from 0.62 to 0.20. Most of the original correlation came from engaged, returning visitors doing both things. A confounding variable does not have to be exotic; in web data it is usually engagement, traffic source or device.
Cause 2: chance across many comparisons
If you test 40 pairs of variables that are truly unrelated, each at α = 0.05:
- Expected number of false "significant" correlations: 40 × 0.05 = 2
- Probability of at least one: 1 − 0.95⁴⁰ = 87.1%
So a dashboard that slices conversion by 8 segments and 5 metrics will almost always show some striking correlation, even in random data. The rule: report how many comparisons you looked at, and treat any single hit as a hypothesis to retest on a new period, not as a finding. The same logic drives p-hacking and the Bonferroni correction.
Cause 3: shared trends in time series
Sample data: 12 weeks of blog visitors and support chats for a growing site.
| Week | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Blog visitors | 1,200 | 1,260 | 1,310 | 1,290 | 1,380 | 1,450 | 1,430 | 1,520 | 1,580 | 1,560 | 1,650 | 1,700 |
| Support chats | 310 | 318 | 335 | 329 | 340 | 362 | 371 | 368 | 390 | 401 | 397 | 420 |
- Correlation of the weekly levels: r = 0.98
- Correlation of the week-over-week changes (11 differences): r = 0.09
The levels look tightly linked; the changes are unrelated. Both series ride the same growth, which is exactly Yule's 1926 point. Granger and Newbold (1974) showed the same problem for regressions on trending economic series. The fix is to correlate differences or growth rates, or to include time as a variable, before reading anything into the relationship.
Spurious correlation vs illusory correlation vs confounding
| Term | Is there a real statistical association? | Where the error is | Example |
|---|---|---|---|
| Spurious correlation | Yes, in the data | Interpreting it as a direct relationship | Chat and purchase value, driven by visit count |
| Illusory correlation | No, or much weaker than believed | Human perception and memory | Believing support complaints spike every Monday because a few memorable ones did |
| Confounding | Yes, the effect estimate is biased | A common cause is not controlled | The mechanism behind cause 1 |
| Simpson's paradox | Yes, but it reverses when split by groups | Aggregating across groups of different size | A landing page that wins overall but loses in every channel |
Confounding is the most common route to a spurious correlation, but not the only one: chance and shared trends produce spurious correlations with no confounder at all. For the wider question of when a correlation can be read as cause, see correlation vs causation.
How to check whether a correlation is spurious
- Name the plausible common causes (engagement, traffic source, device, season, plan size) before looking at results.
- Hold each one constant: compute the partial correlation, or compare within strata such as returning visitors only. If the correlation collapses, it was mostly the confounder.
- Difference time series: if the levels correlate but the period-to-period changes do not, it is a shared trend.
- Count your comparisons and correct α, or replicate on a fresh time window.
- Look for a mechanism and a time order: X must happen before Y and there must be a way for it to act on Y.
- When the decision matters, run an experiment: randomization breaks every confounder at once.
Spurious correlations in TapCub data
TapCub only measures; it cannot tell you whether a relationship is causal. Here is how the chat example above plays out in it:
- Read the raw comparison as a correlation. Live chat › Reports › Conversion attribution compares the goal conversion rate of visitors who chatted with visitors who browsed without chatting, and reports relative lift as the chatted rate divided by the no-chat rate, minus 1. When fewer than 30 visitors chatted, the page warns that the sample is too small. Even with a large sample, this lift includes the engagement confounder.
- Build a fairer baseline. In All-platform analytics › Behavior › Behavior analysis, add the Engaged filter (sessions of at least 10 seconds, at least 2 pages or a key event) and read goal conversion for engaged visitors. Comparing chatters with engaged visitors, rather than with everyone, removes part of the engagement effect.
- Separate trends from relationships. Mark campaigns and releases in Configuration › Annotations, and compare period-over-period changes rather than two rising lines.
- Be careful with many slices. The AI Assistant's change attribution in All-platform analytics › Operations › AI Assistant splits a change across channel, referrer domain, country, device and landing page. With that many slices, a large swing in one small slice is the place to look first, not proof of a cause.
Sources
- Pearson, K. (1897). On a form of spurious correlation which may arise when indices are used in the measurement of organs. Proceedings of the Royal Society of London, 60, 489–498.
- Yule, G. U. (1926). Why do we sometimes get nonsense-correlations between time-series? Journal of the Royal Statistical Society, 89(1), 1–63.
- Granger, C. W. J., and Newbold, P. (1974). Spurious regressions in econometrics. Journal of Econometrics, 2(2), 111–120.
- NIST Dataplot Reference Manual, Partial Correlation (formula used in the confounder example).
Was this explanation clear?
We use your answers to fix and expand this page.
Couldn’t send. Please try again in a minute.
Thanks for the feedback. We’ll use it to improve this page.You’ve already sent feedback on this page. Thanks.

Technical Engineer
Focuses on tracking code, SDKs, and API integrations, with practical guidance on implementation checks and troubleshooting.