THE WORLD OF DR. BAYESA WORK IN PROBABILITY · EST. 2026
EPISODE 039 · THE CONFERENCE ROOM

The Ghost in the Data

A halo effect with an email address. A marketer claims the AI campaign has a mysterious halo effect on sales. Dr. Bayes asks what else happens on the days it runs.

ConfoundingOmitted variablesCausal inference
THE COMICTap any panel to open it at full size
Episode 039 of the Dr. Bayes comic, “The Ghost in the Data”: A marketer claims the AI campaign has a mysterious halo effect on sales. Dr. Bayes asks what else happens on the days it runs. The full dialogue is in the transcript below.
01 / 04Panel 1 of 4 from Episode 039, “The Ghost in the Data”
02 / 04Panel 2 of 4 from Episode 039, “The Ghost in the Data”
03 / 04Panel 3 of 4 from Episode 039, “The Ghost in the Data”
04 / 04Panel 4 of 4 from Episode 039, “The Ghost in the Data”
A NOTE FOR CURIOUS MINDS

Behind the joke.

Each of the three sales spikes lines up with an AI campaign, and with a 20%-off email sent the same morning. A model that only knows about the campaign has no choice but to give it the email's credit too: omitted-variable bias. Adding the email to the model is the first step, but when the two always happen together, even a better model can't separate them, because the data contain no day with one and not the other. The convincing test is to run the campaign without the email (or the email without the campaign) and see which spike survives.

SPEECH BUBBLES, IN WORDS

The transcript.

For readers who prefer dialogue without zooming in.

Read the dialogue ↘

Marketer: Our AI campaign has a mysterious halo effect. Every time it runs, sales jump.

Dr. Bayes: Extraordinary.

Dr. Bayes: What else happens when the campaign runs?

Marketer: Nothing unusual.

Dr. Bayes: No promotions? Pricing changes? Email?

Marketer: Well... we do send the 20%-off email the same morning.

Dr. Bayes: And that wasn't in the model?

Marketer: ...No.

Dr. Bayes: Extraordinary. Most ghosts disappear when you add the variable you forgot.