Calculating conditional probability | Probability and Statistics | Khan Academy

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ธ.ค. 2024

ความคิดเห็น • 153

  • @rahulsbhatt
    @rahulsbhatt 6 ปีที่แล้ว +457

    I m Rahul, and I approve this 💫

  • @kevinfarrell9304
    @kevinfarrell9304 8 ปีที่แล้ว +607

    rahul got hella cholesterol

  • @ladyammox8314
    @ladyammox8314 8 ปีที่แล้ว +83

    Thank you!
    It's always disappointing when I finally learn the material that I struggle to understand just to find out that it was actually quite simple.

  • @mikecherri
    @mikecherri 5 ปีที่แล้ว +59

    Gosh I’m still confused!! I gotta rewatch this at a later time maybe it would make a difference

    • @putiest4821
      @putiest4821 5 ปีที่แล้ว +5

      Me too haha!

    • @Uhnvlog
      @Uhnvlog 3 ปีที่แล้ว +4

      I’m about to have a test on these and im so scared 😭

  • @socialistcna6061
    @socialistcna6061 3 ปีที่แล้ว +26

    This requires you to already know how to calculate conditional probability. In the third line, in yellow, you keep re-using the number 0.35, without which you could not have solved the problem. But getting the 0.35 required you to already know how to solve the problem P(A|B) which is already caclulating conditional probability. It doesn't do any good to tell someone that they need to know how to calculate conditional probability before they learn how to calculate conditional probability.

    • @bilalbaig8586
      @bilalbaig8586 3 หลายเดือนก่อน

      No. P(A and B) was calculated by P(A given B) * P(B).
      If A and B were independant of each other then P(A and B) would be simply be P(A) * P(B) because neither events affects the outcome of the other event. But because the P(A) changes depending on the outcome of B so we have to take into account this difference when calculating the probability of both events occuring hence we use the value of P(A given B) which incorporates the extra information of the event "B is true".
      Therefore P(A and B) = P(A given B) * P(B)
      Then inverse also holds true i.e. P(A and B) = P(B given A) * P(A)
      Both of these have the common expression P(A and B) on the LHS hence we can equate them.
      Hence proved P(A given B) * P(B) = P(B given A) * P(A)
      3Blue1Brown has a very nice visualisation showing why this is true on his channel.

  • @Nayarrrrrr
    @Nayarrrrrr ปีที่แล้ว +5

    Finally able to understand this topic...... For 5 months been struggling and u just washed it away in a matter of 6 minutes. Thank u

  • @MrArielnyalila
    @MrArielnyalila 7 ปีที่แล้ว +112

    I khan not think of anyone who would explain this like you

  • @vizuboygaming
    @vizuboygaming 3 ปีที่แล้ว +8

    The biggest thing is writing out what you know. What is P(A)? P(B)? P(A|B) or P(B|A)? They have to give you some information. Once you write out what you know, you can find out what you don't know. Also, making a table helps as well if you are more of a visual person.

  • @miguelmontes5242
    @miguelmontes5242 5 ปีที่แล้ว +13

    Dont get the logic of the formula P(A and B) = P(A|B) * P(B). But this channel is fantastic!

  • @optionstrader4624
    @optionstrader4624 4 ปีที่แล้ว +7

    The way I was taught P(A and B) was like saying probability of (A and then B) ... From this it makes intuitive sense that it follows P(A) *P(B|A) because A happened first ... Not sure how you can switch it to say P(B) *P(A|B) without switching it to say P(B and A) which we know P(A and B) is not equal to P(B and A)

  • @Barbs102859
    @Barbs102859 10 ปีที่แล้ว +14

    Thanks man this is exactly what I need help with. YOU are a life saver my friend! God bless you. You beautiful being!

  • @aravsingh2588
    @aravsingh2588 8 ปีที่แล้ว +21

    I was trying to find out how to find P(A and B) and I was searching all of this up on google and kept going in circles without an answer spending 10 minutes struggling. I come here and get the answer in the first 3.5 minutes.

  • @anannyasaxena7896
    @anannyasaxena7896 7 ปีที่แล้ว +110

    Rahul is an indian, he eats parantha for breakfast and chawal for lunch.

    • @gary7536
      @gary7536 6 ปีที่แล้ว +3

      Anannya Saxena that is my exact diet

    • @rchtchauhan
      @rchtchauhan 3 ปีที่แล้ว +1

      Indian*

    • @rahulsbhatt
      @rahulsbhatt 3 ปีที่แล้ว

      Approved 👍

    • @bobproctor-ev4bc
      @bobproctor-ev4bc 3 ปีที่แล้ว +1

      lol, right !!

  • @theknightgirls
    @theknightgirls 6 ปีที่แล้ว +5

    totally understand dependent and independent probability now, thanks so much! i have a unit test tomorrow.

  • @ViolinistJeff
    @ViolinistJeff 4 ปีที่แล้ว +3

    I think you should mention that we´re looking at the events in the day as non-linear space time, just as Einstein saw it, because if you look at it as a regular time line you will get confused. I mean, how does eating pizza for lunch affect the probability of something that ALREADY OCCURRED IN THE PAST, a decision that was already made (i.e. what Rahul ate for his previous breakfast).

  • @jackfukin3089
    @jackfukin3089 ปีที่แล้ว +1

    I think the biggest problem with probability is English
    Because this guy was saying find the intercepts given the conditional probability of one side (pause finding the conditional probability is intercept over the sample space of the condition) so to find the interceptor multiply the given the conditional probability and the sample space

  • @viraj_singh
    @viraj_singh 6 ปีที่แล้ว +19

    Actually you've used Bayes theorem indirectly. This could be a good way to prove Bayes theorem.

  • @johnnikkie1429
    @johnnikkie1429 6 ปีที่แล้ว +21

    Take a shot everytime he says probability ;)

  • @sandygan4054
    @sandygan4054 4 ปีที่แล้ว +7

    Thank you very much, this is easy to understand & very helpful!

  • @slowjocrow6451
    @slowjocrow6451 7 หลายเดือนก่อน

    Who is the teacher. I want him to explain all my math to me. This is so well explained, thank you

  • @rafaeldelavega8193
    @rafaeldelavega8193 6 ปีที่แล้ว +3

    this is definitely helpful for this midterm i have in one hour

    • @Bruhplease-t1p
      @Bruhplease-t1p 3 ปีที่แล้ว +1

      How'd it go?

    • @StimZlol
      @StimZlol 3 ปีที่แล้ว +1

      @@Bruhplease-t1p good thanks for asking

    • @StimZlol
      @StimZlol 3 ปีที่แล้ว +1

      @@Bruhplease-t1p I finally became a doctor

  • @straightoutofstrat8722
    @straightoutofstrat8722 7 ปีที่แล้ว +5

    Omgness l just about understand this let's see if in two hours time I have managed to retained this information. If l do well l have managed to surprise myself.

  • @felipegarcia2269
    @felipegarcia2269 6 ปีที่แล้ว +6

    I never comment but I hope this finds you ... you are the greatest teacher ever

  • @dannyclub09
    @dannyclub09 4 ปีที่แล้ว +4

    I understand it up to 3:40. Can anyone explain it? He says that P(B/A) x P(A) is the equivalent of the aforementioned equation. But isn't P(B/A) what he's TRYING to find? So how can he start including it in the equation? And then he doesn't explain why he divides it by 0.6?

    • @Naddi_
      @Naddi_ 2 ปีที่แล้ว

      it is similiar to when x is in a maths equation. you want find that certain x and thats when you start to balance everything out.

    • @dannyclub09
      @dannyclub09 2 ปีที่แล้ว +2

      @@Naddi_ Thankfully I'll never have to understand this again

    • @Naddi_
      @Naddi_ 2 ปีที่แล้ว

      @@dannyclub09 lucky, i still have exams this year and i cant wait to burn my maths notes

    • @ibracadabra78327
      @ibracadabra78327 3 หลายเดือนก่อน

      0.7 / 0.6 = 1,166, and 1,166 x 0.5 = 0,583

  • @vwlz8637
    @vwlz8637 7 ปีที่แล้ว +7

    Just ate a pizza for lunch! Travelling back in time to eat bagel for breakfast!

  • @erriedigtal
    @erriedigtal ปีที่แล้ว

    thank you, you explained it better than my professor :D!

  • @homista
    @homista 10 ปีที่แล้ว +3

    The ratio of P(A) to P(A\B) is 0.857, which is also the ratio that P(B) is to P(B\A).
    Is this true for all cases of dependent probability?

  • @liwaiyip1769
    @liwaiyip1769 4 ปีที่แล้ว +3

    For those who are confused why P(A and B) = P(A | B) * P(B) check out this probability rule.
    The rule states: P(A|B) = P(A and B) / P(B)
    So we put P(B) to the left side we get: P(A|B) * P(B) = P(A and B)

  • @CreeperG0d
    @CreeperG0d 3 ปีที่แล้ว +1

    Man thnx so much, I was struggling with this. But now I found the solution, useful explanation for any similar problem.

  • @MrJ3
    @MrJ3 10 ปีที่แล้ว +3

    VERY informative and simple video.

  • @JariMustafa
    @JariMustafa 10 ปีที่แล้ว +8

    Thanks. This helped a lot :)

  • @masumaakhter4946
    @masumaakhter4946 9 หลายเดือนก่อน

    Alhumdulillah I've found this ❤

  • @Ochxchii
    @Ochxchii 10 หลายเดือนก่อน

    The fact that my teacher did horrible with explaining this, left me completely confused, just for me to find this video and realize it is quite rather simple.

  • @noeggarcia19
    @noeggarcia19 8 ปีที่แล้ว +12

    All Hail Kahn

  • @redwings02
    @redwings02 5 ปีที่แล้ว +2

    I don't understand the conditional probability P (A | B) when you can't eat breakfast before lunch. Doesn't the dependent variable have to come AFTER the independent variable?

  • @beccaboo1820
    @beccaboo1820 7 ปีที่แล้ว +5

    #blessKahn I thought I was gonna fail my stats test , lol I prob will but at least I'll get a higher score than I would've if I didn't study 😂

  • @asmaaalhibshi2670
    @asmaaalhibshi2670 7 ปีที่แล้ว +1

    You sir are awesome 🙏🏻🙏🏻

  • @BossGIsaac
    @BossGIsaac 7 ปีที่แล้ว +1

    thanks, helped a lot

  • @alexisarianna940
    @alexisarianna940 2 ปีที่แล้ว

    This is so complicatedddd like it just isn’t clicking in my head

  • @ishaanashwin2439
    @ishaanashwin2439 2 ปีที่แล้ว

    The way I did it was
    P(A|B)= P(A and B)/P(B)
    That gave P(A and B)= 0.35
    So P(B|A)= P(A and B)/P(A)
    O.35/0.6 = 0.58333

  • @GigaLordShinyMudkip1
    @GigaLordShinyMudkip1 7 ปีที่แล้ว +1

    Thank you very much.

  • @legend7890
    @legend7890 3 ปีที่แล้ว

    P(A and B) = P(B and A). But, P(A | B) does NOT equal P(B | A). P( A | B) = P( A and B)/P(B) --(i) and
    P(B | A) = P(B and A)/P(A)-- (ii). We are given P(A | B) and to find P( B | A) we need P( B and A). We know that P(B and A) = P(A and B). We find P(A and B) by rearranging the equation i, and use the result as P( B and A).

  • @kunjanambitions
    @kunjanambitions 8 ปีที่แล้ว

    use this 2 formula p(A/B)=p(A and B)/p(b)
    and
    p(A and B)=p(A)*p(B/A)

  • @DeViantwo
    @DeViantwo 9 ปีที่แล้ว +5

    what is the program used here?

  • @lifewithdylan
    @lifewithdylan 7 ปีที่แล้ว +4

    exam in 2 weeks!

  • @stevefriedlander7053
    @stevefriedlander7053 6 ปีที่แล้ว +6

    Where does the .05, .06 & .07 come from to begin with?

    • @InvaderG
      @InvaderG 6 ปีที่แล้ว +1

      Steve Friedlander the problem above mate. it gives you those numbers.

    • @hlpenguin8278
      @hlpenguin8278 5 ปีที่แล้ว

      Read my man

  • @philtrem
    @philtrem 10 ปีที่แล้ว +2

    This is not how I've done it. I actually solved it mentally using the following logic:
    1. The probability that B follows A (given that B occured) is 0.7.
    2. B happens with a probability of 0.5.
    3. The total probability of A occuring is 0.6, out of that, we know that (0.5 * 0.7) is the portion where A precedes B (or, B follows A) since B happens with a probability of 0.5 and once B happens, A has a probability of 0.7 of having occured.
    Essentially, this maps out as:
    p(B|A) = p(B) * p(A|B)
    ______________
    p(A)
    I just hope it's correct. I must admit I struggle a bit with probability. I always try to solve it without formulas, using a problem-solving approach instead (manipulating the problem in my head and going around it)

  • @kedirhassen601
    @kedirhassen601 7 ปีที่แล้ว

    Thanks so much I understand it

  • @corey333p
    @corey333p 5 ปีที่แล้ว

    Neat. Cool. Thanks.

  • @ViolinistJeff
    @ViolinistJeff 4 ปีที่แล้ว

    So the problem said "On a randomly selected day, the probability that Rahul will eat a bagel for breakfast is 0.6, and the probability that he will eat pizza for lunch is 0.5. The conditional probability that he eats a bagel for breakfast, given that he eats pizza for lunch, is equal to 0.7."
    This is like saying that if Rahul eats a pizza for lunch, the probability of him eating (or having eaten) a bagel for breakfast increases from 0.6 to 0.7.
    Am I correct?

  • @damienpride9860
    @damienpride9860 ปีที่แล้ว +23

    Makes no sense

  • @Rahul-ef2ou
    @Rahul-ef2ou 3 ปีที่แล้ว +1

    Came to study probability, left wondering if i am obese 😞

  • @nt6987
    @nt6987 8 ปีที่แล้ว

    very useful

  • @juanespinoza-yx6jq
    @juanespinoza-yx6jq 2 ปีที่แล้ว +1

    What’s the probability that (B) will happen if (A) doesn’t happen

    • @juanespinoza-yx6jq
      @juanespinoza-yx6jq 2 ปีที่แล้ว

      To many missing information like how’d they come to .6 is he able to eat pizza for breakfast or is it that he can only eat a bagel for breakfast and only pizza for lunch and does he have to eat lunch and breakfast or can he choose to skip them if he can choose it’s just 2 out comes he eats or he doesn’t and also only 2 options of food pizza or bagel

  • @stephenprice3357
    @stephenprice3357 6 ปีที่แล้ว +7

    this video confused me even more thanks

  • @ibracadabra78327
    @ibracadabra78327 3 หลายเดือนก่อน

    I did it faster by 0.7 / 0.6 = 1,166, and 1,166 x 0.5 = 0,583

  • @junnom3029
    @junnom3029 7 ปีที่แล้ว +2

    Why does P(A|B)*P(B)? This is not explained.

    • @jasg9060
      @jasg9060 7 ปีที่แล้ว

      same thoughts. the irony when he said that P(A|B) is dependent to P(A).

  • @accumulator4825
    @accumulator4825 2 ปีที่แล้ว

    How can we make a conclusion about what Rehul wants for lunch, given that he has decided to have a Bagel for breakfast? Couldn't he have some weird preference for lunch for the specific scenario where he has already had a bagel for lunch?

  • @rhineyt5202
    @rhineyt5202 3 ปีที่แล้ว

    we can also solve this using bayes theorem?

  • @jacksonjoestar5035
    @jacksonjoestar5035 7 ปีที่แล้ว

    Why does the audio of every video but Khan Academy videos play!? KHAAAAAAAAAAAAAAAAAAAN!!!!!

  • @zoeschipper4311
    @zoeschipper4311 8 ปีที่แล้ว

    This is so damn good!!! Thank very much!

  • @fortunatesadiq9662
    @fortunatesadiq9662 2 หลายเดือนก่อน

    hey, i have a problem where we are given the probability of A and B only and we are asked to find probability of (A U B) WHICH IS DIFFICULT TO FIND BECUASE WE ARE NOT GIVEN P(B/A) OR P(A/B)

  • @luciaremisova6248
    @luciaremisova6248 3 ปีที่แล้ว

    I don't get how P (A and B) is equal to P (A I B)* P(B). If we were counting just P (A and B) we would use just a multiplication formula --> P (A) * P (B) = 0.6*0.5 = 0.30 not 0.35. Can someone explain this please?

  • @darksavior1187
    @darksavior1187 7 ปีที่แล้ว

    The probability that Rahul will eat Bagel Bites for every meal is 100%

  • @rahul-xq4eu
    @rahul-xq4eu ปีที่แล้ว

    i'm rahul and i can confirm that i love bagels and pizzas 👍

  • @liibbykniight
    @liibbykniight 7 ปีที่แล้ว +38

    This doesn't make sense

    • @google-is-a-stupid-piece-o2543
      @google-is-a-stupid-piece-o2543 6 ปีที่แล้ว +5

      It does, though.

    • @traxgod
      @traxgod 6 ปีที่แล้ว +3

      3:32 it says "I hope this makes sense" what if it doesn't? I don't get it either.

    • @icosmini
      @icosmini 6 ปีที่แล้ว

      It does, dough.

    • @tyshonwhite4743
      @tyshonwhite4743 6 ปีที่แล้ว

      Same

    • @thugjuice69
      @thugjuice69 5 ปีที่แล้ว

      Tyshon White It does, though.

  • @coldbrewed8308
    @coldbrewed8308 ปีที่แล้ว

    I have a question. What's is the probability that rahul eats pizza for dinner if he had it for lunch? considering same probabilities.

  • @anoirtrabelsi8645
    @anoirtrabelsi8645 10 ปีที่แล้ว

    AMC ; AIME ; IMO ... Pleaase !!

  • @claytonwoodcock6942
    @claytonwoodcock6942 6 ปีที่แล้ว

    How can this example make logical sense? One test subject (Rahul) was observed X number of days to give the probability of A and B happening (distinct values given for each event!). Now A and B are observed to happen on the same day. So how can you have a distinct number such as the value for A occurring and then a distinct number of B occurring GIVEN that they are both dependent on each other happening. I would argue that you could not have this example, A (as given to us here) can be dependent on B but B cannot be dependent on A this would create (in my mind ) a circular argument. How could you observe independent values for A and B if they are both occurring in the same system. If I am right then this is example was created by a none scientist. The only way ( that I can see) someone generating this question is if they have never performed an experiment. Otherwise, you would see the flaw in observing 1 test subject and coming up with Values (A or B) which are "constants" yet dependent on each other. This is an excellent example of how you can use math to get a number that means nothing.

  • @BaByEfrain
    @BaByEfrain 9 ปีที่แล้ว

    Katherine typically gets two types of alcoholic beverages at the bar. She will either order
    a midori sour 40% of the time or order an AMF. After her first drink, Katherine can
    either decide to order a water or another alcoholic beverage. If she orders a midori sour,
    she decides to get a glass of water 20% of the time and if she orders an AMF, she tends
    to order a glass of water 55% of the time. If we know that she ordered a water as her
    second drink, what is the probability that he first drink was an AMF?

  • @SkateWake1994
    @SkateWake1994 6 ปีที่แล้ว

    why does he multiply P(A|B) x P(B) and not add them instead?

  • @papabear6431
    @papabear6431 3 ปีที่แล้ว

    They really just used B for Pizza instead of B for the Bagel

  • @mabulemodiba9562
    @mabulemodiba9562 6 ปีที่แล้ว

    There are more things but I won't mention them cause I don't want to be 'That guy', I probably already am but...

  • @ViolinistJeff
    @ViolinistJeff 4 ปีที่แล้ว

    The problem stated that the conditional probability of eating a bagel for breakfast is dependent on the probability of eating a pizza for lunch.
    The problem NEVER stated the possibility of the reverse: that the probability of eating a pizza for lunch could ever depend on the probability of eating a bagel for breakfast. So I don´t follow the logic.

  • @jakubaipldauer2786
    @jakubaipldauer2786 6 ปีที่แล้ว

    Can someone explain me what does "given" in math mean? A was not able to find out how to translate it to my language.

    • @enochjohnson9149
      @enochjohnson9149 6 ปีที่แล้ว +2

      It means what you already know. For example let's say " how many boys are in a classroom of 30 students, Given that 14 students are girls?"
      So we use what is given to help us find our answer because we already know it's value.
      So 30-14 = 16
      By using what is given we came to the conclusion that there are 16 boys in the class.

    • @jakubaipldauer2786
      @jakubaipldauer2786 6 ปีที่แล้ว

      Enoch Johnson Thanks.

  • @s1ight
    @s1ight 3 ปีที่แล้ว +1

    why does rahul eat lunch before breakfast?

  • @hmunoz314
    @hmunoz314 4 ปีที่แล้ว

    P(A & B)=0.3..... not 0.35?
    so it should be 0.5?

  • @helloiamthechosenone
    @helloiamthechosenone 6 ปีที่แล้ว +1

    half of all lunches that R eats is pizza haha

  • @onepunchmanseason2epictv216
    @onepunchmanseason2epictv216 6 ปีที่แล้ว

    rahul is eating like its his last day on earth lol or he has a probability test tmr

  • @laurellion3567
    @laurellion3567 5 ปีที่แล้ว

    This isn't really relevant, but why would they make Bagel for Breakfast A instead of B?

    • @cabfare4601
      @cabfare4601 5 ปีที่แล้ว

      I was thinking the same, but yeah no big deal.

  • @RickyVWorld
    @RickyVWorld 8 ปีที่แล้ว +2

    What is the probibility that in an exam the guy in the question will have an Arabic name?

  • @laughicious
    @laughicious 7 ปีที่แล้ว +5

    next time please give us the formula first then work through the example instead of expecting us to work through it without the formula - thanks

  • @xagamers8109
    @xagamers8109 5 ปีที่แล้ว +1

    0.5 divide by 0.6 x 0.7 lol

    • @TheBrownSugaBabe
      @TheBrownSugaBabe 5 ปีที่แล้ว

      divided again by 100 will give you 0.583333333 THANKS THAT WAS SO MUCH EASIER - my one question is this, how did he get 0.7 from 0.5 & 0.6?

  • @roberts9590
    @roberts9590 8 ปีที่แล้ว

    how do you get 0.7?

    • @ThePunisher0313
      @ThePunisher0313 8 ปีที่แล้ว

      +Robert Surrett it is in the question

  • @PankajSingh-dc2qp
    @PankajSingh-dc2qp 7 ปีที่แล้ว

    why u make it so complec. just use Bayes theorem.

    • @elon.2193
      @elon.2193 7 ปีที่แล้ว +3

      he just gave the intuition for it. People like you don't understand how and why something works and are almost like machines.

  • @cardguys
    @cardguys 5 ปีที่แล้ว +1

    Ra-HOOOL

  • @gunnercat8045
    @gunnercat8045 6 ปีที่แล้ว

    where the heck did he get 0.35?

  • @sherrythomas8359
    @sherrythomas8359 6 ปีที่แล้ว

    im still confused

  • @itsfabiolous
    @itsfabiolous 4 ปีที่แล้ว

    You calculate bayes and not conditional probability my friend

  • @TaiDye21
    @TaiDye21 ปีที่แล้ว

    This is still soo hard to understand 😭

  • @mehwishshah4979
    @mehwishshah4979 5 ปีที่แล้ว

    Just ok🤨

  • @SR-kz9un
    @SR-kz9un 4 ปีที่แล้ว

    What? ! I'm so lost

  • @abrabr247
    @abrabr247 6 ปีที่แล้ว

    dont say a and b say the example meaning

  • @trevtv1004
    @trevtv1004 5 ปีที่แล้ว

    I don't understand how come you guys can't just have easier questions or not repeat the same process for each problem
    coin, deck of cards none of these helping me

  • @adamlk100
    @adamlk100 7 ปีที่แล้ว

    QUIT REPEATING YOURSELF. WASTES SO MUCH TIME

  • @jeremiahmathew3703
    @jeremiahmathew3703 4 ปีที่แล้ว +1

    Don’t make sense

  • @denden4455
    @denden4455 3 ปีที่แล้ว

    Бред

  • @mabulemodiba9562
    @mabulemodiba9562 6 ปีที่แล้ว

    Mr Khan, can you please not waste so much time on things you don't need to do, like using different colours and 'mistakenly' using the wrong colour so you can waste time by erasing it and using the correct one. i'm writing an exam tomorrow and i don't have much time, all i'm saying is that the video would've been much shorter and your students could use the time to watch more of your videos, giving you more views. With all due respect. Please don't block me.