TapCub is live — analytics, insights and live chat, free on one platform
Glossary

What is a spurious correlation? Causes and examples

A spurious (false) correlation is a real statistical association that does not reflect a direct relationship. Its three causes, a confounder, chance across many comparisons and shared trends, each with a worked analytics example and a checklist.

Chen Yu Reviewed by Sophia Bennett Also called false correlation Last updated Nov 29, 2026 Glossary

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

CauseWhat happensAnalytics exampleHow to check
Confounder (common cause)A third variable Z drives both X and YVisitors who chat convert more, but both chatting and buying are driven by how engaged the visitor already isPartial correlation, stratify by Z, or run an experiment
Chance across many comparisonsWith enough pairs tested, some correlate by luckScanning 40 segment × metric pairs and reporting the two that are "significant"Count the comparisons, correct α, replicate on new data
Shared trendTwo series that both grow (or both fall) over time correlateWeekly blog visitors and weekly support chats both rise as the business growsCorrelate 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.

Week123456789101112
Blog visitors1,2001,2601,3101,2901,3801,4501,4301,5201,5801,5601,6501,700
Support chats310318335329340362371368390401397420
  • 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

TermIs there a real statistical association?Where the error isExample
Spurious correlationYes, in the dataInterpreting it as a direct relationshipChat and purchase value, driven by visit count
Illusory correlationNo, or much weaker than believedHuman perception and memoryBelieving support complaints spike every Monday because a few memorable ones did
ConfoundingYes, the effect estimate is biasedA common cause is not controlledThe mechanism behind cause 1
Simpson's paradoxYes, but it reverses when split by groupsAggregating across groups of different sizeA 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

  1. Name the plausible common causes (engagement, traffic source, device, season, plan size) before looking at results.
  2. 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.
  3. Difference time series: if the levels correlate but the period-to-period changes do not, it is a shared trend.
  4. Count your comparisons and correct α, or replicate on a fresh time window.
  5. 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.
  6. 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:

  1. 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.
  2. 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.
  3. Separate trends from relationships. Mark campaigns and releases in Configuration › Annotations, and compare period-over-period changes rather than two rising lines.
  4. 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

Was this explanation clear?

We use your answers to fix and expand this page.

Chen Yu

Technical Engineer

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

FAQ

Questions people ask

Short answers to the follow-up questions that come up most.

Still have a question?

Chat with the team behind TapCub — we usually reply within a few hours on business days.

What is an example of a spurious correlation?

Yule's 1926 example: from 1866 to 1911, the share of Church of England marriages and the standardized death rate in England and Wales correlated at +0.9512, simply because both declined over the same years. In web data, chat use and purchase value often correlate because engaged visitors do both.

What causes a spurious correlation?

Three things: a confounder that drives both variables, chance when many pairs are tested (40 unrelated tests at 5% give at least one false hit 87% of the time), and shared trends in time series, where two growing series correlate even though their changes do not.

Is a spurious correlation the same as an illusory correlation?

No. A spurious correlation exists in the data but is misinterpreted. An illusory correlation is a relationship people believe they see that is absent or much weaker in the data, usually because memorable cases stand out.

How do you know if a correlation is spurious?

Hold plausible confounders constant with partial correlation or stratification, correlate period-to-period changes instead of levels, count how many comparisons you made, check that the cause comes before the effect, and when the decision matters, run a randomized experiment.

See this number on your own site

Add one script tag for web and apps, and the first reports fill in within minutes.

See your data clearly. Find your growth.

Every click, backed by data. Install one line of code and see your first numbers in a minute.

No credit card · Free plans for analytics and chat · Cookieless analytics