History of Bayes’ Theorem
Transcript
>> Thank you for that introduction and thank you all for coming today. As Professor Dersch said, I'm enrolled in the "History of Mathematics" seminar, and this was kind of my project for the class. So really, this is the culmination of just a couple of months of research on Bayes' theorem. I mostly just read some books, watched some YouTube videos to get most of the knowledge from here. So I'm by no means an expert on Bayes' theorem, but I've definitely learned a lot in the last couple months and definitely have something interesting to share with you guys. The first thing I just want to talk about is Bayes' theorem is really-- it's really becoming more of a big thing more recently. So Sharon Bertsch McGrayne, which is the author of one of the sources that I'm gonna be talking a little bit about today, when she first, wrote the book she said that she did a Google search for the word "Bayesian" and only received less than 100,000 results. That was back in, I believe, 2005, 2006, maybe. Then, later, I caught her on a talk on YouTube
where she said in 2010 or 2011, that she did a search for "Bayesian" and received over 11 million results. And I just did a Google search yesterday and I had 42 million results. So, Bayes' theorem is definitely something that's getting bigger and bigger, especially in the last couple decades. And as we'll see, throughout history, it was not always the most acceptable way to do statistics. So I mainly used three different sources. I read these three books here.
The first one is "The Theory that Would Not Die" by Sharon Bertsch McGrayne. I used this book mostly for the historical aspect of Bayes' theorem. And she talks about how it was developed and how it's been applied throughout history. Next, we have "Proving History" by Richard Carrier. He specifically applies Bayes' theorem to historical claims and claims of religion. And then, "Bayes' Rule" by James V. Stone. This book is used-- I used to learn more of the mathematics behind Bayes' rule and how to apply it with actual numbers. So this talk is gonna be split into four different parts. First, just an introduction. What is Bayes' theorem? How do we use it? Secondly, development of Bayes' theorem. Who created it and for what? Next, the use throughout history. And finally, application, where we'll actually use the theorem. If I have time, I'll give a quick proof of the theorem, and then we'll apply it with some actual numbers.
So part one, introduction to Bayes' theorem. So I thought a good way to just kind of introduce this was to give a couple of quotes from some people who've talked a little bit about Bayes' theorem. First, we have Alan Krueger, who was the Chair of President Obama's Council of Economic Advisers. He says that Bayes' theorem tells us, "How tightly we should hold on to our view "and how much we should update our view "based on the new information that's coming in. "We intuitively use Bayes' rule every day." And that's kind of what I've gotten a lot out of research is just that even if you aren't applying Bayes' rule with the mathematics all the time, it's kind of a way to reason and a way to be rational. But-- and you can also, if you can come up with probabilities, throw those in an equation and kind of quantify your beliefs in different things. Next, we have Sharon Bertsch McGrayne, author of "The Theory that Would Not Die."
She says, "We seem to be living in a dogmatic age "and Bayes tells us that it's all right "to start off with a half-baked idea about a situation. "The Reverend Thomas Bayes himself "said to begin with a 'guess' "and, in the absence of any information, "assign it 50-50 odds." As we'll see, that's gotten a lot of controversy throughout history. Then she says, "But then Bayes' rule commits us "to modifying our initial ideas every single time "a new piece of information appears. "And that unrelenting commitment to changing our minds "in the face of new knowledge appeals to me deeply." And then finally, we have John Maynard Keynes, who is an economist, who also dabbled a little bit into probability and mathematics. He says, "When the facts change, I change my opinion. "What do you do, sir?" So they're not specifically referencing Bayes' theorem, but definitely referencing Bayesian-type thinking. That when we have new information or new facts,
he's gonna change his hypothesis or change the way he views the world. So now, we might be wondering, "What is Bayes' theorem?" So just at the bare bones level, without actually showing you the actual equation yet, it takes our prior beliefs, and then adds to that are some recent objective evidence, or information, or data, and it allows us to come to a new and improved belief about the world, based on those two things. Sometimes, it's called the "probability of causes," or often, "inverse probability." That's because with Bayes' theorem, we're often times trying to go back to the original cause of some situation. So for example, you may have a particular set of symptoms, and those symptoms would be some data that you should be observing. And you might be interested in trying to figure out, "What was the cause of those symptoms?" Meaning, "What disease or sickness "originally caused those symptoms?"
I just wanna briefly talk about Bayesian versus Frequentist probability. This could be an entire lecture. These are two different ways of talking about probability in general. So if you were to take a statistics or probability class, usually, you would be thinking mostly in Frequentist probability. So if you do confidence intervals or hypothesis tests, those are mostly built on Frequentist principles. Meaning, thinking of probability as the long run frequency of events. So for example, if we were to flip a coin many, many times, we would expect that 50% of the time, we would have heads, and 50% of the time, we would have tails, as long as the coin was fair. Now, Bayesian probability isn't necessarily based on frequency. So sometimes, we don't have those frequencies and sometimes we have to base our probabilities, based on just some other data, or our background knowledge. It's thinking of probability more as what our beliefs are
and to what extent do we hold different beliefs, with what probabilities. And then, finally, Bayes' theorem is valid and, by that, I mean it is a valid way of reasoning. Meaning that, as long as the information that you throw into Bayes' theorem-- meaning the actual numbers-- are sound or are agreed upon, then that means the results of Bayes' theorem will also-- (mic cuts out) --elaborate that in a little bit. I do mean it in the philosophical sense so in the same sense as a valid syllogism, that which you might see in a philosophy 101 class.
For example, we could have premise one, that all men are mortal. Premise two, Socrates is a man. And therefore, from those two premises, the conclusion would follow that Socrates is mortal. Since Socrates is a man, and all men are mortal, he's part of that-- he's a subset of all of those men. Therefore, it follows that Socrates is also a mortal... or is mortal. So Bayes' theorem is the similar kind of logic to this. So you'll plug in numbers into the equation and then you'll get a conclusion.
It's kind of like this. And just for fun, I wanted to share an invalid syllogism. So premise one, all dogs love food. Secondly, Socrates loves food. Conclusion, Socrates is a dog. Can anyone see the problem in this syllogism? The problem obviously lies in that nowhere in the premise does it say that dogs are the only creatures that love food. Socrates could be a human, or a cat, or some other creature that also loves food. So therefore, this is not a valid syllogism.
So this is the type of reasoning that Bayes' theorem does not fall victim to. >> (indistinct). >> (chuckling) Could be a dog, too. Yeah, definitely could be. All right, so you might be wondering, then, "What are the premises of Bayes' theorem?" If we need to think of the premises, and make sure those are true when we're plugging them in, what are the premises? Well, there are three premises that you need to put into Bayes' theorem and three probabilities you need to be able to come up with. So the first one is the prior probability of the event or hypothesis. So just based on your background knowledge, how likely or how typical is this hypothesis? That's oftentimes the most difficult part to come up with. The next one is the likelihood of the hypothesis, under the evidence. Does this new piece of information that we've discovered fit my theory very well? So, if it fit it very well, we'd assign the likelihood to be a high probability. If it didn't fit my theory very, very well,
then we'd assign it a low probability. We also need to know the likelihood of all competing hypotheses, under the evidence. Does the new information fit an alternative theory better than my theory? And one common misconception is that those two likelihoods have to add up to 100%. They don't have to add up to 100%. They're not compliments, they're not actually related to each other. So just to give a quick example, just to see how we can define those premises without actually going through the actual mathematics. I just came up with a quick example about chicken pox. So these are not real numbers. I just made these up. First, the probability of getting chicken pox in a year, let's just say that's 3%. So that would be the prior probability of getting chicken pox. Just based on our background knowledge and the population, the probability of getting chicken pox is 3%. Secondly, the probability of chicken pox rash,
meaning the spots that you get when you have chicken pox, given that a patient has chicken pox, so let's say, that's 99%. So under the chicken pox hypothesis, assuming that someone did have chicken pox, we could expect 99% of the time we would see this rash. So maybe sometimes they don't actually show that rash. And then, also, we need the probability of chicken pox rash, given that the patient does not have chicken pox. And I put that at 0.01%. So maybe, for someone reason, someone who doesn't actually have chicken pox shows some spots on their skin that kinda look like chicken pox. And I'm saying that happens in the population about 0.01% of the time. So if you took those three premises, put 'em all through Bayes' theorem, then you would output the probability that a patient with the chicken pox rash actually has chicken pox. We would write that at 99.7%, given those three pieces of data.
Okay, so that ends part one. And now, we'll move on to the development of Bayes' theorem. So this is specifically how it was formulated and by who through history. So first, we'll talk about Thomas Bayes himself. Thomas Bayes lived in the 18th century, from 1702 to 1761. That picture that we have there on the right may or not actually be of Bayes. Some argue that it seems to be from maybe a later time period, that maybe they didn't dress that way in the 1700s. So we're not really sure if that's him or not, but nevertheless, that's the picture that we're left with for Bayes. So a mathy minister-- yes, so he was a minister. He was a Presbyterian minister, who was also very interested in mathematics. He only had one mathematical publication in his lifetime. And that was actually a defense of Newton's calculus after it had been attacked by George Berkeley. And actually, after he had defended Newton, the other supporters of Newton
voted him into the Royal Society of London, which was mostly a society for amateur mathematicians who are interested in discussing mathematics and putting up their own ideas. So he would bring his own ideas to that Royal Society. And Bayes' theorem was one of the ideas that he brought forward. So the biggest thing that stuck with Thomas Bayes was the idea of equal priors in the Bayes' analysis. Remember, one of the premises of Bayes' theorem was that you had to have a prior probability.
Well, Bayes would say, "Well, if you don't know the prior probability, "you can just make a guess." Or if you don't wanna guess, then you just assume there's a 50% chance of it being true and a 50% chance of being false. And lots of people thought this was not a good idea, and this was very subjective, and, "How could you bring this into mathematics?" But nevertheless, that was his idea. And basically, his reasoning was, "Bayes' theorem is kind of a process," something you will run many, many times. So as long as you keep filtering more and more information, that it won't really matter if your original prior probability was not, maybe, the most accurate. Eventually, it will be washed away with the new evidence.
So Bayes did not actually ever publish on Bayes' theorem. Like I said, he did discuss it with the Royal Society of London, but he never actually published his paper. Although, he did write about it. After he died, Richard Price, which was another minister, who was one of his friends, went through Bayes' papers, found Bayes' theorem, kind of worked on it a little bit more, and then he published it under Bayes' name. So he wasn't trying to plagiarize or try to take it as his own. But the difference was Richard Price specifically wanted to apply Bayes' theorem to the existence of God. So, he thought he could prove the existence of God using Bayes' theorem, which is not something that Thomas Bayes had done. And throughout history, other people have tried to apply it for the same thing, so there are some modern philosophers that, like, think they can apply it to the existence of God. And some people fight that, say that it proves God,
and some people say it doesn't prove God. I'm really not gonna go into too much detail on that, but just know that's one possible application of Bayes' theorem. So moving on to Pierre-Simon Laplace. So, Pierre-Simon Laplace was a-- who was Laplace? Laplace was also a mathematician. He was a physicist and an astronomer. He was much more-- much of a bigger name in mathematics than Bayes was. Bayes is really much a minor figure. And he's really only remembered for his theorem.
Laplace is remembered for so many different things, and Bayes' theorem is just one of those things. And it's probably-- definitely not the biggest thing he's remembered for. But nevertheless, he did do a lot of work on Bayes' theorem. So some claim it should be called Laplace's theorem instead of Bayes' theorem, because he did so much work on Bayes' theorem. Although, he was not a-- he was a little bit after Thomas Bayes. I think it was about 17 years after Bayes had originally written his paper, Laplace started thinking about it.
And Thomas who? So Laplace would not have known who Bayes was, at least initially, until later, Richard Price learned that Laplace was kind of working with something similar to Bayes' theorem. And then, he sent Bayes' paper to Laplace, which Laplace thought was interesting. And he kind of updated his own views, based on some things that Bayes had put forward. So Laplace, unlike-- Bayes didn't-- Bayes didn't really suggest where we should apply Bayes' theorem very much, besides his-- he had some idea of something kind of similar to playing pool, where you're throwing balls and you can try to figure out where the ball is on a table. But he never really gave any concrete applications of Bayes' theorem. Laplace actually used it a little bit. So he specifically used it-- I guess, the most controversial case where he used it was in court cases.
So he used Bayes' theorem to try to argue that there was a very high chance of wrongly accusing someone of a crime, especially in cases of capital punishment. So he argued a stance, which was pretty radical at the day, that we should abolish the death penalty, because there's a high probability of convicting someone wrongly, and we wouldn't wanna kill someone who is innocent. And of course, he'd get criticism for that because everyone gets criticism for using Bayes' rule. At least initially.
No one really liked it right away. Even Laplace himself, later in his life, he kinda stopped using Bayes' theorem and he moved on to more Frequentist methods. So it kind of mostly died with Laplace, and wasn't really taught in universities for the longest time. And it was kinda frowned upon by many statisticians for the longest time. Especially, people like Ronald Fisher, who was one of the main proponents of Frequentist probability, who developed most of the statistics that you would see today, if you took an Intro to Stats class. Most of the stuff we do in there is Ronald Fisher. And Ronald Fisher was, like, totally against Bayes' theorem, which really just helped to minimize it throughout history. But nevertheless, it was used many times throughout US history to solve some really unique problems. That moves us on to part three, where I'm gonna share three unique applications of Bayes' theorem throughout history. The first one is "The Federalist Papers."
So if you're not familiar with "The Federalist Papers"-- you probably heard of them-- they were a group of papers written by James Madison, Alexander Hamilton, and John Jay, in the 1700s, in order to promote the Constitution. They were initially anonymously written. And we were, later, able to discover who had written all of the papers except for 12, to which we had narrowed it down to either between Alexander Hamilton or James Madison. But the problem was, they had very similar writing styles.
It was really difficult to tell who had written those papers. We come to Frederick Mosteller, which recognized this problem. He was a statistician who worked at Harvard, who had previously worked on polling statistics. And he thought, "Well, maybe I can get give a shot "at this problem of these papers, "and maybe I can apply statistics and Bayes' theorem "to actually solve this problem." So the data. So he had access to 94,000 words that were definitely written by Alexander Hamilton, and 114,000 words that were definitely written by Madison.
And he was trying to analyze the word choice, hoping that one author would use certain words more than others. And he would ignore substantive words, such as things like "war," or "executive," or "legislator," because those words would change based on the subject, and either author could use those words. And he focused on other words, such as "in," "an," "of," "upon," or other context-free words. One of the big ones was that we knew that-- or he knew that Madison used the word "whilst" and Hamilton used the word "while." So that kind of helped him try to figure out who had used each one. So the process-- so initially, he would assign each of "The Federalist Papers" that we didn't know who had offered them, with a 50/50 chance of being written by Madison or Hamilton. So here comes the initial prior of 50% that Bayes had put forward. And then, he would update the probabilities in 30-word snippets. So he'd look at the first 30 words of the paper,
and he'd say, "Okay, what were the word choice "in these first 30 words?" It's like, "Oh, they used 'while,' "so then I'm gonna change my probability. "Now it's 51 and 49. "Now, let's analyze the next 30 words," then we'd update again, until he made it through the entire paper. And then, he'd have a final probability for each of the authors. So the equipment-- I thought this was pretty funny-- it was said that Mosteller was initially armed with a slide rule, a typewriter, a 10-key adding machine, and a calculator that could multiply and divide when he started working on "The Federalist Papers." This was back in the 1950s, and he quickly learned-- >> (indistinct)! (laughing) >> What's that? >> (indistinct). (all laughing) >> Yeah, still using slide rules apparently! But he quickly learned that this
was not gonna be enough to do the job. He worked at Harvard, which surprising at the time, did not own their own computers. So, he was able to get his hands on a computer that could do some programming. He used a computer program, which I believe is still around, called "Fortran." >> And what is that? >> (chuckling) Yeah? And he employed a hundred helpers, mostly Harvard students, to help him input the data into the computers, and run his analysis.
So the final conclusion-- surprisingly, the conclusion was that Madison wrote all 12 of the papers of unknown authorship, with the lowest probability in his favor of 240 to 1. So I thought was pretty surprising. One thing I did forget to mention was that both Madison and Hamilton had supposedly claimed they had written these 12 papers. So that's really what had made this a problem. They both said they wrote it, so, "Okay, who do we trust?" So apparently, Madison was the one telling the truth there. I don't know, I just thought this was a really cool case of mathematics hitting the real world, and a great application to Bayes' theorem to solve a real problem. >> Do you have any thoughts on how much time he spent on it? >> (laughing) Yes! So it's been said that Frederick Mosteller spent more time working with these papers, than the Founding Fathers actually spent writing the papers in the first place, believe it or not.
I'm not sure exactly how many hours that is, but it was definitely a very huge task. Like I said, took over 100 helpers from Harvard, so it was huge. It really was huge, especially with the technology he had. All right, moving on to the Enigma Code in World War II. So as you may be familiar with, Germany in World War II used coded messages to send to their Navy and different military personnel throughout the war. And these messages could be intercepted by the enemies,
the enemies being America, Poland, and the British. But the problem was the letters were all scrambled up, so we were not able to know what they said. The way that you would unscramble them was by use of a machine which was called the "Enigma machine." And that's a picture of the Enigma machine there on the bottom right. And it kinda looks like a typewriter. You would have basically your whole keyboard on there, and when you typed a letter it would light up a bulb with a letter, that was supposedly supposed to be the decoded message.
And oops-- okay, so the problem was that there was just so many different ways to set this machine, that the Germans basically thought that the code was unbreakable. So specifically, there were-- and can anyone tell me what that number is? No? 158 quintillion, 962 quadrillion, 555 trillion, 217 billion, 826 million, 360 thousand different ways you could potentially set one of these Enigma machines. And if you're interested in where that number comes from, just do a YouTube search for number file and Enigma machine, and they calculate it. It's a pretty interesting combinatorics problem, if you're interested in learning about where that number came through. So according to Professor Dersch,
even our modern computers could not brute force, go through, and check that many different settings on a machine. So, it wasn't gonna work to just check them all. That we had to somehow find a better way. So in comes Alan Turing and Bletchley Park. So Bletchley Park was a town, or a castle, or a mansion-- I've heard it described as different things-- in Great Britain around the time of World War II, where as many as 9,000 workers worked on trying to break the Enigma code.
And initially, they were not even employing mathematicians. It was, like, crossword puzzler solvers or linguists. And eventually, they started employing a couple of mathematicians, to which Alan Turing was one of them. And he was really the genius behind going through and trying to break this code. So you might be wondering, "How was Germany able to decode the messages?" Well, the code would change every day. So, the setting that you would have to set the Enigma machines to would change every day. So you'd have to change your settings to the correct setting in order to decode the messages. Germany would pass out these code sheets which would tell you what setting to put the machine on. And so, basically, if you had this code sheet, you would be able to decode the Enigma machine.
And occasionally, we would actually get our hands on one of these code sheets and be able to decode the Enigma for a while. But the problem was they just didn't last. They were only good for a couple of weeks, or maybe a month, and then there would be a new set of code sheets. And Germany was smart about it in that they wrote the sheets in soluble ink, so that if they got wet-- meaning maybe you sunk a U-boat and were able to get inside, any of the code sheets would be, basically, lost. All the ink would be washed away so you could not read it.
Okay, so the way we were able to decrease the number of ways to check the machine-- "we," I mean, "Alan Turing" really-- was really through these weather reports that Germany would send out every day. So Germany would send out a weather report which had a fairly standard form. So, it would always start out weather reports, the date, and then the specific weather for the day, and then the end, "Heil Hitler." So since we were able to decode some of the messages with the code sheets, we knew what some of the messages said. We were able to go through and say, all right, we know this weather report is sent out each day and we know of some of the words that are in every single one of these weather report messages. So, we could bias our search on the Enigma machines to try to search for code that would decode the weather reports with greater accuracy. So that made it so we didn't have to check nearly as many as 158 quintillion options.
And the other part that contributed to reducing those options was what's called the "Enigma's fatal flaw." And that's that no letter in the code could code to the same letter in the actual message. For example, if the coded message had a W, then that means the decoded message was not a W. And that was actually able to rule out many, many different possibilities. So Alan Turing, being the genius that he was, was able to incorporate those things and some other things in order to basically reduce
the number of ways that he had to check. He still went through brute force in having to check just millions of different combinations, but it was much less than that number. So his process was called "Turingery," which, believe it or not, he used the prior odds again of the 50/50 starting spot. He would make a guess on the settings for the machine and he'd say, let's just assume there's a 50% chance this is the correct setting. And then, he would update that based on information like the weather reports and whether or not it would decode certain words. He'd do this with the machine that he had created called the "bombe," B-O-M-B-E. So we actually had many of these bombes all going all at the same time, just checking, checking, checking, tons of these. As you see in the movie, "The Imitation Game," you know what I mean, because they have all these machines just going and going and going, until one of them stops. And there you go, it's found the code. So the aftermath?
Eventually, we were able to-- "we," again, I mean Alan Turing-- was able to break the code. And was able to break it each day in under 20 minutes using his machines. This created actually a new problem once we had broken the code, in that we had to keep it a secret! We couldn't let Germany know that we'd broken the code, because if they knew we'd broke the code then they'd just change it. And we didn't want that to happen, so it meant there were many times when we had information that we kinda had to keep secret and we couldn't act on some information. Like, maybe they were gonna invade this certain town at this time and we couldn't act on it because it'd be too obvious that we knew the code. So many lives had to be sacrificed just to keep this secret, and to be only able to use it at the perfect times. Unfortunately, the Bayesian thought process that went through to de-crack this code, really never-- Bayes' theorem really never got its credit
until much later because this was all classified for many decades after the war. I don't think it was until the '70s that it really came out, this whole story of Alan Turing and how Bayes' theorem had helped do this. Unfortunately, that contributed to Bayes' rule still not having very much support. All right, moving on to the final application of Bayes' theorem. And this is history. This is Richard Carrier. Richard Carrier is an ancient historian, specifically interested in religion,
which I'm not really gonna talk that much about religion today, just about the claims of history. And he thinks that we should bring Bayes' theorem into all claims of history. He thinks that, basically, the historical method and the way we think about history can all be described by Bayes' theorem. So for example, there are many things in history that we are not that certain about. Sometimes, we don't have very good documentation, especially for very old sources. Sometimes, the sources have bias because maybe they're part of the winning side of a war, so we might be more or less likely to trust them. So Richard Carrier would come along and say, "Well, why don't we try to quantify this? "Why don't we try to use Bayes' theorem "to try to put in some actual numbers here, "and say how certain we are about any historical claim?" So one example-- it's not an example that he used, but just something that I thought of is the Trojan War in Greek history.
In Ancient Greece, the Trojan War is a war that we don't know if it really happened or not. It was written about in the "Iliad" and the "Odyssey," but it's kind of something of legend. Well, Richard Carrier might argue that, "Well, if we can kinda try to quantify this, "maybe we can come up with a percent probability "that this happened." And wouldn't that be better than just saying, "Maybe it happened, or maybe it didn't happen"? And of course, many people say, "You can't do that-- that's subjective! "You can't use Bayes' theorem like that." And he'd say, "Well, why not?" (laughing) And he claims not only history. We can use it for any everyday life claim. So let's say your friend comes up to you today and says, "I was struck by lightening five times in my life." You might say, "There's no way that happened!" Well, that would inherently-- you'd be showing your estimate of a low prior probability, right there, so maybe you should assign
a low prior probability to that claim. But then, maybe he supports that with some new evidence. Maybe he's got some medical records that show he was in the doctor's office for lightening strike care, or whatever. So then, you might be a little bit more likely to believe his claim, but you still might be skeptical, 'cause he could have came up with that. I wanna read a quote from Richard Carrier, and how he describes how we should kind of think about some of this stuff. So he says, "You may be hesitant to assign probabilities "because it seems arbitrary and subjective. "But the point is to translate your actual beliefs "into a more convenient language. "You already have those beliefs, "so translating them into numbers "does not make them any more arbitrary and subjective "than they already are,
"and they are rarely as subjective as you might think. "When you say a claim is plausible, "you're saying that it has a high enough probability "to consider it. "When you say it's implausible, "you're saying that it has a prior probability "low enough to dismiss it. "Whenever you say one theory explains "the evidence better than another, "you are saying it has a higher consequent probability "than another, and so on. "All these statements will entail numerical equivalents "which are often objectively reasonable." So going on from there, to make it even more conservative, I guess you would say, is we can do something called "arguing a fortiori." I think, that's how you say that. And that would mean, "arguing from the stronger." And take, for example, maybe someone has asked, "What do you think the probability "that we are going to be struck by a meteor "sometime in the next year, of the same magnitude "of the one that destroyed the dinosaurs?"
And you might say, "How am I suppose to know "what that probability is?" Well, you could ask some leading scientists to try to get an idea of what it is. But certainly, that number is less than 1 in 100. I don't think there would be too much controversy of that. So then, you can use Bayes' theorem and you can plug in a number like that. So you can say, "Okay, I know the probability "is less than this." So then, you can plug in Bayes' theorem, "less than this number," and then, therefore, the conclusion of Bayes' theorem would be less than this number. So, you plug in "less than X" and you get "less than Y." And you can also do this for ranges of probabilities. So, let's say you thought something was between 20% and 50%. So you could run Bayes' theorem using 20%. You could run Bayes' theorem using 50%. And then, you kind of have something kind of like a confidence interval. You think that the actual consequent probability is between these two values.
So Carrier gives us this conversion sheet, which he thinks we can try to translate our degrees of certainty into actual probabilities. So given any claim, you should be able to rank it somewhere along this continuum of a degree of certainty. So if you think something is virtually impossible, well, maybe that means you think it's about a one in a million chance of happening. So we can assign that at .0001% chance. If you think something is very probable, maybe you think that's about 95% chance.
So any claim that you have, you should be able to fit somewhere along this spectrum, he said, and then convert that into a probability that you could use for Bayes' theorem. Now, he doesn't argue that these are the "be all and end all" numbers. For example, he gives the example of, "Well, you think that getting in a car crash today "is very unlikely." Or you think that's extremely improbable, but you don't think that's 1 in 100, 'cause otherwise you'd be getting in a car accident, you know, once a month or something, right? So it could change based on the context, but this is just a starting point to go with things. And still people will, of course, come and say, "Well, this is subjective. "You can't do this with math "and you can't do this with science." You say, "Well, with historical claims, "what you need to do is you need to get the leading experts "in a room together and they need to duke out "these probabilities."
They need to say that, you know, either the Trojan War happened or it didn't happen, and we can assign probabilities to these and you can argue them. You know, and they can try to come out with one number that they agree upon. And if they don't agree upon a number, then it's up to the public to decide and other experts to decide who's giving the more rational argument. So my thoughts on this is... I think that you can give this more as maybe a-- obviously, it's always going to entail some amount of subjectivity in historical claims. But I do think that if someone puts up a good argument for something, and you might agree with their argument, then, just like I was saying originally, as long as the premise of Bayes' theorem, you agree with those, the conclusion will also follow. So I don't see any reason why this couldn't work in many situations. All right, finally, part four, moving onto the application of Bayes' theorem.
So the first thing I wanna do is I just wanna give a brief proof of Bayes' theorem. And that comes from the multiplication rule for dependent events. So really, the only two events that we're interested in in Bayes' theorem are H, which is that a claimed hypothesis is true, and E, that some new data or evidence happens. I'm going to write this on the board. I'm just gonna write up exactly what we have right here. So we have-- we're starting with probability of-- you know what, I'm actually not gonna write both of those up there, 'cause they're on the screen. So what I'm gonna do is I'm gonna start with the second one right there. It's the probability that H and E happens, that's the hypothesis and the evidence happen together. It says that's equal to the probability of the evidence, times the probability of the hypothesis, given that the evidence happens. That line in the middle means "given." I'm gonna write this-- probability of H and E,
that's equal to the probability of E times H, given E. Times the probability of H, given E. Okay, so the thing that we're interested in Bayes' theorem is this part. We're interested in the probability of the hypothesis, given that some piece of evidence occurred. So we wanna isolate that part. So we would divide by the probability of E. So we divide by probability E, on both sides. Probability of E.
And that will cancel both of these. And then-- so this is-- maybe I'll write this. This is step one, we just did that. And now, step two, I'm just gonna rewrite everything we have. I'm not sure if I'm gonna have room here. So I'm just gonna rewrite this on the left-hand side. Probability of H, given E. That's what we were trying to find. Probability of H, given E, over here. Which given E. That's equal to the probability of H and E. Probability of H and E.
And that's divided by the probability of E. Okay, so that was part two. And now, I'm gonna move up over here. So, this part right here, probability of H and E, if you look at the original multiplication rule, I can substitute that with the very first part. So, I'm just gonna rewrite the same thing, substituting this part. So, I'm gonna write probability of H, given E, is equal to-- now, instead of writing this, I'm gonna write probability of H times probability of E, given H.
Oops, E, given H. There we go. And that is divided by the probability of E. Okay, so next is maybe the trickiest part. Well, maybe I should say first, some people leave it here, and they say, "This is Bayes' theorem." And actually, on the posters, you'll see that's basically where they left it for Bayes' theorem. But typically, it's better to expand this part because, typically, you don't have the probability of just the evidence. You kind of have to find that and there's kind of a roundabout way to find that. And the best way to show that is by use of a tree diagram.
How to expand this? So, two things could happen. One, your hypothesis could be true, so that's just H. Your hypothesis could be true. Or your hypothesis could be false, right? So, I'm just gonna denote that by H prime, like that. If your hypothesis is true, you could see some piece of evidence. So, that's gonna be E. Or you could not see that piece of evidence, so that's E prime. If the hypothesis is false, you could see some piece of evidence or you could not see that piece of evidence, right?
So, it therefore follows that the probability of E could happen in two ways. It could happen here if your hypothesis is true and evidence happens. Or if your hypothesis-- oops, sorry. If your hypothesis is false and the evidence happens. So then, maybe I'm gonna do-- I'll write it-- maybe I'll write it-- yeah, I'll just do this. So, the way to find the probability is given a tree like this is, first, you say, "Okay, I had to first take probability of H," that's right here, probability of H,
"and then, I have to multiply that by the probability of E," but that's a given that H already happened. So, E given H. And then, right here, this one is the probability of H prime times the probability of E, given H prime, like that. Okay. Maybe I'm gonna draw kind of like this. And I think I can fit it in right here. So, basically, these two parts together now are the probability of E. So, maybe I will write that down here. Uh, I'll write that right here. So, the probability of E...
probability of E... and maybe I'm gonna need a little bit more room. I'm gonna go right here. So, probability of E is equal to-- well, this part right here, probability of H times the probability of E, given H. And then, I have to add to that this part right here. This is-- yeah, okay. I have a double there. And then, I have to add to that the other part-- plus the probability of H prime times the probability of E, given H prime. Okay, we're almost done. All I have to do is just plug that in down over here. So, this is gonna be step four and it's gonna be the same thing that I see right there on the top. I'm not gonna rewrite this. I'm just gonna write this. Probability of H, probability of E, given H,

Ask anything
We've read this whole study set, so questions about it get the best answers.