Bayes' Theorem EXPLAINED with Examples

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

КОМЕНТАРІ • 232

  • @MohamedIsmail-fk9dd
    @MohamedIsmail-fk9dd Рік тому +339

    I don't know how this is not the most viewed Bayes' theorem video because its the most helpful in youtube

    • @AceTutors1
      @AceTutors1  Рік тому +25

      That means so so much to me! Thank you for saying that! I appreciate it!

    • @vikasyadav9345
      @vikasyadav9345 Рік тому +2

      I am Indian I have no words for saying video but I say few word this is very amazing and very helpfull in all students

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

      Indeed, great vid. I also found this one to be very useful:
      ua-cam.com/video/1QulO1jS2Hk/v-deo.htmlfeature=shared

    • @ebrahimalabadi3328
      @ebrahimalabadi3328 9 місяців тому

      I totally agree

    • @Lunatic_Retz
      @Lunatic_Retz 8 місяців тому

      because it's not

  • @bondoasanidze9169
    @bondoasanidze9169 7 місяців тому +30

    The best explanation of Bayes' theorem on youtube, thank you

  • @thelambsauce2015
    @thelambsauce2015 8 місяців тому +8

    Saying this video is the best is an understatement. Thank you so much for posting this beyond-amazing video!

  • @ChilledPudding
    @ChilledPudding 8 місяців тому +5

    THANKS MAN! Tomorrow is my official school graduation exam and honestly i didn't ecen know a word about this concept so i was worried and your video popped up! Thanks a bunch for making me understand it! Ill be back to report my marks if i am reminded of this comment!
    P. S: keep doing this. We love it and will support you through the best of our efforts!

    • @AceTutors1
      @AceTutors1  8 місяців тому +1

      Thank you so much for your comment! It's stories like yours that give me the fuel to make these videos. I wish you luck on your exam! And thank you for the support!

  • @slowman2296
    @slowman2296 Місяць тому +6

    This is the most simple explaination I've ever found without any confusion. Thank you

  • @lerevenger000
    @lerevenger000 Рік тому +20

    Please keep making more videos. I am an MPH student at Harvard, and you make the concepts extremely understable. Sending you a lot of love

    • @AceTutors1
      @AceTutors1  Рік тому +3

      Thank you so much for your kind words! I really appreciate it and will keep work on putting out videos.

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

      @@AceTutors1 we need probability testing statistics if possible

  • @allemagallied4775
    @allemagallied4775 Рік тому +12

    Thanks a lot for this intuitive example. It helped me a lot to understand this mechanism when I understood that as p(cloudy) becomes smaller, p(rain|cloudy) becomes greater, all else being equal. Since p(cloudy) is the numerator.
    This makes sense intuitively, because in a situation clouds are rare (i.e. p(cloudy) is smaller), but when it rains, there were often clouds in the morning (i.e. p(cloudy|rain) is large), the prediction value of it being cloudy in the morning is high.
    Reversely, in a climate where it is always cloudy (i.e. p(cloudy) is near one), the fact that it's cloudy in the morning does not tell you much in terms of how much rain you will get.

  • @jsegor
    @jsegor 7 місяців тому +17

    Probably the clearest explanation of Bayes Theorem I have seen so far. Beautifully done. Got to watch all your videos now.

  • @chris-vr5pm
    @chris-vr5pm 11 місяців тому +11

    Got an exam in 8 min, this was good help

  • @arcmode
    @arcmode 22 дні тому +1

    Finally I understand it!. So P(A|B) is not the probability of "A" being the result of "B", but the probability of "A" when "B" is observed. Thanks!

  • @m3sam
    @m3sam 7 місяців тому +2

    I think the example in this video is better than what 3B1B gave in his Bayes' theorem video. The starting wasn't good because you just spammed the formula but the example and the way you conveyed it is really good. One can understand the principle through your example. Good work!

  • @TheSdlocal
    @TheSdlocal Рік тому +6

    I’ve never seen a more clear explanation of how Bayes’ Theorem can be applied. This is extremely helpful! Thank you so much!

    • @AceTutors1
      @AceTutors1  8 місяців тому

      Thank you so much for saying that! I really appreciate the support!

  • @davidrogerdat
    @davidrogerdat Рік тому +31

    Great videos Mark, you inspire us every day with your slogan "You've big dreams, don't let a class get in your way."
    The likelihood of it being rain while picnic seems low, as it's less than 0.5 / 50%. So I think.i would still go on the picnic.

    • @AceTutors1
      @AceTutors1  Рік тому +3

      Thank you so much for your kind words and support! Ahh, you might have a higher risk tolerance than me! haha :)

  • @JulesMoyaert_photo
    @JulesMoyaert_photo 3 місяці тому +1

    At last! I got it! I wish my professor were so clear. Subscribed.

  • @ogunyebigbemi1061
    @ogunyebigbemi1061 Рік тому +7

    This is so beautiful.
    I didn't understand it really at first, but after now I have a pretty great idea of it

    • @AceTutors1
      @AceTutors1  8 місяців тому

      That's terrific to hear! That is exactly my goal with my videos!

  • @janfisher3303
    @janfisher3303 3 місяці тому +1

    Loved this, I never really understood until now after watching your tutorial..... Your a genius or just a great teacher, thank you. ❤

  • @TwoStepsTogether
    @TwoStepsTogether 5 місяців тому +1

    Thank you so much. It took 1 video of you understand 3 hours of lecture.

  • @RasikhMustafa
    @RasikhMustafa Місяць тому

    I struggled a lot to understand this and you have clarified this for me so well. Thank you.

  • @carlossantos6683
    @carlossantos6683 6 місяців тому +1

    That was easy and simple to understand. Master it is another thing, but my guess is that you saved me some precious time with this video. Thank you a lot.

  • @gouranga73
    @gouranga73 4 місяці тому +1

    This is really an excellent explanation of Bayes Theorem.

  • @muhammedlaminceesay7881
    @muhammedlaminceesay7881 11 місяців тому +1

    honestly u did better job than many others

  • @JanHergesel
    @JanHergesel 2 місяці тому

    Great video! The perfect first step to understanding Bayes' Theorem.

  • @suirvival3120
    @suirvival3120 10 місяців тому +3

    Please make more videos on the probabilities. Thank you so much We appreciate your effort.

  • @danielrasmussen4862
    @danielrasmussen4862 10 місяців тому +1

    English is not my first language and you still made it very easy :D

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

    I am from Bangladesh, have started to learn machine learning. For which I have to learn probability and statistics.
    I have clear out all the topics on probability by 11-12th books. But BAYES' THEOREM was seemed to tough to understand.
    So I came to UA-cam and saw lots of videos which was even approximately half an hour! Although they tried for a long time, they all were gloomy to understand.
    But your 8 minute video is so effective than all those videos. Thanks. I have subscribed your channel. I will visit again if any other topics I have to understand in future.

  • @PempheroMzembe
    @PempheroMzembe Місяць тому +3

    I have statistics mid semester exams and i'm hoping to get good grades 😊

  • @aabi.4286
    @aabi.4286 8 місяців тому +12

    How did you made your subscribe button glow at 0:25 ??

    • @user-lr3es8kj9m
      @user-lr3es8kj9m 11 днів тому

      UA-cam automatically does that, whenever the creator says "subscribe" the button glows in rainbow colour.

  • @Sal-uh4dw
    @Sal-uh4dw 10 місяців тому +1

    This was very helpful am taking statistics class and was so lost. Thanks

  • @John14vs6_
    @John14vs6_ 8 місяців тому +1

    God bless you sir for this video. I HAVE went through few videos on UA-cam and this was one of the best where my mind has understood this fully. Now lets see if you have stuff on Binomial distribution. Thanks just subscribed now

  • @z_wulf
    @z_wulf 8 місяців тому +1

    Amazing video, thank you for the explanation it finally clicked.

  • @emmanuelvictor8762
    @emmanuelvictor8762 3 місяці тому +4

    This is the best UA-cam video I've ever seen on bayes theorem I don't think I've ever understand bayes theorem as much as this before❤ 0.48 is not enough to make me cancel my picnic I think I will go for the picnic since it's 0.48% chance of rain 🌧️ ☔

    • @sanamparajuli2503
      @sanamparajuli2503 2 місяці тому

      It's 48% chance of rain.

    • @Nika-i6p
      @Nika-i6p 2 місяці тому

      How did u understand anything if you don t even know that 0.48 is 48%

  • @beccajamae
    @beccajamae 9 місяців тому +1

    THANK YOU!
    I was trying to learn Bayes' Theorem off the example of "Go For Broke" the gameshow. 🥵 my brain was twisting in on itself. THIS I can understand.

  • @blackgreybohemian
    @blackgreybohemian Місяць тому

    OMG THANK YOUUUUUUUUUUUUUUUUUUUUUUUU!!!!!!!!!!!!!!!!!
    You just made this SOOOOOOOOO much easier!! 😭 the instructions I had was really making me punch the air.
    Thank you, thank you, thank you! ♥

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

    it would make me 48% worried about rain and 48% considerable of postponing the picnic

  • @ciphernx
    @ciphernx 21 день тому

    Good and simple explanation. Thanks.

  • @The_Right_One1
    @The_Right_One1 7 місяців тому +5

    Which software are you using to make these videos?

  • @georgemouzakis8996
    @georgemouzakis8996 6 місяців тому +1

    Thank you. I'm still having concept issues. As a teaching technique is it possible for you to summarize the meaning of the numerator and what the denominator accomplishes in the equation

  • @aashitanoah7464
    @aashitanoah7464 Місяць тому

    Thanks a lot, I appreciate it. Tomorrow I have a quiz on probability theory and needed a quick revision of the topic.

  • @Maria_farah
    @Maria_farah 4 дні тому

    Very clear to understand thank you

  • @vignesh1606
    @vignesh1606 8 годин тому

    Sir You are just awesome....maintaining your work and contributing to students is great...😊 May i know which software you use to edit?

  • @just4simplegg428
    @just4simplegg428 11 днів тому

    This is an amazing video, thank you !

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

    Well done! Excellent Explanation. And I would definitely cancel the picnic I'm worry wart. LOL

  • @retrofrost9433
    @retrofrost9433 21 день тому

    Definitely demystified sir thank you ❤

  • @sbotros
    @sbotros Місяць тому

    Thank you. a great explanation for a rusty brain like mine!

  • @UKINFLUENCERS..2881
    @UKINFLUENCERS..2881 10 місяців тому +1

    Hi, so is conditional probability used with limited information in a question, however Bayes theorem can be used to answer a question that has more information? I'm just struggling with which one to use in an exam question

  • @iradukundacynthiaamal
    @iradukundacynthiaamal Рік тому +3

    Thank you soo much for well explaining this concept. I now can say that I understand it better!

    • @AceTutors1
      @AceTutors1  9 місяців тому

      That's amazing to hear! Thanks for watching!

  • @pinkywolfgaming1006
    @pinkywolfgaming1006 8 місяців тому +31

    i feel like i want to cry

  • @prilveshkrishna3952
    @prilveshkrishna3952 Рік тому +3

    So farthis is the best bayes explanation. Can you explain this thing using a venn diagram and a probability distribution for the cloudy rain example

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

      Thanks so much for your kind words! I'm not sure a probability distribution would help much, but some more Venn diagrams could be helpful! We'll consider this in a follow-up video! Thanks for the feedback!

  • @ogakjayoke6895
    @ogakjayoke6895 11 місяців тому +1

    Thanks for your videos. It helped a lot. Please do something on hypothesis. Thanks

  • @saikatsen391
    @saikatsen391 8 місяців тому

    Very precisely explained.Thank you Sir❤

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

    How you will connect prior and posterior terms with this?

  • @cemcanbolat8968
    @cemcanbolat8968 10 місяців тому +3

    I think this solution is incorrect actually. We should have calculated P(C) with the rainy days' 0.85 ratio with the formula : P(C)=P(C∣R)×P(R)+P(C∣¬R)×P(¬R) where C is being cloudy and R is rainy. So it would be 0.12 for P(C∣R)×P(R) and 0.215 for P(C∣¬R)×P(¬R) and the calculations made it's 0.36. Can you clarify please

  • @pranavkapur6389
    @pranavkapur6389 Місяць тому

    very helpful great example used

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

    Wow fairly good explanation. i just understand it perfectly today. However, in the process, i found another better way to comprehend this theorem.
    To those who still do not understand. Read this.
    First you must understand what p(a/b) is. It is the probability that a happening when we already know that b happened.
    To find p(a/b) we need to find prob that a and b happening at the same time , and divided it by prob of b happening.
    To find prob that and b happening at the same time (p (a interect b)), you can find that indirectly from prob that b happening when we already know that a happened multiplied by prob of a happening
    Ah.... i need a pen and a paper to convey this concept 🙄

  • @quynhd.2334
    @quynhd.2334 10 місяців тому +1

    I think the most difficult part overall regarding to probability problems... are the wordings. They seem to be confusing

  • @md.iftekharzawad8830
    @md.iftekharzawad8830 Місяць тому

    Thanks bro
    you earned a sub

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

    superb video. How easily the theorem is explained with the help an excellent example...thanks.

  • @lisamariechilima2878
    @lisamariechilima2878 7 днів тому

    Can you please make a video on linear regression and correlation

  • @emanshaker-w2b
    @emanshaker-w2b Місяць тому

    Thank you very, very much😊

  • @mustafizurrahman5699
    @mustafizurrahman5699 2 місяці тому

    Mesmerizing awesome for beginners

  • @hamsterman1571
    @hamsterman1571 Рік тому +2

    love your work man, keep up the good work!

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

      Thank you so much for the support!

  • @soulsearch4077
    @soulsearch4077 3 місяці тому

    You did great. 👍🏻

  • @fahad_hassan_92
    @fahad_hassan_92 Рік тому +2

    Great videos man they help a lot

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

      Thank you so much! I appreciate it!

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

    Super helpful and straightforward. Thank you sir please keep posting

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

    It indeed helped ! appreciate it gentleman

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

      Great, I'm so glad! Thanks for your support!

  • @TheSonicSegaNerd
    @TheSonicSegaNerd 6 місяців тому

    Thank you for creating this theorem, Bae 😍

  • @Akshita-m2d
    @Akshita-m2d 10 місяців тому

    Thank you so much for this vid man, your method of explanation was impressive

  • @AmmarYasser_13
    @AmmarYasser_13 17 днів тому

    absolutely AMAZING

  • @ambarishdas649
    @ambarishdas649 4 місяці тому

    Very nicely explained

  • @trainingbrah4018
    @trainingbrah4018 8 місяців тому

    So what you’re saying (if I pause the video @6:23) is:
    If the probability of it being cloudy outside is 4 times greater if it also rains that day, then the probability of it raining on any given day is also 4 times greater if it happens to be a cloudy day?

    • @trainingbrah4018
      @trainingbrah4018 8 місяців тому

      I essentially just pretended that P(cloudy) was equal to 0.2 instead of 0.25, and then I just isolated the ratio of: P(cloudy/rain)/P(cloudy)

    • @trainingbrah4018
      @trainingbrah4018 8 місяців тому

      Given the statement "it’s 4 times more likely to be cloudy outside, given it is also raining," we can express this as:
      P(Cloudy | Rain) = 4 * P(Cloudy)
      Substituting this into the Bayes' theorem equation, we get:
      P(Rain | Cloudy) = (4 * P(Cloudy) * P(Rain)) / P(Cloudy)
      The P(Cloudy) term cancels out, resulting in:
      P(Rain | Cloudy) = 4 * P(Rain)
      So, yes, from a simple Bayesian probability standpoint, if it's 4 times more likely to be cloudy outside given that it's raining, then it's 4 times more likely to rain given that it's cloudy outside.

  • @Nightmact
    @Nightmact 2 місяці тому

    Thank u for getting me
    good sleep

  • @pardhatejakalla1974
    @pardhatejakalla1974 10 місяців тому

    Can we solve the same example by conditional probability?

  • @MariaKaandje-ss7qv
    @MariaKaandje-ss7qv 6 місяців тому

    great, great and best explanation

  • @zianiera
    @zianiera 6 місяців тому

    Good explanation.Thank you

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

    Omg thank you sir thank you so much ❤ the way u explained it,, cleared my all doubts regarding this topic ❤

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

      That's really awesome to hear! Thanks for the kind words!

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

    I'm still puzzeld on which data is A and which is B - and why. Swapping things around changes the outcome of the formula, doesn't it?

  • @soundharyasfeed7374
    @soundharyasfeed7374 10 місяців тому

    This was super helpful thank you!

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

    this was great thnx for the example

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

    Dude, when the guy says hit the subscribe button, the button lights up. I noticed it just now

  • @mandelbrot3162
    @mandelbrot3162 Рік тому +3

    This series is amazing. Must have been hard to make these beautiful animations. Thank you so much❤.
    Can you please make two more distributions viz:
    1. "Poisson Distribution" and
    2. "Exponential Distribution"
    And explain the intuition behind the mean and standard deviation in these distributions like you did in Uniform distribution video?

  • @Annes81-ro5xt
    @Annes81-ro5xt Рік тому

    Super explanation. Thanks Sir

  • @sofiane1unique
    @sofiane1unique Місяць тому

    thank you for this sharing

  • @AishwaryaTikle
    @AishwaryaTikle 5 місяців тому

    Thank you NRI ❤

  • @ashimasingh9906
    @ashimasingh9906 5 місяців тому

    Thanks for the concept ☺️ I think I will try to reschedule 😅❤

  • @mr_eshwaran
    @mr_eshwaran 4 місяці тому

    That's so helpful ❤🤝

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

    hi I want to ask so in this case what the addictional knowledge? the probability of beibg cloud?

  • @ranjaniHeHe
    @ranjaniHeHe 17 днів тому

    Ek thanks toh banta hein!😛❤

  • @minimin-wj8vp
    @minimin-wj8vp 10 місяців тому

    Super helpful ,Thank you 🌹

  • @user-krp100
    @user-krp100 Рік тому

    Great explaination sir

  • @rocco3935
    @rocco3935 6 місяців тому

    if one knows that there are 12 rainy cloudy days (the 80% of 15) in 100 days and 25 cloudy days in total why one can’t just calculate 12/25= 0.48, without all the machinery and the language that the Bayes formula brings along? Is there something wrong in just applying the definition of probability?

  • @mayag3808
    @mayag3808 Місяць тому

    Great job

  • @purv_vlogs
    @purv_vlogs 10 місяців тому

    Good explanation 🎉

  • @Brian-zj4mm
    @Brian-zj4mm 11 місяців тому

    Depends on how much you like picnics, how often you want to go on picnics, if you think rain ruins it and maybe you might already think a cloudy day isn't nice for picnics.
    But before we think about that, let's think about the ethics of holding a picnic and it's core components. We NEED to apply divide and conqure on this problem before we could even start to make a decision.
    We might even need to apply derivatives to calculate the slope at how long the picnic takes (x) and how much fun it is (y). Then we can decide the optimal time to hold the picnic 🙊

  • @thienyetan2035
    @thienyetan2035 5 місяців тому

    I would have liked if you incorporated dark clouds vs white clouds in the calculation.

  • @sidhartsatapathy1863
    @sidhartsatapathy1863 6 місяців тому

    Do you use the Python library called "manim" to create these beautiful animations for your great videos.

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

    That's great when the example gives what P A|B is

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

    TL;DR - I would postpone the picnic!
    - not rain is 1.08x more likely to cloudy than rain.
    - not rain is 24.00x more likely to not cloudy than rain.
    - cloudy is 12.00x more likely to rain than not cloudy.
    - not cloudy is 1.85x more likely to not rain than cloudy.
    - cloudy given rain is 5.23x more likely than cloudy given not rain.
    - not cloudy given not rain is 4.24x more likely than not cloudy given rain.
    Let’s say the prevalence or prior probabilities for rain is 15.00% (odds of 0.18x or chances of 100 for every 667), and for not rain is 85.00% (5.67x or 100 for every 118), whether or not cloudy. In a world of rain, 80.00% (4.00x or 100 for every 125) is cloudy, let’s say, and 20.00% (0.25x or 100 for every 500) is not cloudy. In a world of not rain, 15.29% (0.18x or 100 for every 654) is cloudy, let’s say, and 84.71% (5.54x or 100 for every 118) is not cloudy. Thus, rain is 5.23x as likely cloudy as not rain. Also, rain is 0.24x as likely not cloudy as not rain. We know this as the Likelihood Ratio, Risk Ratio, or Bayes Factor.
    The Relative Risk Increase is 423.22%, and the Absolute Risk Increase is 64.71% (1.83x or 100 for every 155). The prevalence of cloudy, or not cloudy, regardless of rain or not rain, is 25.00% (0.33x or 100 for every 400), and 75.00% (3.00x or 100 for every 133), respectively.
    Therefore, which is more likely? In a world of cloudy, the posterior probability of rain is 48.01% (0.92x or 100 for every 208), and not rain is 51.99% (1.08x or 100 for every 192). In a world of not cloudy, the posterior probability of rain is 4.00% (0.04x or 100 for every 2500), and not rain is 96.00% (24.00x or 100 for every 104).
    That's an Attributable Risk or Risk Difference of 44.01% (0.79x or 100 for every 227). The Accuracy Rate (that is, 'true-positive' and 'true-negative') is 84.00% (5.25x or 100 for every 119), and the Inaccuracy Rate (that is, 'false-positive' and 'false-negative') is 16.00% (0.19x or 100 for every 625). The probability of rain, and cloudy is 12.00% (0.14x or 100 for every 833). The probability of rain, and not cloudy is 3.00% (0.03x or 100 for every 3333). The probability of not rain, and cloudy is 13.00% (0.15x or 100 for every 769). The probability of not rain, and not cloudy is 72.00% (2.57x or 100 for every 139).
    Sensitivity analysis:
    What would the prevalence or prior probabilities for rain, and not rain, whether or not cloudy, need to be such that in a world where rain given cloudy, and not rain given cloudy, that both these posterior probabilities are equally likely? In other words, we’d be indifferent? The prevalence of rain would need to be 16.05% (0.19x or 100 for every 623), and not rain would need to be 83.95% (5.23x or 100 for every 119), all else being equal.
    Similarly, what would the prevalence or prior probabilities for rain, and not rain, whether or not not cloudy, need to be such that in a world where rain given not cloudy, and not rain given not cloudy, that both these posterior probabilities are equally likely? In other words, we’d be indifferent? The prevalence of rain would need to be 80.90% (4.24x or 100 for every 124), and not rain would need to be 19.10% (0.24x or 100 for every 524), all else being equal.
    What would the consequent probabilities or likelihoods for cloudy given rain, and not cloudy given rain, need to be such that in a world where rain given cloudy, and not rain given cloudy, that both these posterior probabilities are equally likely? In other words, we’d be indifferent? The likelihood of cloudy given rain would need to be 86.64% (6.49x or 100 for every 115), and not cloudy given rain would need to be 13.36% (0.15x or 100 for every 749), all else being equal.
    Similarly, what would the consequent probabilities or likelihoods for cloudy given not rain, and not cloudy given not rain, need to be such that in a world where rain given cloudy, and not rain given cloudy, that both these posterior probabilities are equally likely? In other words, we’d be indifferent? The likelihood of cloudy given not rain would need to be 14.12% (0.16x or 100 for every 708), and not cloudy given not rain would need to be 85.88% (6.08x or 100 for every 116), all else being equal.

    What would the consequent probabilities or likelihoods for cloudy given not rain, and not cloudy given not rain, need to be such that in a world where rain given not cloudy, and not rain given not cloudy, that both these posterior probabilities are equally likely? In other words, we’d be indifferent? The likelihood of cloudy given not rain would need to be 96.47% (27.33x or 100 for every 104), and not cloudy given not rain would need to be 3.53% (0.04x or 100 for every 2833), all else being equal.
    Using the Wald test, the relationship or association between rain or not rain, and cloudy is statistically significant (n=10,000). Odds Ratio (OR) = 22.16, p < .001, 95% Confidence Interval (CI) [19.27, 25.48]. We can say the same between rain or not rain, and not cloudy. OR = 0.05, p < .001, 95% CI [0.04, 0.05]. By changing P(E|H') of 15.29% such that the OR would be 19.27 - 25.48, then P(H|E) = 45.10% - 50.99%. Therefore, I would postpone the picnic!

    Bayes’ Rule: P(H|E) = P(H) x P(E|H) / P(H) x P(E|H) + P(H’) x P(E|H’)
    Contingency Table:
    ||H|H’|Total|
    |:-:|-:|-:|-:|
    |E|1200|1300|2500|
    |E'|300|7200|7500|
    |Total|1500|8500|10000|

  • @mukamafrancois2776
    @mukamafrancois2776 2 місяці тому

    clearly understandable

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

    Ive seen bayes theorem be written as P(Ei|A) = P(Ei)P(A|Ei) / ∑ P(Ek)P(A|Ek)
    can you explain this version?

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

      Great point! This version is a more general formula if there are more than 2 events being considered. In this video, we just used the simplified version of 2 events to make it easier.

  • @successfulvictorypublisher6090
    @successfulvictorypublisher6090 10 місяців тому

    Thank you so very much!