The quick proof of Bayes' theorem
3:47

The quick proof of Bayes' theorem

3Blue1Brown 22.12.2019 551 947 просмотров 15 881 лайков

Machine-readable: Markdown · JSON API · Site index

Поделиться Telegram VK Бот
Транскрипт Скачать .md
Анализ с AI
Описание видео
Including some added words on independence. Main video: https://youtu.be/HZGCoVF3YvM Help fund future projects: https://www.patreon.com/3blue1brown An equally valuable form of support is to simply share some of the videos. Special thanks to these supporters: http://3b1b.co/bayes-thanks ------------------ These animations are largely made using manim, a scrappy open-source python library: https://github.com/3b1b/manim If you want to check it out, I feel compelled to warn you that it's not the most well-documented tool, and it has many other quirks you might expect in a library someone wrote with only their own use in mind. Music by Vincent Rubinetti. Download the music on Bandcamp: https://vincerubinetti.bandcamp.com/album/the-music-of-3blue1brown Stream the music on Spotify: https://open.spotify.com/album/1dVyjwS8FBqXhRunaG5W5u If you want to contribute translated subtitles or to help review those that have already been made by others and need approval, you can click the gear icon in the video and go to subtitles/cc, then "add subtitles/cc". I really appreciate those who do this, as it helps make the lessons accessible to more people. ------------------ 3blue1brown is a channel about animating math, in all senses of the word animate. And you know the drill with YouTube, if you want to stay posted on new videos, subscribe: http://3b1b.co/subscribe Various social media stuffs: Website: https://www.3blue1brown.com Twitter: https://twitter.com/3blue1brown Reddit: https://www.reddit.com/r/3blue1brown Instagram: https://www.instagram.com/3blue1brown_animations/ Patreon: https://patreon.com/3blue1brown Facebook: https://www.facebook.com/3blue1brown

Оглавление (1 сегментов)

Segment 1 (00:00 - 03:00)

This is a footnote to the main video on Bayes' Theorem. If your goal is simply to understand why it's true from a mathematical standpoint, there's actually a very quick way to see it based on breaking down how the word AND works in probability. Let's say there are two events, A and B. What's the probability that both of them happen? On the one hand, you could start by thinking of the probability of A, the proportion of all possibilities where A is true, then multiply it by the proportion of those events where B is also true, which is known as the probability of B given A. But it's strange for the formula to look asymmetric in A and B. Presumably, we should also be able to think of it as the proportion of cases where B is true, among all possibilities, times the proportion of those where A is also true, the probability of A given B. These are both the same, and the fact that they're both the same gives us a way to express P of A given B in terms of P of B given A, or the other way around. So when one of these conditions is easier to put numbers to than the other, say when it's easier to think about the probability of seeing some evidence given a hypothesis rather than the other way around, this simple identity becomes a useful tool. Nevertheless, even if this is somehow a more pure or quick way to understand the formula, the reason I chose to frame everything in terms of updating beliefs with evidence in the main video is to help with that third level of understanding, being able to recognize when this formula, among the wide landscape of available tools in math, happens to be the right one to use. Otherwise, it's kind of easy to just look at it, nod along, and promptly forget. And you know, while we're here, it's worth highlighting a common misconception that the probability of A and B is P of A times P of B. For example, if you hear that 1 in 4 people die of heart disease, it's really tempting to think that means the probability that both you and your brother die of heart disease is 1 in 4 times 1 in 4, or 1 in 16. After all, the probability of two successive coin flips yielding tails is ½ times ½, and the probability of rolling two 1s on a pair of dice is 1 6th times 1 6th, right? The issue is correlation. If your brother dies of heart disease, and considering certain genetic and lifestyle links that are at play here, your chances of dying from a similar condition are higher. A formula like this, as tempting and clean as it looks, is just flat out wrong. What's going on with cases like flipping coins or rolling two dice is that each event is independent of the last. So the probability of B given A is the same as the probability of B. What happens to A does not affect B. This is the definition of independence. Keep in mind, many introductory probability examples are given in very gamified contexts, things with dice and coins, where genuine independence holds, but all those examples can skew your intuitions. The irony is that some of the most interesting applications of probability, presumably the whole motivation for the kind of courses using these gamified examples, are only substantive when events aren't independent. Bayes' theorem, which measures exactly how much one variable depends on another, is a perfect example of this.

Другие видео автора — 3Blue1Brown

Ctrl+V

Экстракт Знаний в Telegram

Экстракты и дистилляты из лучших YouTube-каналов — сразу после публикации.

Подписаться

Дайджест Экстрактов

Лучшие методички за неделю — каждый понедельник