How Bayes Theorem works

Поділитися
Вставка
  • Опубліковано 16 лис 2024

КОМЕНТАРІ • 410

  • @phytasea
    @phytasea 7 років тому +241

    Wow best explanation and example ever I saw ^^ Fantastic.

    • @marciasola462
      @marciasola462 5 років тому +1

      Excellent

    • @romanemul1
      @romanemul1 7 місяців тому

      exactly. These pacient disease examples were driving me nuts.

  • @welcome33333
    @welcome33333 7 років тому +55

    this is by far the most accessible explanation of Bayes theorem. Well done Brandon!

  • @danrattray8884
    @danrattray8884 7 років тому +43

    Best explanation of Bayes theorem I have seen. Fantastic teaching.

  • @toufikhamdani5044
    @toufikhamdani5044 Рік тому +5

    This is the most accessible explanation about Bayesian Inference. Thank you Brandon for the time taken to prepare this video. You rock !

  • @claudiorio
    @claudiorio 3 роки тому +3

    I know the video is old but I have to agree with the pinned comment. I already knew Bayes Theorem buy as I don't use it often, I have to be constantly refreshing the details in my mind. UA-cam algorithm recommended this video and it's hands down the best I have ever watched.

    • @BrandonRohrer
      @BrandonRohrer  3 роки тому +2

      Thank you. I really appreciate that.

  • @shirshanyaroy287
    @shirshanyaroy287 8 років тому +43

    Brandon I just want to tell you that you are a fantastic teacher.

    • @BrandonRohrer
      @BrandonRohrer  8 років тому +3

      Thank you very much Shirshanya. That is a huge compliment. I'm honored.

    • @shirshanyaroy287
      @shirshanyaroy287 8 років тому +2

      Please make more statistics videos! I have suggested your channel to my biostat teacher.

  • @richardgordon
    @richardgordon 5 місяців тому +4

    Wow! One of the clearest explanations of Bayes Theorem I’ve come across!

  • @theinsanify7802
    @theinsanify7802 5 років тому +1

    i don't know what to say, i'm a computer science student and i have never seen an explanation better than this ... thank you veryyyyy much

  • @razvanastrenie1455
    @razvanastrenie1455 3 роки тому +3

    Excellent explanation ! This is the manner in which mathematics must be explained. With cases of practical applicability. Good job mr. Brandon !

    • @BrandonRohrer
      @BrandonRohrer  3 роки тому

      Thanks Razvan. I'm so happy you enjoyed it.

  • @nutrinogirl456
    @nutrinogirl456 7 років тому +18

    This is the first time I've felt like I've actually understood this... and it's such a simple concept! Thank you!

  • @syedmurtazaarshad3434
    @syedmurtazaarshad3434 7 місяців тому +1

    Loved the analogies with real life philosophies, brilliant!

  • @jithunniks
    @jithunniks 6 років тому +1

    The way you connect things with appropriate easy to examples...Amazing...

  • @nginfrared
    @nginfrared 7 років тому +6

    EXCELLENT EXPLANATION!!! I am learning graphical modeling and a lot of these concepts were a bit unclear to me. Examples given here are absolutely to the point and demystify a lot of concepts. Thank you and looking forward to more videos.

  • @rjvaal
    @rjvaal 7 років тому +5

    Thank you for this excellent explanation. You are a patient and well-spoken teacher.

  • @johneagle4384
    @johneagle4384 2 роки тому +2

    Great example! Very easy to follow and understand. On a side note: I showed your video to my students and some of them objected rather "emphatically".
    They said it was too sexist. Crazy times we live in....Instead of math and statistics, they wanted to discuss gender roles and stereotypes in a Stat class. Gosh!

    • @BrandonRohrer
      @BrandonRohrer  2 роки тому +1

      Thanks John! I agree with your students. When I watch this now, I cringe. I definitely need to re-do it with a better example, one that doesn't reinforce outdated gender norms.

    • @johneagle4384
      @johneagle4384 2 роки тому +2

      @@BrandonRohrer No....Please, do not follow the mad crowds... this an innocent, simple math example. People are getting crazy and finding excuses to feel offended and start meaningless fights!

    • @Terszel
      @Terszel 11 місяців тому

      So sad. Long hair and standing in the womens restroom line and we cant even use Bayes' thereom to assume its a woman 😂

  • @redserpent
    @redserpent 6 років тому +2

    Thank you. Your video has been of great help. I have tried different resources to wrap my head around Bayesian theorem and always got knocked out at the front door. Excellent expalnation

  • @ukktor
    @ukktor 7 років тому +17

    The knowledge that Bayes was a theologian and that his theory requires at least some belief or faith in improbable things earns a "Well played, Mr. Bayes" slow clap. I've been enjoying your videos Brandon, thanks for keeping things approachable!

    • @themennoniteatheist1255
      @themennoniteatheist1255 3 роки тому +1

      I’m not sure that Bayesian epistemology requires a belief in improbable things. I love this video, but I think that’s an overstatement. I do think that it requires us to be open to the possibility that improbable things may be true. It does not require me to have faith in anything improbable, but rather to proportion our beliefs to the evidence (probabilities)- which is the antithesis of faith-while accepting the possibility of being wrong. To accept something as true that is improbable… is intellectually irresponsible and lacks due caution and humility. But to withhold belief (proportionally to the evidence) from improbable things is intellectually responsible and does not exclude being open to surprise-to the possibility that something improbable is true. I don’t think Bayesian epistemology intrinsically expects you to hold as true some improbable thing (faith). Abstinence from faith is acceptable in all cases as long as the possibility of error is operative. This suggestion that it’s necessary in Bayesian epistemology to believe something that is improbable was the only sloppy part of the video, no? I’m open to correction…

    • @ahmedemadsamy4244
      @ahmedemadsamy4244 2 роки тому

      I think you guys got it the opposite way, the video was trying to say, be open to believe in the improbable things that come from the data (evidence), rather than only holding on a prior belief.

  • @SupremeSkeptic
    @SupremeSkeptic 6 років тому

    Definitely the best explanation of the theorem told in an easily understandable way, I can find in the internet...

  • @regozs
    @regozs 5 років тому +3

    This is the best explanation yet, it helped me get a greater intuitive sense of Bayesian inferences.

    • @brendawilliams8062
      @brendawilliams8062 2 роки тому

      Yes it was great. It seems running into Feigenbaum maths or simular

  • @yurysambale
    @yurysambale 7 років тому

    Stop looking for a descent tutorial... this one is the best!

  • @maxinelyu7875
    @maxinelyu7875 7 років тому +1

    when your teacher don't make sense, had to go through teaching videos online and came across this one...
    Lucky lucky lucky! Thank you Mr!

  • @bharathwajan6079
    @bharathwajan6079 Рік тому +1

    hey man,this is the one good explanation for conditional prob i had ever heard

  • @Skachmo1
    @Skachmo1 7 років тому +234

    There are never lines at the men's room.

  • @fahad3802
    @fahad3802 8 років тому +4

    I have been struggling with bayesian inference and your tutorial makes it so easy to understand! Thank You! Keep up the good work.

    • @BrandonRohrer
      @BrandonRohrer  8 років тому +2

      I'm very happy to hear it Fahad. Thanks.

  • @rameshmaddali6208
    @rameshmaddali6208 4 роки тому

    For 5 years i kept Bayes aside , you are the guru in teaching stuff.. God bless you Brandon

  • @kimnguyen1227
    @kimnguyen1227 7 років тому +4

    This is fantastic. Thank you so much! I have been exposed to BT before, but have never understood it. As sad as it sounds, I didn't realize it was composed of joint probability which is composed of conditional probability, and marginal probability. Conditional probability and joint probability, and Bayes theorem all just looked the same. This really helped clarify things for me.

  • @liucloud6317
    @liucloud6317 5 років тому +2

    I have viewed many explanations about Bayes rule but this is no doubt the best! Thanks Brandon

  • @taghreedalghamdi6812
    @taghreedalghamdi6812 5 років тому +1

    I was reading about Bayes Theory for months ! And this is the first time I understand the concept!! Wow!! such an amazing way of teaching!!

    • @BrandonRohrer
      @BrandonRohrer  5 років тому

      I'm so happy to hear it Taghreed. That was exactly my hope.

  • @ssundaraju
    @ssundaraju 5 років тому +1

    Great explanation and simplification of a difficult concept. The three quotations at the end are poetic and purposeful. Thanks

    • @BrandonRohrer
      @BrandonRohrer  5 років тому

      I found them surprising relevant too. Thanks Sridhar.

  • @himanshu8006
    @himanshu8006 6 років тому +1

    I must say, this is the explanation of Bayes theorem, I have ever seen..... PERFECT!!!!!

  • @evgenykriukov4239
    @evgenykriukov4239 6 років тому +2

    Thanks for excellent presentation! One question though:
    at 17:49 the P(m=[13.9, 14.1, 17.5]|w=17) is factorized as following:
    P(w=17|m=[13.9, 14.1, 17.5])
    = P(m=[13.9, 14.1, 17.5]|w=17)
    = P(m=13.9|w=17) * P(m=14.1|w=17) * P(m=17.5|w=17)
    then at 20:47 the P(m=[13.9, 14.1, 17.5]|w=17) * P(w=17) is expanded into:
    P(w=17|m=[13.9, 14.1, 17.5])
    = P(m=[13.9, 14.1, 17.5]|w=17) * P(w=17)
    = P(m=13.9|w=17) * P(w=17) *
    P(m=14.1|w=17) * P(w=17) *
    P(m=17.5|w=17) * P(w=17)
    how do you get that P(m=[13.9, 14.1, 17.5]|w=17) * P(w=17) is equal to P(m=13.9|w=17) * P(m=14.1|w=17) * P(m=17.5|w=17) * P(w=17)^3 ? Thx in advance!

    • @keokawasaki7833
      @keokawasaki7833 6 років тому

      i hate stats because of those things... my teacher was teaching us utility analysis, and says "satisfaction is measured in utils" to that i ask "tell me how satisfied are you with your job and answer in the form: n-utils...".
      i still haven't got an answer!

  • @raghurrai
    @raghurrai 6 років тому +1

    I wish everyone taught like this. Your presentation was awesome. Thank you

  • @WahranRai
    @WahranRai 3 роки тому +3

    0:40 Bayes wrote 2 books one about theology and one about probabilty.
    He planed to write a third book infering the existence / non existence of God with probability (likelihood distribution = humanity, Prior distribution= miracles !

  • @KunwarPratapSingh41951
    @KunwarPratapSingh41951 6 років тому

    I was looking for intuitive content to introduce me about essence of Bayes theorem in statistics, thanks for this. Luckily I found your blog about machine learning and robotics. That's all what I wanted under a roof, robotics, data science and machine learning.

  • @Zachor-v-Aseh
    @Zachor-v-Aseh 5 років тому +2

    Excellent. For those for whom this is the first lesson on Bayes, you've left out a few steps here and there. But still excellent. It's difficult to make things understandable. You're excellent at it.

    • @BrandonRohrer
      @BrandonRohrer  5 років тому

      Thanks Dov! And good callout - this focuses on the concepts and doesn't tell you quite enough to code it up. That will be the subject of a future course on e2eml.school

  • @billgiles9662
    @billgiles9662 7 років тому

    Brandon, GREAT explanations!! I am taking a "Math for Data Sciences" class and have been flying through it until the final week and "Bayes Theorem". Achk...... It was poorly explained and very confusing. I was going to drop the class as I just couldn't get it. After watching your UA-cam explanation I am excited about the possibilities and understand the way it works - cool stuff! Thank you for all you do!!!

  • @attrapehareng
    @attrapehareng 7 років тому +17

    You're very good at explaining and also you go in some details which is nice. Too often youtube tutorials are too simple. keep going.

    • @keokawasaki7833
      @keokawasaki7833 6 років тому

      now that you have said that (an year ago), i kinda feel like finding the probability of likelihood of a youtuber making too simple tutorials!

  • @wysiwyg2489
    @wysiwyg2489 6 років тому +1

    I believe you don't know much about statistics (the impossible thing), but I do believe you really know how to explain Bayesian Inference. Great video.

  • @SamuelShaw1986
    @SamuelShaw1986 6 років тому +1

    Great explanation and video lesson production. Best Bayesian lesson I've found on youtube

  • @mathiasmews1122
    @mathiasmews1122 4 роки тому

    You're so much better than my Statistics teacher, thank you so much for this explanation!

  • @dmhowe2001
    @dmhowe2001 7 років тому +1

    I thought this was not only a great example of Bayes but also a nice intro for Cox's Theorem. Nice jobQ

    • @BrandonRohrer
      @BrandonRohrer  7 років тому +2

      * quickly looks up Cox's Theorem *
      Why, yes it does Donna. Thank you! :)

  • @karthiksalian5715
    @karthiksalian5715 4 роки тому +1

    Best video I found with all the information that I needed at one place.
    Thanks.

  • @xxlolxx447
    @xxlolxx447 6 років тому

    This was the best explanation of Bayes I've ever heard, I had such a hard time wrapping my head around it from other sources

  • @robertoarce-tx8yt
    @robertoarce-tx8yt Рік тому +1

    this was very intuitive explanation, man do more!

  • @SuperJg007
    @SuperJg007 6 років тому +1

    Amazing. I already knew what Bayes theorem was, but you have an awesome intro to Bayes. Thanks for the video.

  • @joshuafancher3111
    @joshuafancher3111 6 років тому

    Excellent explanation. At the 15:20 and beyond is when everything really started to come together. Also thanks for deriving the formula at the 7:10 mark.

  • @Blooddarkstar
    @Blooddarkstar 8 років тому +4

    This video deserves more thumbs up. I understood a lot on a lazy sunday evening :) great explaination.

  • @joserobertopacheco298
    @joserobertopacheco298 2 роки тому +1

    I am from Brazil. What a fantastic explanation!

  • @lemyul
    @lemyul 5 років тому +1

    i like the quotes you put at the end and how you reword them

  • @cliffordhodge1449
    @cliffordhodge1449 6 років тому

    I found this quite helpful in giving Bayesian probability a more intuitive appeal. Bayes idea had previously been presented to me as "a priori probability", and I had always been troubled by the a priori part. But I guess a good way to think about it is like this: When we say, "All else, being equal, such-and-such is the case," we mean (or ought to mean) "Assuming that the variables which we have not measured or aren't even aware of have the values they most likely have when our one measured variable has the value measured or assumed by us, then such-and-such is most likely the case."

  • @EANTYcrown
    @EANTYcrown 7 років тому +1

    hands down best explanation i've seen, thank you

  • @sreekanthk2911
    @sreekanthk2911 5 років тому

    I have been searching for explanation like this for sometime and a big WOW to this guy. Wonderful explanation!!

  • @lenkapenka6976
    @lenkapenka6976 3 роки тому +1

    Superb lecture - esp. the MLE explanation!

  • @williamliamsmith4923
    @williamliamsmith4923 Рік тому +1

    Amazing explanation and graphics!

  • @houssemguidara4467
    @houssemguidara4467 4 роки тому

    Thank you for the video, it helped me understand the concept of Bayesian inference.
    The concept is simple. In a nutshell, you have an idea about what the quantity is and then you use the measurements to sharpen your assumption.

  • @StephenHsiang
    @StephenHsiang 7 років тому

    best explanation on youtube so far

  • @Erin-uk2jj
    @Erin-uk2jj 3 роки тому +2

    Brandon, this was great, thank you. Very easy to follow and really interesting and concise!

  • @Nifty-Stuff
    @Nifty-Stuff 2 роки тому +1

    Absolutely brilliant! Your presentation, examples, etc. were perfect and applicable! Thanks!

  • @Atoyanable
    @Atoyanable 3 роки тому +1

    such a well-thought -through video, very good explanations for every instance, the ending was the bonus, loved it, thank you

  • @s45510325
    @s45510325 6 років тому +1

    the best explanation I ever seen! Super clear.

  • @sunilmathew2914
    @sunilmathew2914 3 роки тому

    Please consider doing a longer version of the video as its a nice way you have introduced this concept and you'll miss the intended audience who's not well versed with Bayesian statistics to go along with the pace of this video. I have some basics but I still had to pause the video a lot to be able to read the material before it changed to next slide and also listen to what you are saying. Also if you had a cursor or pointer that would also improve the experience.

  • @amanjain3341
    @amanjain3341 7 років тому +1

    Thank you sooo much Brandon for explaining the concepts so clearly.

  • @julianjohnmert8658
    @julianjohnmert8658 4 роки тому +1

    Dude your analogies are on point.

  • @viviankoneke1389
    @viviankoneke1389 4 роки тому +17

    "...one of the top 10 math tattoos of all time." 😂

  • @angli1054
    @angli1054 5 років тому

    Thumbs up after watching the first 3 minutes. Finally, the "prior" make sense to me!!!!!!

  • @kirankk9565
    @kirankk9565 7 років тому +1

    the best explanation i hv seen about bayes theorem... awsome... thnx a ton....

  • @jacktretton7815
    @jacktretton7815 4 роки тому

    best explanation I found on the topic so far. great work!!!

  • @bga9388
    @bga9388 Рік тому +1

    Thank you for this excellent presentation!

  • @dalelu9422
    @dalelu9422 7 років тому +2

    Simply the best ! Thank you Brandon

  • @specialkender
    @specialkender 5 років тому

    GOD THANKS FOR EXISTING. Finally somebody that fucking breaks down the most important part of it (namely, how the do you calculate the likelyhood in practice). I hope life rewards you beautifully.

  • @KazaaModo
    @KazaaModo 3 роки тому +1

    That was fantastically done.

  • @MatthewFricke
    @MatthewFricke 4 роки тому

    Wonderful explanation. Thank you. The Mark Twain quote at the end is apocryphal though.

    • @BrandonRohrer
      @BrandonRohrer  4 роки тому

      Thanks Matthew. I'll have to asterisk that. :)

  • @missh1774
    @missh1774 Рік тому

    Start with more slides like your last two. Thanks this was insightful.

  • @b.e.3940
    @b.e.3940 2 роки тому +1

    thank you so much. you expained it in an awesome way and saved my exam.

  • @ilanaizelman3993
    @ilanaizelman3993 5 років тому +1

    You deserve many more subscribers dude

  • @moazelsayed541
    @moazelsayed541 Рік тому +1

    That's the best explanation ever❤️❤️❤️❤️

  • @garychap8384
    @garychap8384 4 роки тому +2

    _" When you have excluded the impossible, whatever remains, however improbable, must be __-the truth-__ _*_possible_*_ "_
    There 'ya go Sheerluck Holmes, I've fixed it for 'ya : )

  • @AnasHawasli
    @AnasHawasli 11 місяців тому

    The best explaination on youtube
    thank you man

  • @gautamjain2487
    @gautamjain2487 6 років тому +1

    Nothing much to say only thank you! you may have helped me in clearing my exam!

  • @balasubramanianilangovan888
    @balasubramanianilangovan888 4 роки тому

    Hi Brandon, your video was simple, superb, and stupendous!

  • @mariorodriguesperes1501
    @mariorodriguesperes1501 5 років тому +1

    Great video!! Very nice and easy to digest explanation of Bayes theorem! Thank you very much for sharing this excellent material. I have got a better understanding on how to apply it to my problems. Keep the great work!

  • @hadyaasghar7680
    @hadyaasghar7680 6 років тому

    great video presentation Brandon. please try to apply more videos on other machine learning algorithms

  • @Daniboy370
    @Daniboy370 Рік тому

    What a stunning explanation. Speechless

  • @mariamedrano4348
    @mariamedrano4348 6 років тому

    Excellent examples and explanation! Now everything is so much clearer. :)

  • @MonsieurSchue
    @MonsieurSchue Рік тому

    Wow can't believe I only came across this video now. This is by far the best explanation on Bayes with great examples! Thanks @BrandonRohrer !! Love the example with the weight of puppy! May I ask if you have codes to deal with multiple priors/ multiple events? Say such as an extension of the weight of the puppy, if the weight change is more than one pound, plus she may be showing some other symptoms (say losing appetite), the likelihood of her being sick from something is x. Or even, losing appetite can be just due to weather being too hot. So the lost of weight of one pound from the last vet visit and losing appetite may not be significant at all and doesn't warrant multiple expensive test suggested by the vet.

  • @noobfeeder2833
    @noobfeeder2833 8 років тому +1

    we got a cocktiel bird in our house but we don`t know what to name it, your dog`s name gave me a good idea!

    • @BrandonRohrer
      @BrandonRohrer  8 років тому +3

      Awesome! She told me to tell you that she is very flattered. Hopefully your cocktiel will not earn her name by eating an entire bowl of salt water taffy, including the wrappers.

  • @eunicepark6860
    @eunicepark6860 6 років тому

    Terrific examples and terrific explanation down to such applicable quotes!

  • @taureanamir
    @taureanamir 6 років тому +1

    absolutely amazing explanation

  • @Ms2loopy
    @Ms2loopy 4 роки тому +1

    Hi! This was such a clear explanation. It would be great if you could make one on hidden markov models.

    • @BrandonRohrer
      @BrandonRohrer  4 роки тому +1

      Thanks Rachel! Hidden Markov Models are an excellent idea. I'll put it in my to do list.

  • @dorinori8189
    @dorinori8189 7 років тому +35

    When you said small human, I imagined a small adult

  • @ArvindDevaraj1
    @ArvindDevaraj1 7 років тому

    An unforgettable example

  • @kalevipoeg6916
    @kalevipoeg6916 Рік тому

    More helpful than most! I will say though that the distribution for heights is really funny, unless you're crazy enough to think that the most common measurement would be in the 185 cm range, which is around 6'1"....which is taller than around 90% of men in the west and 95% of men globally.

  • @Xerxz5115
    @Xerxz5115 6 років тому +1

    Easiest way to weigh your dog is to first weigh urself, then hold ur dog and weigh again. Then you subtract your weight from dog+yourweight = dog weight

  • @josuanaiborhunaiborhu
    @josuanaiborhunaiborhu 2 роки тому +1

    Amazing explanations

  • @yavdhesh
    @yavdhesh 6 років тому +1

    Superb explanation Sir

  • @RobvanMechelen
    @RobvanMechelen 7 років тому

    Bayes Theorem (1) only describes 2 events A and B that overlap (A+B).
    Bayes Theorem states that independent of the magnitude of A+B,
    the relationship between the proportion of A= P(A) and the proportion of B = P(B)
    is always the inverse of the conditional proportions being P(A | B) and P(B | A) or
    P(A) / P(B) = P(A | B) / P(B | A) (1)
    So if we know in your example the proportion:
    P(A) = P(M) = 0.50
    P(B) = P(LH) = 0.25
    than P(A) / P(B) = 0.50/0.25 = 2:1
    which is true for any P(A+B)
    then according to (1):
    P(A | B) / P(B | A) = P(A) / P(B)
    P(A | B) / P(B | A) = 2/1
    when
    P(B|A) = P(LH | M) = 0.04
    the equation can be solved
    P(A | B) = P(M | LH) / 0.04 = 2 / 1
    P(M | LH) = 0.08

  • @eyesonthetube
    @eyesonthetube 6 років тому +1

    Thanks for the excellent video. A good refresher! Keep up the good work!

  • @AakashBhardwaj-dk3mi
    @AakashBhardwaj-dk3mi Рік тому

    Hey @Brandon Rogers,
    At 18:12, y axis is likelihood not probability. Probability is area under curve for this graph.

  • @ORagnar
    @ORagnar 3 роки тому

    6:04 Okay, I wasn't expecting the milk and jelly donut. Now I've got a craving.

  • @mohamedanasselyamani4323
    @mohamedanasselyamani4323 5 років тому +2

    Thank you very much for the best explanation, It's very interesting