Published on

Conspiracy Theories Part 2: The Math

Authors

A Mathematical Proof of Why Conspiracy Theories Work

In this post, I’m going to work through the examples from the previous post from a Bayesian perspective. This post will include some simple math and probability, and assumes no prior knowledge of Bayesian Statistics. In fact, this post should be a gentle introduction to hypothesis testing in Bayesian Statistics, and through these examples I hope to illustrate why Bayesian is an intuitive and useful way to think about the world.

This post is meant to be read in conjunction with Part 1. Part 1 contains more discussion about the examples, the implications, and how they apply to conspiracy theories.

How do we compare two possibilities?

Let’s say you’ve gathered some data, and you have two competing views that could explain that data. How do you then decide which one to believe? How strong should your belief be?

Let’s start by asking three clever but simple questions.

  1. What is your belief between the two hypotheses before seeing the data?
  2. If the first hypothesis is true, how likely is it that you observed your data?
  3. If the second hypothesis is true, how likely is it that you observed your data?

Recall that in the first example of Part 1, we are trying to determine if Gary has suddenly become the Sultan of Strikes. So, we are going to compare two hypotheses:

A) Gary is still Ordinary Gary, and throws a strike 1/10th of the time.
B) Gary is now the Bowling Boss, and throws a strike every time.

For simplicity, we are only going to consider these two possibilities for now, and ignore a possibility where Gary got better, but is not 100%. Bayesian applies to that situation too, but that’s beyond the scope of this article.

Moderate Prior

Let’s start with the moderate skepticism case from Part 1. You think there’s only a 10% chance that Gary is now the Ace of the Alley. We then gather some data, and Gary throws 3 strikes in a row. Given that starting point, let’s see the three questions in action.

1) What is your prior belief?

You think there’s a 10% chance that Gary is the Bey of Bowling. In other words, the ratio of you belief that Gary is Great (B) to Gary is Garden-variety (A) is 110\frac{1}{10}. We can write this as:

P(B)P(A)=.1\frac{P(B)}{P(A)} = .1

In plain English, this equation says, “I believe that hypothesis B is 1/10 as likely than hypothesis A," or more formally, "The ratio of the probability of hypothesis B to the probability of hypothesis A equals 10%.”

2) If the first hypothesis is true, how likely is it that you observed your data?

We assume hypothesis A is true, that Gary throws strikes 110\frac{1}{10} of the time. Thus, the chance of getting 3 strikes in a row is:

P(DA)=1103=.001P(D | A) = \frac{1}{10}^3 = .001

In English: “The probability of seeing the data, 3 strikes in a row, given that hypothesis A is true.”

3) If the second hypothesis is true, how likely is it that you observed your data?

We assume hypothesis B is true, that Gary only throws strikes. Thus, the probability of seeing three strikes in a row is 100%:

P(DB)=111=1P(D | B) = 1*1*1 = 1

In English: “The probability of the data, 3 strikes in a row, given that hypothesis B is true.”

Questions 2, 3 are called conditional probabilities because they ask for a probability conditional on something (in this case, the hypotheses). The notation of P(A | B), meaning the probability of A given B, is core to Bayesian Statistics, and is worth thoroughly understanding.

Posterior Odds

So, how do we use these numbers? First, let’s take the ratio of the terms with the data:

P(DB)P(DA)\frac{P(D | B)}{P(D | A)}

Before we plug in some numbers, let's think about what this ratio means. If our data is more likely given hypothesis BB, then P(DB)P(D | B) will be larger, and the ratio will be larger. Likewise, if the data is more likely given hypothesis AA, the ratio will be smaller. Thus, this ratio tells us which hypothesis explains the data better. This ratio is both simple and extremely important. It is called the Bayes Factor.

With our numbers from above:

P(DB)P(DA)=1.001=1000\frac{P(D | B)}{P(D | A)} = \frac{1}{.001} = 1000

Now, let's multiply our prior odds times this Bayes Factor:

PriorOddsBayesFactor=P(B)P(A)P(DB)P(DA)=.11.001=100Prior Odds * Bayes Factor = \frac{P(B)}{P(A)} * \frac{P(D | B)}{P(D | A)} = .1 * \frac{1}{.001} = 100

What does this number mean? The 100 is our posterior odds. It quantifies how much we should believe in one hypothesis over another. It combines our prior belief, via the prior odds, and the amount that the data should sway us, via the Bayes Factor, into a single, convenient number.

A good general rule of thumb is that a posterior over 20 is good evidence, and over 150 is overwhelming evidence. With a result of 100, it looks like we’re on to something here, and one more strike would show overwhelming evidence. At this point, given your prior belief, you should be open to thinking that Gary might be telling the truth.

Extreme Prior

But, you say, “that’s ridiculous!” You still don’t believe. That means that your prior was actually smaller than 10%. Let’s walk through the extreme skepticism case from Part 1 to show the power of the prior. Let’s say that you believe there’s only a 1 in a million chance that Gary is telling the truth. So, with Gary’s three strikes, we have:

P(B)P(A)=106\frac{P(B)}{P(A)} = 10^{-6}
P(DA)=(1/10)3=.001P(D | A) = (1/10)^3 = .001
P(DB)=111=1P(D | B) = 1*1*1 = 1

Posterior=1061.001=.001Posterior = 10^{-6} * \frac{1}{.001} = .001

A posterior of .001 is not at all convincing: Gary is going to have to show a lot more evidence to convince us. So, we ask Gary to bowl some more. He proceeds to throw another 7 strikes, for a total of 10 in a row!

P(B)P(A)=106\frac{P(B)}{P(A)} = 10^{-6}
P(DA)=(1/10)10=1010P(D | A) = (1/10)^10 = 10^{-10} -> 10 strikes are extraordinarily unlikely, given hypothesis A.
P(DB)=111=1P(D | B) = 1*1*1 = 1

Posterior=10611010=104Posterior = 10^{-6} * \frac{1}{10^{-10}} = 10^4

Now we can say that it’s very likely that Gary is telling the truth, to our amazement.

Take a moment to think about this example from your perspective. How many strikes would you need to see to be convinced? What does that imply about your prior belief?

Beliefs that Never Change

In this section, we’ll go through the two examples from Part 1 where the prior is so strong, that data is irrelevant.

Prior of 0

Let’s say you think there’s no chance that Gary is now the Bowling Boss. We can represent that here as a prior of 0, meaning that you believe there is a 0% chance that Gary now only throws strikes.

P(B)P(A)=0\frac{P(B)}{P(A)} = 0
P(DA)P(D | A) -> irrelevant
P(DB)P(D | B) -> irrelevant

Posterior=0P(DB)P(DA)=0Posterior = 0 * \frac{P(D | B)}{P(D | A)} = 0

Since the prior is 0, both P(DA)P(D | A) and P(DB)P(D | B) are irrelevant. Since these are the only two places that the data can influence, the data itself is irrelevant. In other words, no amount of data will change your mind.

Prior of Infinity

This is the corollary to the prior of 0. You believe without a shred of doubt that Gary is the Bey of Bowling.

P(B)P(A)=\frac{P(B)}{P(A)} = \infin
P(DA)P(D | A) -> irrelevant
P(DB)P(D | B) -> irrelevant

Posterior=P(DB)P(DA)=Posterior = \infin * \frac{P(D | B)}{P(D | A)} = \infin

Again, no amount of data will change your mind.1

Cheating

In this example, I’m going to illustrate how Bayesian statistics can explain the situation from Part 1 where data does not convince someone even though their prior is not infinity or 0. Let’s revisit our extreme skepticism example. We have a prior of 1 in a million, but Gary threw 10 strikes in a row.

Posterior=10611010=104Posterior = 10^{-6} * \frac{1}{10^{-10}} = 10^4

Even though we have a prior of 1 in a million, this is still overwhelming evidence. So, we can probably discard hypothesis A. It’s time for a third hypothesis, C, that Gary is cheating. Under the cheating theory, Gary can create any result he wants. Something interesting happens when we compare B and C.

P(DB)P(D | B) -> The probability of seeing the data that consists only of strikes, given that Gary only throws strikes, is 1.
P(DC)P(D | C) -> The probability of seeing the data given that Gary is cheating is 1, since he can create any result he wants.

We are left with:

prior11=posteriorprior * \frac{1}{1} = posterior

or

prior=posteriorprior = posterior

Your posterior belief is always going to be your prior belief, whatever that was. The data is irrelevant.

The Data is a Conspiracy

Let’s work through the full example from The Data is a Conspiracy from Part 1. Recall that we are illustrating a situation where more supporting data will actually convince you, not that Gary is now Gary the Great, but that he’s cheating. This situation is crazy on it's surface, because data that seems to show one thing, actually convinces us of something else. As discussed in Part 1, this situation is analogous to any number of conspiracy theories.

We are going to change hypothesis B slightly. Now, Gary only claims that he can throw a strike 90% of the time. The logic still works if you keep the original hypothesis B and Gary misses at least once, but having a probability here illustrates the point more clearly. I’ll leave it up to you to show why a miss when Gary claims to only throw strikes supports the theory that he is cheating.

Initial Data

Let’s say Gary throws 9 strikes in 10 tries. Here’s the comparison of A, B, with extreme initial skepticism. Don't get too lost in the numbers, the actual values aren't as important as comparing them at the end.

P(B)P(A)>106\frac{P(B)}{P(A)} -> 10^{-6}
P(DA)=110109101=9e11P(D | A) = \frac{1}{10}^{10} * \frac{9}{10}^1 = 9e-11
P(DB)=910101101=.035P(D | B) = \frac{9}{10}^{10} * \frac{1}{10}^1 = .035

PosteriorBvsA=106.0359e11=387Posterior B vs A= 10^{-6} * \frac{.035}{9e-11} = 387

As you can see, the evidence is overwhelming in favor of B.

Now, let’s look at hypothesis C again, that Gary is cheating. If he is cheating, then he can create any result he wants.

P(BP(C=106\frac{P(B}{P(C} = 10^{-6}
P(DB)=.035P(D | B) = .035
P(DC)=1P(D | C) = 1

PosteriorBvsC=106.0351=3.5e8Posterior B vs C = 10^{-6} * \frac{.035}{1} = 3.5e-8

As you can see, we already think that it's extremely likely that Gary is cheating.

Add more data to the mix

Now let’s add more data. Let’s say Gary throws another 10 strikes and 1 miss, for a total of 20 strikes and 2 misses.

P(B)P(A)=106\frac{P(B)}{P(A)} = 10^{-6}
P(DA)>110209102=8e21P(D | A) -> \frac{1}{10}^{20} * \frac{9}{10}^2 = 8e-21
P(DB)>910201102=.0012P(D | B) -> \frac{9}{10}^{20} * \frac{1}{10}^2 = .0012

PosteriorBvsA=1.5e11Posterior B vs A = 1.5e11

Crazy, insanely overwhelming evidence for B vs A.

P(B)P(C)=106\frac{P(B)}{P(C)} = 10^{-6}
P(DB)>910201102=.0012P(D | B) -> \frac{9}{10}^{20} * \frac{1}{10}^2 = .0012
P(DC)>1P(D | C) -> 1

PosteriorBvsC=.1.00121=1.2e9Posterior B vs C= .1 * \frac{.0012}{1} = 1.2e-9

The additional data actually decreased our belief in B when compared to C (posteriors of 3.5e-8 vs. 1.2e-9)! The actual numbers don’t matter here, just that they are decreasing.

It's all a conspiracy

Something really interesting happened here. Gary wants us to believe in hypothesis B, that he is now the Ace of the Alley. Thinking that we are comparing hypothesis A and B, he has shown us more data in order to convince us. That data is objectively overwhelming. So he thinks, how can you not be convinced? But, we are actually comparing B against C, that he is cheating. When comparing B and C, the additional data made us more sure of C, and less sure of B. Evidence that Gary intended to show one thing has actually convinced us of something else!

As discussed in Part 1, the key point here is that we are comparing a hypothesis that depends on data (hypothesis B), with a hypothesis that does not depend on data, the cheating hypothesis. Essentially, you are comparing a hypothesis that has some doubt, however small, with one that has no doubt. The ratio of doubt to no doubt gets larger with more data, always. Thus, when you are trying to convince someone, you must understand what hypothesis they are comparing against yours. Are you trying to convince someone with data, when their hypothesis doesn’t depend on data?

Conclusion

In these posts, we learned about prior beliefs, theories that do and do not depend on data, and when data becomes irrelevant to an argument. I hope this info will help you to recognize situations where you or others hold unshakeable beliefs. In my humble opinion, there are far too many of those beliefs in our world. Our beliefs about most things in our lives are pretty fixed: relationships, how the world works, morality, religion, and politics to name a few. Many of those beliefs may be based on false or misleading assumptions. I think the world would be a happier, more sane place if we relied a little less on our preconceptions, and a little more on our observations of reality. So, if you enjoyed this post, try examining some of your own beliefs, and ask yourself, am I really willing to change them based on data?

Footnotes

  1. I’m trying to keep things simple, but a clever reader will notice that things would get hairy if P(DB)=0P(D | B) = 0. In this case, we would probably have to view the \infin as lim\lim \infin. Thus, if the data is truly impossible given hypothesis B, then we have to accept the posterior of 0, meaning that hypothesis A is correct. The other way we can view this situation, is by inverting everything to make the prior 0 instead of \infin, which is simpler to handle.