Intro to Bayes’s Theorem | Probability Theory

Sdílet
Vložit
  • čas přidán 29. 08. 2024
  • What is Bayes’s theorem for conditional probability? We'll be proving it briefly in today's lesson, as it is a direct result of the definition of conditional probabilities. We'll also see how Baye's theorem works with a sample space partitioned into separate events, and an example of applying Baye's theorem! Baye's theorem gives us a way to calculate the conditional probability P(A|B) using P(B|A).
    We know that the probability of A given B, P(A|B), is equal to P(A and B)/P(B) and P(B|A) = P(B and A)/P(A) = P(A and B)/P(A). Then, multiplying both sides of the second equation by P(A) we have that P(B|A)*P(A) = P(A and B) and we can substitute this into our expression for P(A|B). Thus, we have P(A|B) = P(B|A)P(A)/P(B), and this is Baye's theorem (sometimes called Baye's rule). Often times, we will have to calculate P(B) in the denominator using the Law of Total Probability.
    I meant to put this in the video as a caption: the example problem is from "Probability" by Jim Pitman.
    Intro to Conditional Probability: • Intro to Conditional P...
    Law of Total Probability: • The Law of Total Proba...
    ◆ Donate on PayPal: www.paypal.me/...
    ◆ Support Wrath of Math on Patreon: / wrathofmathlessons
    I hope you find this video helpful, and be sure to ask any questions down in the comments!
    ********************************************************************
    The outro music is by a favorite musician of mine named Vallow, who, upon my request, kindly gave me permission to use his music in my outros. I usually put my own music in the outros, but I love Vallow's music, and wanted to share it with those of you watching. Please check out all of his wonderful work.
    Vallow Bandcamp: vallow.bandcam...
    Vallow Spotify: open.spotify.c...
    Vallow SoundCloud: / benwatts-3
    ********************************************************************
    +WRATH OF MATH+
    Follow Wrath of Math on...
    ● Instagram: / wrathofmathedu
    ● Facebook: / wrathofmath
    ● Twitter: / wrathofmathedu
    My Music Channel: / seanemusic

Komentáře • 71

  • @_Ayush_S
    @_Ayush_S Před rokem +5

    No-nonsense, completely on-point, and no focus on showing his own video and wasting time with useless information. Thanks a lot for explaining this concept so effectively.

  • @weily-why-lee
    @weily-why-lee Před 3 lety +6

    Never change wrath of math, lots of math channels assume too many premises but you stand out cause you mention all the necessary knowledge and steps to get to the conclusion. Never change!

    • @WrathofMath
      @WrathofMath  Před 3 lety +2

      Thanks so much, Chisala! I'm going to keep doing my best!

  • @navster100
    @navster100 Před 3 lety +20

    why does this extremely useful video only have 300 views

    • @WrathofMath
      @WrathofMath  Před 3 lety +4

      Thanks for watching and I am glad you found it extremely useful! I have the same question haha, most of my prob videos do better than that! But there are a lot of videos on Bayes's theorem, so it will take some time for this one to move up in the search rankings. You can help it out by sharing it if you know anyone who would find it useful!

    • @ehteshamhassan3861
      @ehteshamhassan3861 Před rokem +1

      Now its 29k😎

    • @navster100
      @navster100 Před rokem

      @@ehteshamhassan3861 sheesh

    • @topcubasov8942
      @topcubasov8942 Před 4 měsíci

      @@ehteshamhassan3861 No 50k😎

  • @ludwig7223
    @ludwig7223 Před 2 lety +6

    Thank you for the incredibly clear explanations! You accomplish the same as a professor in a third of the time, and with much less confusion

  • @stephaniemorris1706
    @stephaniemorris1706 Před 3 lety +5

    I just jumped over here from the law of totally probability video. Taking Stats 315 this semester and you are such a life saver. Thank you so much!!!

    • @WrathofMath
      @WrathofMath  Před 3 lety +1

      My pleasure, thanks so much for watching and let me know if you ever have any video requests!

  • @Matthew-cl8qi
    @Matthew-cl8qi Před 3 lety +5

    Very clear explanation of Bayes Theorem. Thank you from a future data scientist.

  • @harkatiyoussef9994
    @harkatiyoussef9994 Před rokem +2

    by far the best video on Baye's theorem

  • @faezehnejati833
    @faezehnejati833 Před 3 měsíci

    Hey @Wrath of Math :) I deeply enjoyed watching your video(s) on Bayes's Theorem and some other probability videos that you have created. They are beyond awesome! very intuitively explained. Could you maybe produce such good ones on 'Statistics' topics? I miss a full playlist on 'Probability' & 'Statistics' topics in your channel as well. Keep it Up!

  • @valentine7512
    @valentine7512 Před 3 měsíci

    straight to the point, Clear & concise

  • @sparrowp2251
    @sparrowp2251 Před 4 měsíci

    you are a life saviour and so precise witht he concept.Love It
    Thank You!!

  • @jim2376
    @jim2376 Před 9 měsíci +1

    What you're looking for goes in the numerator and the denominator. The only tricky bit is what is added to the denominator. That would be what you aren't looking for but has the same condition as what you are looking for.
    Example: looking for the probability of a true positive medical test.
    (true positive test)/( (true positive test) + (false positive test) )

  • @oliviau.1734
    @oliviau.1734 Před 2 lety

    This has helped me so much you have no idea. Thank you from the bottom of my heart. ❤

  • @marianodangelo5908
    @marianodangelo5908 Před 2 lety +1

    Really well explained! Helped me a lot. Could you please make a video on discrete distributions?

  • @lanomusambazi8654
    @lanomusambazi8654 Před 2 lety

    Thank you so much sir for this useful and helpful video. I have understood the language used in Bayes theorem.

  • @ajayibasitadeola3352
    @ajayibasitadeola3352 Před rokem

    The best explanation so far! THANK YOU!!

  • @adwoamayyy388
    @adwoamayyy388 Před rokem +1

    Oh I’m getting it🎉😢❤. I’d need to solve more examples

  • @cabbage5114
    @cabbage5114 Před rokem

    This man is doing god's work

  • @harmandeeppal
    @harmandeeppal Před 3 lety +1

    I recently started watching your videos, they are well explained. Could you please make videos on Portfolio Standard Deviation, Portfolio Variance, Portfolio Covariance and Portfolio Correlation? Thank you.

    • @WrathofMath
      @WrathofMath  Před 3 lety +1

      Thanks a lot! I'd love to make videos on those topics, but I can't say it'll be anytime soon. I'll be very busy this fall and winter, so I'm going to mostly stick to topics I've already begun teaching on this channel. But it will be fun to get to some more financial math, and corporate finance eventually!

    • @harmandeeppal
      @harmandeeppal Před 3 lety

      @@WrathofMath That's all right, I can wait. I appreciate the effort you put into making those helpful videos. Thank you for your reply.

  • @user-en2ct8ql4g
    @user-en2ct8ql4g Před 6 měsíci

    This is amazing

  • @maheebasyed5983
    @maheebasyed5983 Před 3 lety +1

    Amazing explanation ❤

  • @themastmasmashaya7870
    @themastmasmashaya7870 Před 3 měsíci

    CAN YOU DO THIS FOR ME (A patient visits a doctor suspecting that he may have lung cancer after suffering short of breath. The doctor knows besides lung cancer the patient might be suffering from tuberculosis. He also notes that smoking and exposure to pollution are key causes of both diseases but taking an x-ray would indicate that the patient has cancer or tuberculosis. Given that the patient P(patient is a smoker)=0.3 and P(patient was exposed to low pollution)= 0.9,. Using the Bayesian networks following all steps determine the accuracy of the output from the x-ray results )

  • @bilinmezevren-291hzu
    @bilinmezevren-291hzu Před 9 měsíci

    Video was great but there is an error with subtitles, maybe you wanna check again, I informed you... Have a nice day :))

  • @georginamoi-dg2sp
    @georginamoi-dg2sp Před rokem

    What if the probability of A and B are not given but we're only given the product probability of both A and B?
    For instance, if the probability of playing soccer and rugby is 0.32 what is the probability of playing soccer?

  • @ivancarlson953
    @ivancarlson953 Před měsícem

    - H’ is 2.08x more likely to E than H.
    - H’ is 1940.40x more likely to E’ than H.
    - E is 629.46x more likely to H than E’.
    - E’ is 1.48x more likely to H’ than E.
    - E given H is 47.50x more likely than E given H’.
    - E’ given H’ is 19.60x more likely than E’ given H.

  • @nopecharon
    @nopecharon Před rokem

    Can you please explain how you came up with the denominator

  • @ionguzun3952
    @ionguzun3952 Před 2 lety +1

    Can you please do more videos about Bayes’s Theorem, more examples

    • @WrathofMath
      @WrathofMath  Před 2 lety

      I'll see what I can do, thanks for watching and the request!

  • @jimtwisted1984
    @jimtwisted1984 Před 7 měsíci

    Shouldnt the probability of having the disease and not having the disease equal 1? Your sum is .97 so where did the the .-03 go?

  • @patrikomelka3918
    @patrikomelka3918 Před 7 měsíci

    ngnl but 32% is still a pretty high chance :D , great viedo really appreciate your help with going through college

  • @rahulshah6119
    @rahulshah6119 Před 4 lety +2

    8:02 isn't the negation symbol ¬? Another great video though!

    • @WrathofMath
      @WrathofMath  Před 4 lety

      Haha, it sure is! Thanks for pointing that out, clearly I was more out of practice than I thought when it comes to probability/logic notation!

    • @rahulshah6119
      @rahulshah6119 Před 4 lety

      @@WrathofMath Well if you want more practice, a video or two on markov chains and/or stable matchings/stable marriage wouldn't hurt ;)

  • @albertogubernati6677
    @albertogubernati6677 Před rokem

    Can you make a lesson on weibull distribution with maximum likelihood model? Anyway my sincere compliments for your great and useful videos!

  • @freduaagyeman2805
    @freduaagyeman2805 Před 2 lety

    Great video 👍

  • @GnarlyGooch
    @GnarlyGooch Před 2 lety

    Cheers mate, good clear video 👍

  • @shaistariaz9783
    @shaistariaz9783 Před 4 lety

    Waiting always your videos bro💓💓

    • @WrathofMath
      @WrathofMath  Před 4 lety

      Thanks so much for the support! Let me know if you ever have any requests!

  • @lanomusambazi8654
    @lanomusambazi8654 Před 2 lety

    If you have any videos on random variables please help me. I want to understand it too.

  • @angelaihechu5533
    @angelaihechu5533 Před 2 lety

    Thank you so much

  • @rightmangolck
    @rightmangolck Před 7 měsíci

    Just wow

  • @mike_the_tutor1166
    @mike_the_tutor1166 Před 4 lety +1

    It's spelled Bayes's theorem, according to the AP and Chicago style guides.
    EDIT: I was right about Chicago but wrong about AP.

    • @WrathofMath
      @WrathofMath  Před 4 lety +1

      Thank you very much for pointing out that error. I’m gonna hide my face in shame for the next few weeks. I can only hope to be forgiven for still having the error at the beginning of the video! I left the error in the description just once for the sake of other people who make the same error in searching it, though CZcams probably knows exactly what such folks are looking for by now! It has been fixed in the thumbnail and title, thanks again!

    • @mike_the_tutor1166
      @mike_the_tutor1166 Před 4 lety

      @@WrathofMath Haha, CZcams probably knows what I'm going to type before I type it. Conspiracy theories aside, if you value visibility over correctness, then I suggest spelling it Bayes' theorem. In my experience, that's the most common spelling, so I would speculate that's what most people would search for. Just speculation though, it may be that "bayes theorem" is the most common search.

    • @WrathofMath
      @WrathofMath  Před 4 lety +1

      Their search engine and website is pretty darn good at learning! You really notice when it’s completely wrong, but it usually isn’t haha! I like Bayes’s, because as far as I am aware putting an apostrophe by itself at the end of a word to make it possessive is only done for plurals. I’m no English expert, but I’m pretty sure them’s the rules! Admittedly, “Bayes’s” looks pretty ugly, and I am surprised to see that seemingly nobody else spells it that way. Perhaps I’ll change it in a few months and see if it has any effect.

    • @mike_the_tutor1166
      @mike_the_tutor1166 Před 4 lety

      @@WrathofMath Oops! I was wrong about the AP style guide! I just looked it up, and it says to add just an apostrophe for proper nouns ending in s. So if you follow AP then it's Bayes' and if you follow Chicago it's Bayes's. For Chicago, you are correct that singular proper nouns are given 's while plural are given just '. I've been confused about this for a while! Now I must also hide in shame!

    • @CrannBethadh
      @CrannBethadh Před 3 lety +1

      @@mike_the_tutor1166 It is AP that should hide in shame. You have to have something distinct from something belonging to multiple people named Baye. If Johnny and Suzie Baye had created the theorem, then it would be Bayes' theorem, but it was just one dude named Bayes.

  • @mevvislenin2784
    @mevvislenin2784 Před 2 lety

    Best!

  • @15thillizgon
    @15thillizgon Před 3 dny

    B kool

  • @user-bd9rp1uf5l
    @user-bd9rp1uf5l Před 3 měsíci

    أرجو أن تضيف اللغة العربية ف خيارات الترجمة

  • @MrWoaaaaah
    @MrWoaaaaah Před 4 měsíci

    I'm still struggling... please can somehow help me with this example:
    1. If someone is white and male, I can detect lies 80% of the time.
    2. The chances of someone being white where I live is 81.7%.
    3. The chances of someone being male where I live is 49%.
    What is the probability of me detecting a lie in these conditions? Please can you include it into the formula to help me apply it?

    • @nyx211
      @nyx211 Před 3 měsíci

      There's not enough information in that example to determine P(L). You'd also need to know P(L | not (W, M)).

  • @pesofficiall102
    @pesofficiall102 Před 10 měsíci

    the probability of me understanding is 0

  • @asharb5089
    @asharb5089 Před 2 lety

    Graph vedios

    • @WrathofMath
      @WrathofMath  Před 2 lety

      Thanks for watching! Do you want graph theory videos? I have a playlist of over 150 of them!